Percentage problem

W

Wendy

Hi

I have a formula which should be counting how many accounts and what
percentage were processed within 3 days.
Total No of accounts is 121 processed in 3 days is 97 but the percentage
figures shows 79.5081967213115%. This is too many decimal places even
though I formatted the column for 1 decimal place only. How can I make it
show the percentage figure of 79.5%
="Processed within 3 days is "&COUNTIF(D:D,"<4")&" this is "&
COUNTIF(D:D,"<4")/COUNTA(D:D)*100&"%"

Thanks
Wendy
 
K

Keith74

The 1dp isn't having an effect as excel is seeing the value of the
cell as text, due to all the other info, try

="Processed within 3 days is "&COUNTIF(D:D,"<4")&" this is "&
round(COUNTIF(D:D,"<4")/COUNTA(D:D)*100,1)&"%"

hth

Keith
 
W

Wendy

The 1dp isn't having an effect as excel is seeing the value of the
cell as text, due to all the other info, try

="Processed within 3 days is "&COUNTIF(D:D,"<4")&" this is "&
round(COUNTIF(D:D,"<4")/COUNTA(D:D)*100,1)&"%"

hth

Keith



Thanks thats exactly what I needed.

Wendy
 
D

David Biddulph

="Processed within 3 days is "&COUNTIF(D:D,"<4")&" this is "&
TEXT(COUNTIF(D:D,"<4")/COUNTA(D:D)*100,"0.0") &"%"
or
="Processed within 3 days is "&COUNTIF(D:D,"<4")&" this is "&
TEXT(COUNTIF(D:D,"<4")/COUNTA(D:D),"0.0%")

and 97/121 is 80.1653%, not 79.5082%, so it sounds as if you have another
problem.
Did you mean 122, rather than 121?
 
G

Guest

Try,

="Processed within 3 days is " & COUNTIF(D:D,"<4") & " this is " &
TEXT(COUNTIF(D:D,"<4")/COUNTA(D:D)*100,"00.00") & "%"

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top