Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Heather
 
Posts: n/a
Default COUNTIF COMBINATION??

Hello,

Can you combine a countif and if statement?
Such as:
=Countif(AA4:AF4,"0") this yields an answer.
=IF(AF290,AF29, IF($F29=AH$3,($V29+$W29+$X29+$Y29)/6,0))

I would like only answers in the countif statement that are = to 6 to yield
a 0 and not perform the IF statement. But if the countif statement yields
less than a 6, to continue with the IF statement.

I hope that makes sense.

Any help would be great.

Thanks in advance.
--
Heather
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Heather

how about
=IF(COUNTIF(AA4:AF4,"0")<6,IF(AF290,AF29,
IF($F29=AH$3,($V29+$W29+$X29+$Y29)/6,0)),0)

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Heather" wrote in message
...
Hello,

Can you combine a countif and if statement?
Such as:
=Countif(AA4:AF4,"0") this yields an answer.
=IF(AF290,AF29, IF($F29=AH$3,($V29+$W29+$X29+$Y29)/6,0))

I would like only answers in the countif statement that are = to 6 to
yield
a 0 and not perform the IF statement. But if the countif statement yields
less than a 6, to continue with the IF statement.

I hope that makes sense.

Any help would be great.

Thanks in advance.
--
Heather



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
COUNTIF in one colum then COUNTIF in another...??? JonnieP Excel Worksheet Functions 3 February 22nd 05 02:55 PM
Countif bjg Excel Worksheet Functions 11 November 27th 04 03:32 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM
countif, again Liz G Excel Worksheet Functions 2 November 1st 04 11:20 PM


All times are GMT +1. The time now is 06:57 PM.

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

About Us

"It's about Microsoft Excel"