corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » IF Statements on Excel » Post Reply

Post Reply
Who Can Post? All users can post new topics and all users can reply.
Icon:
Formatting Mode:
Normal
Advanced
Help

Insert Bold text Insert Italicized text Insert Underlined text Insert Centered text Insert a Hyperlink Insert Email Hyperlink Insert an Image Insert Code Formatted text Insert Quoted text
Message:
HTML is Off
Smilies are On
BB Code is On
[img] Code is On
Post Options: Disable smileys?
Turn BBCode off?
Receive email notification of new replies?

Rachel H

posted on 2nd May 07 at 10:45

What your mouth otherwise you will find yourself fished hooked like McGloin.


Steve

posted on 1st May 07 at 15:40

did it exactly,,,watch that grammar boy


Rachel H

posted on 1st May 07 at 15:18

I sussed it myself and done it exactly the way you said Ian.

To count the Emptys I done

=COUNTIF(D$5: D$17,"Empty")

To count the dates I used

=COUNT(D5: D17)

[Edited on 01-05-2007 by Rachel H]


Ian

posted on 1st May 07 at 14:23

If they're actually empty, use COUNTBLANK()

If they're the word 'Empty', use

=COUNTIF(A1:A13,"Empty")

Then use 13 minus that cell to tell you the opposite.

[Edited on 01-05-2007 by Ian]


Steve

posted on 1st May 07 at 12:30

my examples were in simple psuedo code, made perfect sense


Rachel H

posted on 1st May 07 at 11:57

That works but only returns a 0, the fact that the range has a forumla already in it that cannot be removed doesn't seem to effect it either.


blebo

posted on 1st May 07 at 11:39

=countif(A1:A13,"<>""")

A1:A13 is the collum of dates

<>"" will only work if the cell is blank will need to be changed if you have the cell set to display empty etc.


Rachel H

posted on 1st May 07 at 11:18

Doesn't make sense Steve?


Steve

posted on 1st May 07 at 11:07

if cellnumber <> ""

and

if cellnumber = ""

?


Rachel H

posted on 1st May 07 at 11:05

Got 13 columms across and 13 rows down with a series of dates in and if there aren't any dates in the cells then it shows Empty.

Now I have a total columm at the end and I need to know how many how many cells per row have dates in and how many have Empty in.

How would I go about this?