Calculation Delay Until Cells Are Populated

meppwc

Well-known Member
Joined
May 16, 2003
Messages
607
Office Version
  1. 365
Platform
  1. Windows
Is there a way of a delaying a cell from performing the formula within that cell until a condition has been met?

For example
If F6 has the formula =SUM(C6-B6)+(E6-D6)
But i do not want Excel to perform the formula in cell F6 until cells B6, C6, D6 and D6 have been populated.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try:
Code:
=IF(COUNTBLANK(B6:E6)=0,(C6-B6)+(E6-D6),"")

Note that SUM serves no purpose in your formula. You use sum to add up all the values in a range designated like this: =SUM(A6:E6)
Since you are manually adding up single cells and already have plus and minus signs, it is totally unnecessary.
 
Upvote 0
You are welcome.
 
Upvote 0

Forum statistics

Threads
1,216,115
Messages
6,128,919
Members
449,478
Latest member
Davenil

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