Hi,
I have a workbook with several sheets and on EACH sheet there is a value connected to a name. So i want to create a formula that summarizes all the different values for that spesific name. Again; This name is on all sheets, but different location.
I have made a formula with vlookup that searches all my sheets for a value connected to my lookup_value (name). But i am struggeling to make excel summarize the values.
This is my current vlookup formula: {=VLOOKUP(C2,INDIRECT("'"&INDEX(A19:A22,MATCH(TRUE,COUNTIF(INDIRECT("'"&A19:A22&"'!B6:B16"),C2)>0,0))&"'!B6:F16"),5,FALSE)}
Its searching in the sheets that ive named in cells A19-A22 for the value(name), C2, in their respective cells B6-B16. Then it returns the value from the 5th column in the array B6-F16. This works well, but i want to summarize all the values it would find. Do i have to change my vlookup or can i combine it with something?
I tried playing with sum and sumproduct, but i think im doing something wrong. Still just getting the first value it finds.
Anyone got a clue?
Thanks
Bookmarks