Summing ISNumber statements

agnerc

New Member
Joined
Jun 18, 2018
Messages
13
I have a column with an ISNUMBER formula. The forumla reads =IF(ISNUMBER(D42),"1","0"), this is reading from a date cell. If there is a date in the cell, the result will be a number 1. I am doing this for many rows.

I want to sum up the number of 1's but when I use the SUM formula, I am not getting any result, my sum remains at 0.

Any suggestions?

Thank you,

Chris
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Welcome to Mr Excel forum

Your formula is returning a string "1", not a number.
Try without the quotes
=IF(ISNUMBER(D42),1,0)

M.
 
Upvote 0
You can get the total number of cells in column D containing numbers with, for example :

=COUNT(D1:D10)

or

=COUNT(D:D)
 
Upvote 0
Thank you Marcelo.

Another problem I am having.

I have 3 cells: (A1) Feb-10-Mon (A2) Feb-25-Tue (A3) 15

What I would like to do is subtract the dates and if the days are equal to or less than A3 then return a 1, if not then return a 0.

Thank you,
 
Upvote 0
Thank you Marcelo.

Another problem I am having.

I have 3 cells: (A1) Feb-10-Mon (A2) Feb-25-Tue (A3) 15

What I would like to do is subtract the dates and if the days are equal to or less than A3 then return a 1, if not then return a 0.

Thank you,

Hi,

If those are True Date Values in Column A.

C1 formula is Not inclusive of Start or End Date.
C2 formula is Inclusive of Start of End Date.


Book1
ABCD
1Feb-10-Mon1Not inclusive
2Feb-25-Tue0Inclusive
315
Sheet93
Cell Formulas
RangeFormula
C1=--(A2-A1<=A3)
C2=--(A2-A1+1<=A3)
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,412
Members
448,960
Latest member
AKSMITH

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