Mark --
Try:
=SUM(INDIRECT(VLOOKUP(A1,{"Jan","B"; "Feb","C"; "Mar","D"; "Apr","E"; "May","F"; "Jun","G"; "Jul","H"; "Aug","I"; "Sep","J"; "Oct","K"; "Nov","L"; "Dec","M"}, 2, 0) & ":" & VLOOKUP(A1,{"Jan","B"; "Feb","C"; "Mar","D"; "Apr","E"; "May","F"; "Jun","G"; "Jul","H"; "Aug","I"; "Sep","J"; "Oct","K"; "Nov","L"; "Dec","M"}, 2, 0)))
In most cases, long chain of (nested) IFs can be transformed into a case for which VLOOKUP holds.
Aladin
============
Aladin, one question, why 2 VLOOKUPs ?
Why can't you replace the two VLOOKUPs with just one ?, i mean instead of doing VLOOKUP(...) & ":" VLOOKUP(...), just do VLOOKUP(A1,{"Jan","B:B";"Feb","C:C",....},2,0) ?
Juan Pablo
Juan. One VLOOKUP will do indeed:
=SUM(INDIRECT(VLOOKUP(A1,{"Jan","B:B"; "Feb","C:C"; "Mar","D:D"; "Apr","E:E"; "May","F:F"; "Jun","G:G"; "Jul","H:H"; "Aug","I:I"; "Sep","J:J"; "Oct","K:K"; "Nov","L:L"; "Dec","M:M"}, 2, 0)))
Thanks pointing this out.
Aladin