I have ten rows with different data. The intent is to create another column and use the vlookup function to look up the category that the product is in the first column. I then will use a sumif to add up to a bigger category name based on the results I will receive from vlookup. Been trying to figure out for a while, if there is a short cut for this, so i don't have to create a second column to do individual vlookups on each row.
Column A Column B
Product A Vlookup(Product A, lookup array, 2)=catergory A
Product B Vlookup(Product A, lookup array, 2)=catergory A
Product C Vlookup(Product A, lookup array, 2)=catergory C
Product D Vlookup(Product A, lookup array, 2)=catergory D
Product E Vlookup(Product A, lookup array, 2)=catergory D
Product F Vlookup(Product A, lookup array, 2)=catergory A
Category A = SUMIF(the result of vlookup, A
Category B = SUMIF(the result of vlookup, B
Category C = SUMIF(the result of vlookup, C
Category D = SUMIF(the result of vlookup, D
Goal is to the sumif with one formula, without creating Column B
Any suggestions would be great!
Thank you,
Boris
Bookmarks