Potbellyyemi
New Member
- Joined
- Mar 16, 2018
- Messages
- 5
- Office Version
- 365
- Platform
- Windows
Hi all,
I want to extract data from my P&L budget and forecast (on different tabs in excel) based on a date I select from my drop down list. I basically want to do a variance analysis between the budget and forecast P&L. Both my budget and forecast income statement look like the below in terms of layout
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Jan 17 - Mar 17[/TD]
[TD]Apr 17 - Jun 17[/TD]
[TD]Jul 17 - Sep 17[/TD]
[TD]Oct 17 - Dec 17[/TD]
[/TR]
[TR]
[TD]
[TD]<strike></strike>100[/TD]
[TD]100[/TD]
[TD]150[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]
[TD]<strike></strike>1000[/TD]
[TD]1000[/TD]
[TD]1000[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]
[TD]<strike></strike>500[/TD]
[TD]500[/TD]
[TD]500[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]
[TD]<strike></strike>200[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]TOTAL P&L[/TD]
[TD]1800[/TD]
[TD]1800[/TD]
[TD]1850[/TD]
[TD]1900[/TD]
[/TR]
</tbody>[/TABLE]
And the variance analysis tab looks like the below with a little drop down list above it. I have already done the drop down list using data validation and the dates in the list look exactly like the above (i.e. Jan17 - Mar 17 etc.) but what formulas can I use to pull the above data in a P&L into the below? vlookup doesn't work as it only pulls data from one specified column, so if I change the date selection in the drop down list, the numbers wont pull.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Budget[/TD]
[TD]Forecast[/TD]
[TD]Variance[/TD]
[/TR]
[TR]
[TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I hope this all makes sense. Any help on this will be much appreciated!
Thanks!
I want to extract data from my P&L budget and forecast (on different tabs in excel) based on a date I select from my drop down list. I basically want to do a variance analysis between the budget and forecast P&L. Both my budget and forecast income statement look like the below in terms of layout
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Jan 17 - Mar 17[/TD]
[TD]Apr 17 - Jun 17[/TD]
[TD]Jul 17 - Sep 17[/TD]
[TD]Oct 17 - Dec 17[/TD]
[/TR]
[TR]
[TD]
Establishment costs
<strike></strike>[/TD][TD]<strike></strike>100[/TD]
[TD]100[/TD]
[TD]150[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]
Salaries
<strike></strike>[/TD][TD]<strike></strike>1000[/TD]
[TD]1000[/TD]
[TD]1000[/TD]
[TD]1000[/TD]
[/TR]
[TR]
[TD]
Sundries
<strike></strike>[/TD][TD]<strike></strike>500[/TD]
[TD]500[/TD]
[TD]500[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD]
Insurance
<strike></strike>[/TD][TD]<strike></strike>200[/TD]
[TD]200[/TD]
[TD]200[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]TOTAL P&L[/TD]
[TD]1800[/TD]
[TD]1800[/TD]
[TD]1850[/TD]
[TD]1900[/TD]
[/TR]
</tbody>[/TABLE]
And the variance analysis tab looks like the below with a little drop down list above it. I have already done the drop down list using data validation and the dates in the list look exactly like the above (i.e. Jan17 - Mar 17 etc.) but what formulas can I use to pull the above data in a P&L into the below? vlookup doesn't work as it only pulls data from one specified column, so if I change the date selection in the drop down list, the numbers wont pull.
<tbody>[TR]
[TD][/TD]
[TD]Budget[/TD]
[TD]Forecast[/TD]
[TD]Variance[/TD]
[/TR]
[TR]
[TD]
Establishment costs
<strike></strike>[/TD][TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Salaries
<strike></strike>[/TD][TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Sundries
<strike></strike>[/TD][TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I hope this all makes sense. Any help on this will be much appreciated!
Thanks!