SOLVED

# Freeze Excel formula when criteria met

Occasional Contributor

# Freeze Excel formula when criteria met

Hello Guys

Might be easy but i have a headache here

Preface

I want the "Days in transit" Colum to stop updating the formula when I select the Yes answer in the "Arrived at destination" Colum currently the formula on "Days in transit" is "=TODAY()-G2"

i have tried =IF(L3="yes","","=TODAY()-G2")

but i don't think the formula is correct

I'm out of ideas

5 Replies

# Re: Freeze Excel formula when criteria met

=IF(L2="yes","",TODAY()-G2)

Maybe like this.

# Re: Freeze Excel formula when criteria met

thank you that helped

Now I just need it to stop counting when yes is selected in "Arrived at destination"

the no logic is working correctly so its something i need to put in the middle i believe

=IF(L3="yes","__not sure  what to put here__",TODAY()-G3)

# Re: Freeze Excel formula when criteria met

If possible please update date of arrival in column and rephrase the formula as below
IF "date of arrival" column >0 then, date arrival - G2 else TODAY()-G2
best response confirmed by simon_70 (Occasional Contributor)
Solution

# Re: Freeze Excel formula when criteria met

Instead of No/Yes in the Arrived at destination column, I'd leave it blank initially, and enter the date of arrival when the item has arrived. You can then use

=IF(L2="",TODAY(),L2)-G2

# Re: Freeze Excel formula when criteria met

hey this worked thank you all