Correcting #value! Problem

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,561
Office Version
  1. 2021
Platform
  1. Windows
I have the following formula in cell J1

=IF(DATE("20"&MID(F3,4,2),MID(F3,7,2),28)>DATE("20"&MID(I3,4,2),MID(I3,7,2),28),"Y",IF(DATE("20"&MID(F3,4,2),MID(F3,7,2),28)=DATE("20"&MID(I3,4,2),MID(I3,7,2),28),"CURR","N/A"))

It gives the result #value!. I think that I need to include a text function within the above formula, but I not sure how to incorporate this within another formula in order for the error to be rectified

I have also attached some text data referring to the respective cell numbers

Your assistance will be most appreciated

Management Accounts.xls
FGHIJ
115/03/2011*CHKCLUMN*24/02/2011#VALUE!
2
3Feb2011YTDMTDA/CNOTONTB/PULL/BOTH?Feb2011YTDP/MNTHADJ?
TB CONSOLIDATION
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Use

=if(iserror(.......,"Whatever",IF(DATE("20"&MID(F3,4,2),MID(F3,7,2),28)>DATE("20"&MID(I3,4,2),MID(I3,7,2),28),"Y",IF(DATE("20"&MID(F3,4,2),MID(F3,7,2),28)=DATE("20"&MID(I3,4,2),MID(I3,7,2),28),"CURR","N/A"))
 
Upvote 0
Use Evaluate Formula to see where the error is. It appears your problem is in the values entered in the Date function.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,567
Messages
6,120,268
Members
448,953
Latest member
Dutchie_1

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