DashboardNovice
Member
In the attached file, my formula is in BG8. The final formula will be a SUMIFS, but for now I want to break it down to only one criteria (the one that's giving me trouble) before I introduce the second criteria.
The pay periods in yellow constitute the criteria range. The criteria is the month ending dates in orange. Obviously the criteria range does not contain month ending dates so I tried using a VLOOKUP on that criteria range using the yellow cells as the look up value, and the table array for that VLOOKUP is on the tab called Lookup Tables.
So I was hoping that I could somehow do a VLOOKUP on the yellow cells and return the corresponding value (in memory in an array). By doing that, now the SUMIF criteria range contains a range of values (month ending dates), which means that a match can be found when using the orange cells as a lookup.
So I tried using VLOOKUP with the yellow cells as the lookup value, and pressed Ctrl + Shift + Enter and this did not work.
I know I could have a VLOOKUP on row 5 that returns the month ending date for each pay period, but I would like to be able to do this, in a formula.
Is this possible? Is an array the best solution? I feel like there might be another solution but nothing is coming to mind.
The pay periods in yellow constitute the criteria range. The criteria is the month ending dates in orange. Obviously the criteria range does not contain month ending dates so I tried using a VLOOKUP on that criteria range using the yellow cells as the look up value, and the table array for that VLOOKUP is on the tab called Lookup Tables.
So I was hoping that I could somehow do a VLOOKUP on the yellow cells and return the corresponding value (in memory in an array). By doing that, now the SUMIF criteria range contains a range of values (month ending dates), which means that a match can be found when using the orange cells as a lookup.
So I tried using VLOOKUP with the yellow cells as the lookup value, and pressed Ctrl + Shift + Enter and this did not work.
I know I could have a VLOOKUP on row 5 that returns the month ending date for each pay period, but I would like to be able to do this, in a formula.
Is this possible? Is an array the best solution? I feel like there might be another solution but nothing is coming to mind.