#1   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Average letters


hiya guys,

I need some help. in my worksheet cells B1 to B13 contain either an "r"
or a "g" i need cell b14 to display an "g" if 75% of the cells B1:B13
contain a "g" if not it should display an "R".

I am a noob and have no idea how to do this but have to get it done for
work 2moro!!!

Cheers

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=491944

  #2   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer
 
Posts: n/a
Default Average letters

Countif can tell you how many cells in a range meet a certain condition. So
you could do something like
=if(countif(b1:b13,"g")=3*countif(b1:b13,"r"),"g" ,"r")

"superkopite" wrote:


hiya guys,

I need some help. in my worksheet cells B1 to B13 contain either an "r"
or a "g" i need cell b14 to display an "g" if 75% of the cells B1:B13
contain a "g" if not it should display an "R".

I am a noob and have no idea how to do this but have to get it done for
work 2moro!!!

Cheers

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=491944


  #3   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Average letters


Thanks alot that worked a treat.


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=491944

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
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
plotted Average Micayla Bergen Charts and Charting in Excel 4 July 15th 05 12:13 PM
What is this kind of average called? havocdragon Excel Worksheet Functions 3 June 24th 05 05:10 PM
Average Formula with Criteria PW11111 Excel Discussion (Misc queries) 1 June 10th 05 02:22 PM
AVERAGE and STDEV functions with logic t-rung Excel Worksheet Functions 1 May 26th 05 07:11 PM


All times are GMT +1. The time now is 05:02 AM.

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"