LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,393
Default index match lookup

You need to commit (finish) the formula with CTRL+SHIFT+ENTER not just ENTER
Then it is an array function which makes the a2:a7&b2:b7 part work (without
an array behaviour you get only one value)
Or you could use one of
=SUMPRODUCT(--(A2:A7=E2),--(B2:B7=F2),C2:C7) which returns 0 when there is
no match
=IF(SUMPRODUCT(--(A2:A7=E2),--(B2:B7=F2),C2:C7),SUMPRODUCT(--(A2:A7=E2),--(B2:B7=F2),C2:C7),NA())
which returns N/A if there is no match (or it 0 is matched in the R column
!!)
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"rplp81" wrote in message
...
I have a table that resembles below:

G P R
1 8 10
1 4 11
2 3 12
2 7 13
3 8 14
3 4 15

G, P, and R are in columns a, b, and c starting in row 1.

I'm trying to use the equation below to take a person's entry of G (in e2)
and P (in f2) and return the R value, but it always returns an error.
=index(c2:c7,match(e2&f2,a2:a7&b2:b7,0))
Any advice?



 
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
Index, Match DaveM Excel Discussion (Misc queries) 10 August 22nd 06 04:08 PM
lookup? Index? match? formula Richard Excel Discussion (Misc queries) 4 February 22nd 06 01:50 AM
Lookup nearest value (Index & Match) [email protected] Excel Worksheet Functions 1 February 6th 06 04:57 PM
Lookup nearest value (Index & Match) [email protected] Excel Worksheet Functions 0 February 6th 06 04:29 PM
Match & Index Phyllis B. Excel Worksheet Functions 2 November 27th 04 03:26 PM


All times are GMT +1. The time now is 02:52 AM.

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

About Us

"It's about Microsoft Excel"