#NUM! ERROR

SRMPURCHASE

Board Regular
Joined
Dec 23, 2014
Messages
212
Office Version
  1. 2016
Platform
  1. Windows
I42 IS SHOWING THE #NUM! ERROR. WHEN I COPY THE FORMULA FROM I41 THE DATEDIF FORMULA WORKS, WHEN I INPUT 1-15-23 IT FAILS WITH THE #NUM! ERROR.

ALL FORMATTING IS THE SAME, NOT SURE HOW THE DATE CHANGE IN H42 WILL CAUSE THE FORMULA TO WORK OR NOT WORK

HERE'S THE FORMULA $I$32 IS THE DATE 19-JAN-24
=IF(G42>0,(DATEIF($I$32,H42,"M")),"")
19-Jan-24
GHI
15-Jan-2315-Jan-20
20-Nov-2220-Nov-2410.0
20-Nov-2220-Nov-2522.0
12-Sep-2212-Sep-2743.0
11-Mar-2311-Mar-2625.0
11-Mar-2311-Mar-2625.0
11-Mar-2011-Mar-2513.0
11-Mar-2011-Mar-2513.0
15-Jan-2015-Jan-23#NUM!
27-May-2327-May-2628.0
27-May-2327-May-2628.0
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
It looks like it is returning #NUM! because your date in I32 is greater than the date in col H for those rows.
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,175
Members
452,615
Latest member
bogeys2birdies

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