Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2017, 09:54 PM
yewee yewee is offline Return value base on two columns Windows 7 Return value base on two columns Office 2007
Novice
Return value base on two columns
 
Join Date: Aug 2010
Posts: 4
yewee is on a distinguished road
Default Return value base on two columns

Hi All,

Attached image is my data format.

I need a formula in column L to return the value according to column A and B.



For example, row 3. Col A = E1 and Col B =D then it should return value in "C3" which is 5.
Row 4, Col A = E2 and Col B = M then it should return value in G4 which is "8"


How can I write this formula?

Anyone can help ASAP? I need it urgently.

Thanks in advance!!!
Attached Images
File Type: png Capture.PNG (9.6 KB, 14 views)
Reply With Quote
  #2  
Old 02-12-2017, 10:51 PM
xor xor is offline Return value base on two columns Windows 10 Return value base on two columns Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Like this?
Attached Files
File Type: xlsx yewee.xlsx (46.8 KB, 13 views)
Reply With Quote
  #3  
Old 02-12-2017, 11:35 PM
yewee yewee is offline Return value base on two columns Windows 7 Return value base on two columns Office 2007
Novice
Return value base on two columns
 
Join Date: Aug 2010
Posts: 4
yewee is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
Like this?
Hi Xor,

Thanks for your help.
What do you mean by User Defined Format?

Noted with the uploading of excel file.
Reply With Quote
  #4  
Old 02-13-2017, 12:00 AM
xor xor is offline Return value base on two columns Windows 10 Return value base on two columns Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Select for example D1. Press Ctrl and 1 to bring up the Format Cells dialog. You should see that Custom (under Category) has been chosen and that the format type is ;;;
This format type ensures that irrespective of what is entered in D1 the cell will appear blank.
This is a custom format (which I maybe should have said instead of user defined format).
Reply With Quote
  #5  
Old 02-13-2017, 12:33 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Return value base on two columns Windows 7 64bit Return value base on two columns Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Hi
Do not crosspost your question on multiple forums without including links here to the other threads on other forums
.

Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

We are here to help so help us to help you!

Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).http://www.excelguru.ca/forums/showt...on-two-columns
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #6  
Old 02-13-2017, 03:16 AM
yewee yewee is offline Return value base on two columns Windows 7 Return value base on two columns Office 2007
Novice
Return value base on two columns
 
Join Date: Aug 2010
Posts: 4
yewee is on a distinguished road
Default

Quote:
Originally Posted by yewee View Post
Hi Xor,

Thanks for your help.
What do you mean by User Defined Format?

Noted with the uploading of excel file.


Hi Xor,

Thanks. I got what you mean.

It was great!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Return value base on two columns Excel / Mail Merge - Return Column Headers for All and Any Columns with Values eduams Mail Merge 1 09-26-2016 07:02 PM
Return value base on two columns Compare cells in 2 columns in separate WBs and return data in Col 38-40 if there is match krispykreme Excel Programming 1 09-09-2016 11:25 AM
Return value base on two columns Creating small data Base quintinros Excel 2 06-26-2014 12:28 AM
Vlookup two columns return 3rd jennamae Excel 11 01-12-2014 02:53 AM
Calendar Base prayojana Project 0 11-12-2007 01:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft