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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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