o1p2t3i4

New Member
Joined
Oct 8, 2019
Messages
3
Hi

I have a spreadsheet with dates in it. I want to add a value for each date of 1 and the cells without dates a value of 0. How do I write the formula for this
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Try

Code:
=IF(ISNUMBER(A1),1,0)
 
Upvote 0
Hi

I have a spreadsheet with dates in it. I want to add a value for each date of 1 and the cells without dates a value of 0. How do I write the formula for this
. When using " =IF(ISNUMBER(A1),1,0) " I get an error message, see below.
The formula you typed contains an error.
 
Upvote 0
Are you using a European or Asian version of Excel that uses semi-colons (;) instead of commas (,) as formula argument separators?
If so, replace all the commas in the formula with semi-colons.
 
Upvote 0

Forum statistics

Threads
1,212,933
Messages
6,110,759
Members
448,295
Latest member
Uzair Tahir Khan

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