Hi,
Need help with the attached sheet, can anyone give an INDEX and MATCH function to get the results in sheet 2 from the data in sheet 1. Please help.
Thanks
Try this array formula (i.e. commit with Ctrl-Shift-Enter)
=INDEX(Sheet1!$E$3:$J$13,MATCH(1,(Sheet1!$C$3:$C$13=C$3)*(Sheet1!$B$3:$B$13=$B4),0),MATCH($B$3,Sheet 1!$E$2:$Z$2,0))
Hi
In Sheet2!C4, try this formula. Copy down and down.
Hope to helps you.=INDEX(Sheet1!$E$3:$J$13;MATCH(Sheet2!$C$3;Sheet1!$C$3:$C$13;0);MATCH(Sheet2!$B$3;Sheet1!$E$2:$J$2;0))
Regards
Fotis.
I am proud that i am Greek.
Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?
Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Please,mark your thread [SOLVED] if you received your answer.
My Avadar picture, is from Athens Acropolis.
http://www.theacropolismuseum.gr
http://www.visitgreece.gr/
i tried using it, but its giving me a NA error.. is there anything that i am doing wrong, i did commit with Ctrl+Shft+Entr
there are two criterias that need to be matched in row function of the Index Function , but i guess your formula is looking up just one
Pls take a look to the attachement..
Regards
Fotis.
I am proud that i am Greek.
Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?
Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Please,mark your thread [SOLVED] if you received your answer.
My Avadar picture, is from Athens Acropolis.
http://www.theacropolismuseum.gr
http://www.visitgreece.gr/
The values in sheet 2 B4:B6 is not being looked up any where in the formula
Looks like you are on XL2007 or later. If so try SUMIFS,
Sheet2!C4, copy down & across.
=SUMIFS(INDEX(Sheet1!$E:$J,0,MATCH($B$3,Sheet1!$E$2:$J$2,0)),Sheet1!$B:$B,$B4,Sheet1!$C:$C,C$3)
HTH; Haseeb
If your problem is solved, please say so clearly, and mark your thread as Solved:
Forum Rules & How to Mark a thread as SOLVED
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks