Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to return the value of a cell based on two colums match criter

Arrrggghhh

I'm tearing my hair out with this one.

I need to create a formula that will look up the data from 2 seperate cells
in 2 colums and return the corresponding value in the 3rd colum.

Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default How to return the value of a cell based on two colums match criter

Insert a helper column in which you cancatenate the two keys. Concatenate
the search arguments too.


--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"yimmin" wrote in message
...
Arrrggghhh

I'm tearing my hair out with this one.

I need to create a formula that will look up the data from 2 seperate
cells
in 2 colums and return the corresponding value in the 3rd colum.

Can anyone help?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default How to return the value of a cell based on two colums match criter

Hi,

This assumes the criteria are in columns A & B and you want to return column C
The lookup values are in D1 & E1

=INDEX(C1:C20,MATCH(1,(A1:A20=D1)*(B1:B20=E1),0))

'This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.


MIke

"yimmin" wrote:

Arrrggghhh

I'm tearing my hair out with this one.

I need to create a formula that will look up the data from 2 seperate cells
in 2 colums and return the corresponding value in the 3rd colum.

Can anyone help?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two colums match return text from another SMOKN_ENG_MOM Excel Discussion (Misc queries) 12 August 14th 08 06:23 PM
Trying to use INDEX and MATCH to insert a value w/ multiple criter RS Excel Worksheet Functions 6 August 9th 07 09:36 PM
MATCH 3 COLUMS RETURN 4TH Mike Excel Discussion (Misc queries) 6 October 9th 06 08:07 PM
MATCH 3 COLUMS RETURN 4TH Mike Excel Discussion (Misc queries) 1 October 8th 06 07:59 PM
Excel: How to return count for each cell within date range criter. Louisa Excel Worksheet Functions 0 November 5th 04 11:58 AM


All times are GMT +1. The time now is 02:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"