Question : Need assistance with a Vlookup Sum

Hi all,

I need help with a Vlookup Function in Excel.  Essentially, I want the Vlookup to return the sum of all values that match the Lookup Value in the originating worksheet.  I think the sample shows more of the idea than perhaps my explanation does.  Keep in mind that the lookup array, the "Data" sheet can extend for several thousand rows and may not be necessarily in acending order due to user changes and such.  Thanks for the help.

Answer : Need assistance with a Vlookup Sum

Looks like you need SUMIF rather than VLOOKUP, i.e. in Master sheet B2 use this formula and copy down

=SUMIF(Data!A$2:A$24,A2,Data!B$2:B$24)

Random Solutions  
 
programming4us programming4us