I'm new to using Index and Match, but couldn't make this work with vlookup.
I am trying to pull into cell B4 on the labor tab, the number in column C of the data tab, based on what is in cell A1 of the labor model as well as cell A4 of the labor model. I've played with it enough to return a number instead of NA error, but it's the wrong number.
Any help is greatly appreciated.
Last edited by NBVC; 08-19-2010 at 04:46 PM.
You could do it with SUMIFS
=SUMIFS(Data!C:C,Data!A:A,$A$1,Data!B:B,$A4)
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Maybe this one in B4 of the Labor tab
=SUMIF(OFFSET(Data!$A$1,MATCH($A$1,Data!$A:$A,0)-1,1,COUNTIF(Data!$A:$A,$A$1)),$A4,Data!$C:$C)
Last edited by contaminated; 08-19-2010 at 03:47 PM.
Люди, питающие благие намерения, как раз и становятся чудовищами.
Regards, «Born in USSR»
Vusal M Dadashev
Baku, Azerbaijan
Wow, thank you both for the fast reply, and both answers worked. I really appreciate the help and wish I had posted you know, like several hours ago. Thanks again!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks