L
lunker55
I don't know how to use MONTH and YEAR with VLOOKUP:
=VLOOKUP(((YEAR(Sheet1!A7:A23)=(A3))*(MONTH(Sheet1!A7:A23)=(H1))),Sheet1!A7:
BP26,38,0)
This formula works if I replace
((YEAR(Sheet1!A7:A23)=(A3))*(MONTH(Sheet1!A7:A23)=(H1)) with (B1) which has
1 mar/04 in the cell.
A3 has the year in it (2004)
H1 has the month (1-12)
Am I close?
Joe
=VLOOKUP(((YEAR(Sheet1!A7:A23)=(A3))*(MONTH(Sheet1!A7:A23)=(H1))),Sheet1!A7:
BP26,38,0)
This formula works if I replace
((YEAR(Sheet1!A7:A23)=(A3))*(MONTH(Sheet1!A7:A23)=(H1)) with (B1) which has
1 mar/04 in the cell.
A3 has the year in it (2004)
H1 has the month (1-12)
Am I close?
Joe