How to prevent a cell from calculating formula until all data is entered

McFatty

New Member
Joined
Jun 8, 2018
Messages
2
I am trying to do something that I imagine isn't that hard, but I'm not an excel super user, just a novice with google. I took over a spreadsheet that tracks our generators run time. It is simply just subtracting the time on the run meter for the current month, from the prior month. Example: =+B58-C57 (B being the start time of current month, C being end time of previous month) The problem is since the cell for the current month is blank (the B cell), it is subtracting the end time from a 0 value, giving me a negative number for that calculation. This throws off the total. It seems I may need to use an IF or THEN function, or maybe there is an easier way. Any help would be appreciated.


My IT's security doesn't seem to want me to use any tools to upload attachments so you may have to work blind on this one/
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
You sir are fast, smart, and correct. That worked perfectly. Much appreciated, I've been trying off and on for 2 days to figure this out and you did it, with no picture to reference, 6 minutes after my post. Thank you!
 
Upvote 0

Forum statistics

Threads
1,214,872
Messages
6,122,026
Members
449,061
Latest member
TheRealJoaquin

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