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

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
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,224,814
Messages
6,181,125
Members
453,021
Latest member
Justyna P

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