Formulas

mharri

New Member
Joined
Jul 30, 2018
Messages
9
Office Version
  1. 2019
Platform
  1. Windows
Hi
I have a Workbook which has a sheet for each month and a totals sheet. I'm trying to get Year to Date totals based on the month. ie in cell E1 on the Master Doc tab the month is Jan then in C5 it shows the value from C5 on the Jan tab. If E1 is changed to June 19 I want C5 to show the Total Sum of C5 for sheets Jan 19 through to June 19.

I have no idea where to start


Any idea please

Thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I've found a way that works to a point but for a whole year it says there are topo many arguments. How can i simplify this formula?

=IF($E$1=Sheet1!$A$3,SUM('Jan 19'!C5),IF($E$1=Sheet1!$A$4,SUM('Feb 19:Jan 19'!C5),IF($E$1=Sheet1!$A$5,SUM('Mar 19:Jan 19'!C5),IF($E$1=Sheet1!$A$6,SUM('Apr 19:Jan 19'!C5),IF($E$1=Sheet1!$A$7,SUM('May 19:Jan 19'!C5),IF($E$1=Sheet1!$A$8,SUM('June 19:Jan 19'!C5),IF($E$1=Sheet1!$A$9,SUM('July 19:Jan 19'!C5),IF($E$1=Sheet1!$A$10,SUM('Aug 19:Jan 19'!C5),IF($E$1=Sheet1!$A$11,SUM('Sep 19:Jan 19'!C5),IF($E$1=Sheet1!$A$12,SUM('Oct 19:Jan 19'!C5)),IF($E$1=Sheet1!$A$13,SUM('Nov 19:Jan 19'!C5),IF($E$1=Sheet1!$A$14,SUM('Dec 19:Jan 19'!C5)))))))))

Thanks
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top