Hello Excel Ninjas!
This is my first post after doing a search for the solution. I am a very intermediate Excel user doing a dashboard for a work project. To give you some perspective, I just started using VLOOKUP 3 weeks ago.
Everything has been going smoothly, but I have hit an obstacle I can't seem to get over.
Starting with the attached raw data (it is a snippet of the 4,000 lines for the full data set), I have been using helper cells (columns A, B and C) and VLOOKUP to pull monthly NET INCOME AFTER DEBT, among other values.
There is a 2007 and 2003 version: https://www.dropbox.com/sh/wztj9hw3yf4apr4/qSuJ9Z23cW
However, now I need to total the months through the CURRENT DATE based on that selection. I started with the unwieldy formula below, where $E$5 is CURRENT DATE.
=IFERROR(CHOOSE($E$5,SUM(VLOOKUP("NET INCOME AFT DEBT SRVC"&$E7,data_BUDGET!$C$1:$S$3768,{3},FALSE)),SUM(VLOOKUP("NET INCOME AFT DEBT SRVC"&$E7,data_BUDGET!$C$1:$S$3768,{3,4},FALSE)),SUM(VLOOKUP("NET INCOME AFT DEBT SRVC"&$E7,data_BUDGET!$C$1:$S$3768,{3,4,5},FALSE)),SUM(VLOOKUP("NET INCOME AFT DEBT SRVC"&$E7,data_BUDGET!$C$1:$S$3768,{3,4,5,6},FALSE))),0)
This works, but is a very long formula and as you can see it does not even cover all 12 months.
I thought the SUMPRODUCT formula might be handy here and tested it on another sheet. When I tested it, the formula below works great, where $E$5 is the MONTH value for the current date:
=SUMPRODUCT(--(D6:O6<=$E$5),D8:O8)
My problem is, I need to somehow combine this with VLOOKUP of NET INCOME AFTER DEBT so it reads the correct row of data to another sheet.
Can anyone offer a concise way to do this?
This is my first post after doing a search for the solution. I am a very intermediate Excel user doing a dashboard for a work project. To give you some perspective, I just started using VLOOKUP 3 weeks ago.
Everything has been going smoothly, but I have hit an obstacle I can't seem to get over.
Starting with the attached raw data (it is a snippet of the 4,000 lines for the full data set), I have been using helper cells (columns A, B and C) and VLOOKUP to pull monthly NET INCOME AFTER DEBT, among other values.
There is a 2007 and 2003 version: https://www.dropbox.com/sh/wztj9hw3yf4apr4/qSuJ9Z23cW
However, now I need to total the months through the CURRENT DATE based on that selection. I started with the unwieldy formula below, where $E$5 is CURRENT DATE.
=IFERROR(CHOOSE($E$5,SUM(VLOOKUP("NET INCOME AFT DEBT SRVC"&$E7,data_BUDGET!$C$1:$S$3768,{3},FALSE)),SUM(VLOOKUP("NET INCOME AFT DEBT SRVC"&$E7,data_BUDGET!$C$1:$S$3768,{3,4},FALSE)),SUM(VLOOKUP("NET INCOME AFT DEBT SRVC"&$E7,data_BUDGET!$C$1:$S$3768,{3,4,5},FALSE)),SUM(VLOOKUP("NET INCOME AFT DEBT SRVC"&$E7,data_BUDGET!$C$1:$S$3768,{3,4,5,6},FALSE))),0)
This works, but is a very long formula and as you can see it does not even cover all 12 months.
I thought the SUMPRODUCT formula might be handy here and tested it on another sheet. When I tested it, the formula below works great, where $E$5 is the MONTH value for the current date:
=SUMPRODUCT(--(D6:O6<=$E$5),D8:O8)
My problem is, I need to somehow combine this with VLOOKUP of NET INCOME AFTER DEBT so it reads the correct row of data to another sheet.
Can anyone offer a concise way to do this?