Hi! It's my first time posting. Though I've searched the forum for a
possible answer - I was only to able to somehow get close to what I'm
looking for - though I'm not sure if what I'm trying to do is even
possible, especially since it requires multiple lookups - I guess?!
In cells B3, B4, and B5 (pls see attached file), I've tried using the following formula to match the
'Reference' numbers to amounts in Sheet 2: D2 using the sumif formula
.
Now this worked fine. However here comes the difficult part: the year and
codes. Sheet 2 contains multiple year references, and I'm trying to compile
all of them in Sheet 1. Meaning all amounts which fall under 2009 ['Sheet
1'!B2] & have reference '1.2' are summed up in 'Sheet 1'!B3.
Moreover since the list I'm talking about is very extensive, each Reference
can have multiple Codes. For example, Reference 1.3 can have codes 150 and
450 (or many more). All these need to summed up in Sheet 1.
I don't think VBA is required for this, or is it? I would have thought that
a multiple sumif could be used? or sumif including vlookup? Getting a little lost here
Would appreciate any guidance.
Thanks a ton.
Bookmarks