DataValidator
New Member
- Joined
- May 8, 2014
- Messages
- 5
Hi Everyone,
It would be awesome, if someone can help me with a two part excel question:
I have a simple spreadsheet showing budget/actual numbers in columns for January through December per individual line items in column A (Data Tab). Each month, actual /budget numbers will be entered for that month. I want to create a formula to calculate YTD totals by figuring out which month it is (D7 in Summary Tab) and summing the correct totals for each month per line item. In other words, if May actuals have been entered, I want the year-to-date formula to contain Jan+Feb+Mar+Apr+May totals. I am trying to create this formula in the "Summary" tab in cell F10 which references cell D7 per line item.
Part 2:
I am having trouble trying to create a formula to display the actual Year to date text string in cell F7 in the Summary tab. For example, in the summary tab, if cell D7 displays Apr, I want cell F7 to display the words Jan - Apr.
Any help would be greatly appreciated!! Thank You. I attached an example file for reference![TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[/TR]
[TR]
[TD]1000 [/TD]
[TD]Commission[/TD]
[TD]$26500[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2000 [/TD]
[TD]Revenue[/TD]
[TD]$1000[/TD]
[TD][/TD]
[TD]$3544[/TD]
[/TR]
[TR]
[TD]3000[/TD]
[TD]Salary[/TD]
[TD][/TD]
[TD]$32400[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4000[/TD]
[TD]Expense[/TD]
[TD][/TD]
[TD][/TD]
[TD]$2555[/TD]
[/TR]
</tbody>[/TABLE]
It would be awesome, if someone can help me with a two part excel question:
I have a simple spreadsheet showing budget/actual numbers in columns for January through December per individual line items in column A (Data Tab). Each month, actual /budget numbers will be entered for that month. I want to create a formula to calculate YTD totals by figuring out which month it is (D7 in Summary Tab) and summing the correct totals for each month per line item. In other words, if May actuals have been entered, I want the year-to-date formula to contain Jan+Feb+Mar+Apr+May totals. I am trying to create this formula in the "Summary" tab in cell F10 which references cell D7 per line item.
Part 2:
I am having trouble trying to create a formula to display the actual Year to date text string in cell F7 in the Summary tab. For example, in the summary tab, if cell D7 displays Apr, I want cell F7 to display the words Jan - Apr.
Any help would be greatly appreciated!! Thank You. I attached an example file for reference![TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD]Jan[/TD]
[TD]Feb[/TD]
[TD]Mar[/TD]
[/TR]
[TR]
[TD]1000 [/TD]
[TD]Commission[/TD]
[TD]$26500[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2000 [/TD]
[TD]Revenue[/TD]
[TD]$1000[/TD]
[TD][/TD]
[TD]$3544[/TD]
[/TR]
[TR]
[TD]3000[/TD]
[TD]Salary[/TD]
[TD][/TD]
[TD]$32400[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4000[/TD]
[TD]Expense[/TD]
[TD][/TD]
[TD][/TD]
[TD]$2555[/TD]
[/TR]
</tbody>[/TABLE]