IF statement across multiple sheets

jaylundquist

New Member
Joined
Dec 11, 2020
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hello,
I am trying to create an IF statement, or another formula if that's better, that would calculate improvement across multiple months. We'll use pushups as the item we are tracking. I need to make a formula that will show a persons improvement for the rest of the year with the baseline being December. Say a person did 20 pushups in December and then on the next sheet for January they did 25 pushups and February they did 30. however in March they regressed and only did 15 pushups. I need the main sheet to be able to sort through which months have been filled in and subtract the most recent entry from December. so if only January has been filled in the cell will say 5. if it is now February the cell will say 10, and once March is filled in it will say -5 on the tracking cell. I feel like this should be fairly simple however I haven't been able to get it to work on my own and have been unable to find any examples.
Thank you in advance for any help.
 

Some videos you may like

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

jasonb75

Well-known Member
Joined
Dec 30, 2008
Messages
12,432
Office Version
  1. 365
Platform
  1. Windows
Assuming that the number of pushups is in B2 of each sheet, you would need to use something like
Excel Formula:
=IF(March!B2<>"",March!B2,IF(February!B2<>"",February!B2,IF(January!B2<>"",January!B2)))-December!B2
Unfortunately there is no practical alternative to the long formula method for what you want to do.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,342
Messages
5,624,114
Members
416,012
Latest member
rockermom59

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
Top