Countif Formula

Quinton

Board Regular
Joined
Nov 6, 2008
Messages
125
Hello, sorry this is a simple one but I cant get it to work.

I have a date of 14/03/2011 in cell A1. I have another date of 14/05/2011 in Cell B1. Because the date in cell A1 is earlier that Cell B1 I want it to count 1.

Itried the following formula =COUNTIF(A1,"<B1"). Thisshows a result of 0 (once I have formatted the cell to a number and not adate). Any ideas would be really appreciated & many thanks inadvance.

<b1") appreciated.=""></b1")><b1"). be="" would="" ideas="" Any="" a="" not="" and="" number="" to="" cell="" the="" 0="" of="" result="" thanks="" many="" &="" appreciated="" really="" formatted="" have="" I="" (once="" inadvance.

</b1").>
<b1") appreciated.=""></b1")><b1"). be="" would="" ideas="" Any="" a="" not="" and="" number="" to="" cell="" the="" 0="" of="" result="" thanks="" many="" &="" appreciated="" really="" formatted="" have="" I="" (once="" inadvance.

</b1").>
<b1") appreciated.=""></b1")>
 
Last edited:

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I think you can simplify more.

*for some reason my formula wont post

Pseudo

IF A1 is less than B1 = 1 else BLANK

<b1,1,"")[ code]<b1,1,"")<b1,1,"")<="" html=""></b1,1,"")[>
 
Last edited:
Upvote 0
I think you can simplify more.

*for some reason my formula wont post

Pseudo

IF A1 is less than B1 = 1 else BLANK

<b1,1,"")[ html="" code]<b1,1,"")<b1,1,"")<=""></b1,1,"")[>

Thanks yes I cant post my formula as well (Strange). Ill try again just in case =COUNTIF(A1,"<b1").

If not can you email it to me quintonhurdidge@pennyfarthinghomes.co.uk (many thanks in advance)</b1").
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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