A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

trying to make a formula for percent if greater than a value



 
 
Thread Tools Display Modes
  #11  
Old January 12th, 2006, 05:45 PM posted to microsoft.public.excel.misc
external usenet poster
 
Posts: n/a
Default trying to make a formula for percent if greater than a value

Thanks guys for all your help. For future seakers of the solution, here's
what I've done...

=(COUNTIF(F12,"0")+COUNTIF(I12,"0")+COUNTIF(L12, "0")+COUNTIF(O12,"0")+COUNTIF(R12,"0")+COUNTIF( U12,"0"))/COUNT(F12,I12,L12,O12,R12,U12)


=SUM(IF(F120,F12,FALSE),IF(I120,I12,FALSE),IF(L1 20,L12,FALSE),IF(O120,O12,FALSE),IF(R120,R12,FA LSE),IF(U120,U12,FALSE))/(COUNTIF(F12,"0")+COUNTIF(I12,"0")+COUNTIF(L12," 0")+COUNTIF(O12,"0")+COUNTIF(R12,"0")+COUNTIF(U 12,"0"))


=SUM(IF(F120,G12,FALSE),IF(I120,J12,FALSE),IF(L1 20,M12,FALSE),IF(O120,P12,FALSE),IF(R120,S12,FA LSE),IF(U120,V12,FALSE))/(COUNTIF(F12,"0")+COUNTIF(I12,"0")+COUNTIF(L12," 0")+COUNTIF(O12,"0")+COUNTIF(R12,"0")+COUNTIF(U 12,"0"))

This gives me my percent survival, my average rank of those that survived,
and the average of the number of whatevers that correspond to surviving
units. Hope it helps.

Thanks again for all the advice!



"cervenyc" wrote:

I got it to work, but the formula averages a zero when the statement is
false. How do I make a false statement render a blank cell, or to drop the
value? If the value is 0, then I want it excluded, I only want to average
values greater than 0. Thanks.



"SteveG" wrote:


Enter the formula as you normally would.


=AVERAGE(IF(A1:A80,A1:A8,FALSE))

When you are done typing in the formula, rather than hitting the Enter
key, hit the Ctrl, Shift & Enter keys simultaneously. That will create
the {} around the formula automatically. Don't type them in yourself.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=499913


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make this formula? adam2dot0 General Discussion 1 December 10th, 2005 09:22 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Worksheet Functions 17 November 25th, 2005 05:18 PM
Can I concatenate text in cells to make a working formula? Matt S. R. General Discussion 11 November 11th, 2005 03:44 PM
Can I make a formula that has the result of "0" remain empty? DangerMouse114 Worksheet Functions 2 May 12th, 2004 06:00 AM
how to make gaps in plotted data when cell has formula D. Eglen Charts and Charting 1 December 4th, 2003 09:19 PM


All times are GMT +1. The time now is 08:54 AM.


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