alternative for ISDATE, if ISDATE is not available in Excel natively

jarryd23

New Member
Joined
Dec 22, 2022
Messages
2
Office Version
  1. 2021
  2. 2019
  3. 2013
  4. 2010
Platform
  1. Windows
Hi,

would like to ask theres a alternative function/formula for ISDATE?

Here is my problem:
Cell A1 = 12/RE/2022 (which is supposed to be a date format but it contains a text, where ISDATE is the only one can solve i think)

as a starter i hope you can share me some ideas

thanks!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Actually real date in Excel are treated as number
For example: 1/1/2022 = 44562
To test whether A1 is date or not:
=ISNUMBER(A1)
To narrow it, if date in A1 around 1/1 - 31/12/2022 then using:
=AND(A1>=44562,A1<=44926)
or
=AND(A1>=DATEVALUE("01/01/2022"),A1<=DATEVALUE("31/12/2022"))
 
Upvote 0
Actually real date in Excel are treated as number
For example: 1/1/2022 = 44562
To test whether A1 is date or not:
=ISNUMBER(A1)
To narrow it, if date in A1 around 1/1 - 31/12/2022 then using:
=AND(A1>=44562,A1<=44926)
or
=AND(A1>=DATEVALUE("01/01/2022"),A1<=DATEVALUE("31/12/2022"))

Oh sorry for error it supposed to be this:
Cell A1 = 12/RE/2022 (as example if the value mistaken contains letters which is suppose to be a date format mm/dd/yyyy in numbers only)

i tried also DATEVALUE for this:
Cell A1 = 12/22/2022
=DATEVALUE(A1)

which gives me #VALUE! error
 
Upvote 0

Forum statistics

Threads
1,222,749
Messages
6,167,967
Members
452,158
Latest member
MattyM

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