Returning value based on date

Phil_L

New Member
Joined
Oct 31, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
I am after a formula which I think would be very simple, but I cannot for the life of me find. So thank you in advance if someone replies.

Basically,

When someone types a date in A1, B1 would return a value (1 for example), if there is nothing in A1, B1 would be blank. If any other text is written in A1, it returns NA.

Hope this makes sense.

I currently have =IF(ISNUMBER(A1),1,"") in the B1 cell and that works ok. I just cant figure out what to put at the end if any other text is entered to display N/A.
(I suppose there is a better way of doing it)

Again, thank you in advance

Phil
 
You're welcome & thanks for the feedback.
 
Upvote 0

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.

Forum statistics

Threads
1,215,092
Messages
6,123,063
Members
449,090
Latest member
fragment

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