#1   Report Post  
Kevin
 
Posts: n/a
Default If

If in rows 5 through 16 I have either entered nothing or an X, Using the if
command how would I in row 17 add every cell that I have entered nothing?

Kevin

  #2   Report Post  
Bernard Liengme
 
Posts: n/a
Default

Hi Kevin:
This may not answer your question because it does not use IF but
I would use =COUNTIF(A5:A16,"")

If I was feeling paranoid I might be concerned than spaces and blanks look
alike but my formula would count only blanks, so I might use
=12-COUNTIF(A5:A16,"X")

If this was a homework assignment and I really MUST use an IF, then I would
show off and use
=SUM(IF(A5:A16="",1,0)) noting that it must be 'array entered' with
SHIFT+CTRL+ENTER not just plain ENTER
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Kevin" wrote in message
...
If in rows 5 through 16 I have either entered nothing or an X, Using the
if
command how would I in row 17 add every cell that I have entered nothing?

Kevin



  #3   Report Post  
Don Guillett
 
Posts: n/a
Default

how can you ADD nothing? Do you mean count? If so, look at the COUNTIF
function.

--
Don Guillett
SalesAid Software

"Kevin" wrote in message
...
If in rows 5 through 16 I have either entered nothing or an X, Using the

if
command how would I in row 17 add every cell that I have entered nothing?

Kevin



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"