CLEAR CELL Formula

jaxs2009

Board Regular
Joined
Nov 28, 2010
Messages
200
Using excel 2010 I would like to clear a cell but keep the formula.

Current formula in H7, =IF(F7="","",F7-G7) Note: F7 is a date entry and G7 is, =TODAY() What I would like to do is in when F7 has a date entry I would like to clear H7 when the word "COMPLETE" is typed into cell K7 but keep the formula in H7.
I dont want to use a VBA as I would like to use this formula randomly going down 1,000 rows same columns.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Do you mean like this
Excel Formula:
=IF(K7="COMPLETE","",IF(F7="","",F7-G7))
 
Upvote 0
Ah man, I was on the right track but I had the =IF(K7="COMPLETE","" after the original formula =IF(F7='',"",F7-G7)

Thank you, your answer is working great, very much appreciated.
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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