DATEDIF value less than 0 shown as NUM!

Userskphero

New Member
Joined
Mar 4, 2022
Messages
8
Hello. I have trouble with Google Sheet, not Excel but maybe somebody can help me with this.

I saw a few post about common problem but still can't repair my formula.

=ARRAY_CONSTRAIN(ARRAYFORMULA(if(row($H$2:$H26674)=2,"CZY SKP",if($C$2:$C26674="","",if(datedif(today(),$G$2:$G26674,"d")<100,"SKP NEEDED","")))), 26673, 1)

When amount of days is less than 0 it shows NUM! problem. I want to it show "SKP NEEDED" communicat.

Photo below.

1646384247781.png


Thanks for help. :)
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi & welcome to MrExcel.
Maybe
Excel Formula:
ARRAY_CONSTRAIN(ARRAYFORMULA(if(row($H$2:$H26674)=2,"CZY SKP",if($C$2:$C26674="","",if($G$2:$G26674-today()<100,"SKP NEEDED","")))), 26673, 1)
 
Upvote 0
Hi & welcome to MrExcel.
Maybe
Excel Formula:
ARRAY_CONSTRAIN(ARRAYFORMULA(if(row($H$2:$H26674)=2,"CZY SKP",if($C$2:$C26674="","",if($G$2:$G26674-today()<100,"SKP NEEDED","")))), 26673, 1)
Hello, thank you so much. It's working!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,362
Messages
6,171,634
Members
452,411
Latest member
sprichwort

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