Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Percentage Formula Problem


I've got five cells T16, T17, T18, T19, T20.
I need to Average T16, T17, T18, in cell T20 which is formatted for
Percentage.
Cell T19 is an "NA" cell which is not counted in the percentage but
does have a value.

I have the following formula: =SUM(T16/(T16+T17+T18))

Now if entries in T16 through T18 are zeros, I get the error "DIV/0!"
in cell T20 which I need to show 100.00%.

I'd really appreciate any help on this matter.




--
Snit
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 353
Default Percentage Formula Problem

I'm a little confused about where average comes into this, but if your
formula (T16 as a percentage of the total of T16:T18) gives you the answer
you need except for when you have zeros and in that case you want to see 100%
- try this:
=IF(SUM(T16:T18)=0,1,T16/(SUM(T16:T18)))


"Snit" wrote:


I've got five cells T16, T17, T18, T19, T20.
I need to Average T16, T17, T18, in cell T20 which is formatted for
Percentage.
Cell T19 is an "NA" cell which is not counted in the percentage but
does have a value.

I have the following formula: =SUM(T16/(T16+T17+T18))

Now if entries in T16 through T18 are zeros, I get the error "DIV/0!"
in cell T20 which I need to show 100.00%.

I'd really appreciate any help on this matter.




--
Snit

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Percentage Formula Problem


I was little confused also.

What is happening is that cells T16, T17 & T18 are three different
ratings for a set number of Systems.

i.e. 7 Systems that have the ratings cell T16"Good", cell
T17"Deficiency", cell T18"Extereme Deficiency" with cell T19 as "Non
Applicable" or "NA".

So what happens in cell T20 is that I need the following:

Percent of System in Good Repair Number of "Good" (T16) divided by
(Total Areas (T16, T17, T18, -"NA"s(T19)).

But if I had all NAs, T20 would end up as described before i.e. error
DIV/0! where I needed "100.00%" overall.

Anyway, your formula works great! I appreciate your help and hope this
reply answers your confusion.




--
Snit
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 353
Default Percentage Formula Problem

Thanks - nice to know we workrd thru the confusion - :-)

"Snit" wrote:


I was little confused also.

What is happening is that cells T16, T17 & T18 are three different
ratings for a set number of Systems.

i.e. 7 Systems that have the ratings cell T16"Good", cell
T17"Deficiency", cell T18"Extereme Deficiency" with cell T19 as "Non
Applicable" or "NA".

So what happens in cell T20 is that I need the following:

Percent of System in Good Repair Number of "Good" (T16) divided by
(Total Areas (T16, T17, T18, -"NA"s(T19)).

But if I had all NAs, T20 would end up as described before i.e. error
DIV/0! where I needed "100.00%" overall.

Anyway, your formula works great! I appreciate your help and hope this
reply answers your confusion.




--
Snit

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
percentage problem neven Excel Discussion (Misc queries) 0 January 3rd 08 10:37 PM
Percentage problem Wendy Excel Discussion (Misc queries) 4 July 30th 07 11:52 AM
formula percentage problem thinkpic New Users to Excel 4 November 2nd 05 08:04 PM
Help Please with a percentage problem kyleuk via OfficeKB.com New Users to Excel 3 October 31st 05 03:06 PM
Percentage problem syssupspe Excel Discussion (Misc queries) 1 April 5th 05 04:13 PM


All times are GMT +1. The time now is 12:47 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"