sea_captain
New Member
- Joined
- Jan 10, 2017
- Messages
- 15
I work with P&L's a lot and do a lot of current month/YTD variances to current year / prior year and budget.
I've consolidated a large file from ~50MB to 20MB by reorganizing a mapping table
In this file i have a Flash report for Revenue and EBITDA by divisions / service lines and Acquisitions.
One of these acquisitions uses proforma data from Jan-Oct 2023 with Actuals in Nov and Dec23.
i use "CHOOSE" to pull the Current Month (2024 and 2023 actual and 24 budget) and use "SUM/CHOOSE" for YTD data (reading across 12 months ('24A/'23A/'24B)
I need to show "As Reported" data for one of the acquisitions (less proforma data / Jan-Oct23)
For the Current Month(s), if i use this formula: (A1 = the number of the month, i.e, "8" = Aug / B1 = Jan23, C1=Feb23 etc.)
=CHOOSE($A$1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1) - this will give me the number of the column (month)
Since i need to pull AS REPORTED data, actuals starting in Nov23, i changed the formula to:
=CHOOSE($A$1,0,0,0,0,0,0,0,0,0,0,L1,M1), this will give me only numbers in Nov and Dec (L1 and M1) - this works.
The problem i'm having is the YTD formula, which looks like this
=SUM(B1:CHOOSE($A$1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1))
If i change it to =SUM(0:CHOOSE($A$1,0,0,0,0,0,0,0,0,0,0,L1,M1)) i get a #VALUE error.
I've played with the formula for a good bit with no luck. Anyone know a work around for this?
I can put a note somewhere to remind myself to pull the data come Nov/Dec but would rather automate if possible.
Thanks
I've consolidated a large file from ~50MB to 20MB by reorganizing a mapping table
In this file i have a Flash report for Revenue and EBITDA by divisions / service lines and Acquisitions.
One of these acquisitions uses proforma data from Jan-Oct 2023 with Actuals in Nov and Dec23.
i use "CHOOSE" to pull the Current Month (2024 and 2023 actual and 24 budget) and use "SUM/CHOOSE" for YTD data (reading across 12 months ('24A/'23A/'24B)
I need to show "As Reported" data for one of the acquisitions (less proforma data / Jan-Oct23)
For the Current Month(s), if i use this formula: (A1 = the number of the month, i.e, "8" = Aug / B1 = Jan23, C1=Feb23 etc.)
=CHOOSE($A$1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1) - this will give me the number of the column (month)
Since i need to pull AS REPORTED data, actuals starting in Nov23, i changed the formula to:
=CHOOSE($A$1,0,0,0,0,0,0,0,0,0,0,L1,M1), this will give me only numbers in Nov and Dec (L1 and M1) - this works.
The problem i'm having is the YTD formula, which looks like this
=SUM(B1:CHOOSE($A$1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1,M1))
If i change it to =SUM(0:CHOOSE($A$1,0,0,0,0,0,0,0,0,0,0,L1,M1)) i get a #VALUE error.
I've played with the formula for a good bit with no luck. Anyone know a work around for this?
I can put a note somewhere to remind myself to pull the data come Nov/Dec but would rather automate if possible.
Thanks