From: Rodman on
Hello,

I am attempting to show the percentage complete (in a cell) using the
COUNTIF function.

I first formatted a cell (example A1) as a percent the I enter the following
formula in cell A1: =countif(b1:b12,"Completed")/countif(b1:b12,"*")

It returns the correct value in cell A1, however, I would like to add the
word "Completed" after the percent value.

Can Anyone Assist Me?

Thanks In Advance.
--
Rodman Veney
From: LarryP on

Not a big Excel guru, but I should think if your formula is returning the
numeric value you want, tacking & "% Completed" at the end should
do it.


"Rodman" wrote:

> Hello,
>
> I am attempting to show the percentage complete (in a cell) using the
> COUNTIF function.
>
> I first formatted a cell (example A1) as a percent the I enter the following
> formula in cell A1: =countif(b1:b12,"Completed")/countif(b1:b12,"*")
>
> It returns the correct value in cell A1, however, I would like to add the
> word "Completed" after the percent value.
>
> Can Anyone Assist Me?
>
> Thanks In Advance.
> --
> Rodman Veney
From: Fred Smith on
First, your formula can be simplified as follows:
=countif(b1:b12,"Completed")/counta(b1:b12)

Second to add "Completed", you do it with concatenation, as in:
=countif(b1:b12,"Completed")/counta(b1:b12)&" Completed"

However, Excel when you use concatenation, Excel formats numbers as General,
which isn't normally what is wanted.

To format your result, use the Text function as in:
=text(countif(b1:b12,"Completed")/counta(b1:b12),"0.00%")&" Completed"

Remember that you've now changed the data to text, and it can't be used in
calculations anymore.

Regards,
Fred






"Rodman" <Rodman(a)discussions.microsoft.com> wrote in message
news:7F68FC16-2741-4473-A4AB-CDC1C5BB21C9(a)microsoft.com...
> Hello,
>
> I am attempting to show the percentage complete (in a cell) using the
> COUNTIF function.
>
> I first formatted a cell (example A1) as a percent the I enter the
> following
> formula in cell A1: =countif(b1:b12,"Completed")/countif(b1:b12,"*")
>
> It returns the correct value in cell A1, however, I would like to add the
> word "Completed" after the percent value.
>
> Can Anyone Assist Me?
>
> Thanks In Advance.
> --
> Rodman Veney

From: Gary''s Student on
=TEXT(COUNTIF(B1:B12,"Completed")/COUNTIF(B1:B12,"*"),"0.00%") & " Completed"

--
Gary''s Student - gsnu201001


"Rodman" wrote:

> Hello,
>
> I am attempting to show the percentage complete (in a cell) using the
> COUNTIF function.
>
> I first formatted a cell (example A1) as a percent the I enter the following
> formula in cell A1: =countif(b1:b12,"Completed")/countif(b1:b12,"*")
>
> It returns the correct value in cell A1, however, I would like to add the
> word "Completed" after the percent value.
>
> Can Anyone Assist Me?
>
> Thanks In Advance.
> --
> Rodman Veney
From: Daryl S on
Rodman -

=TEXT(COUNTIF(B1:B12,"Completed")/COUNTIF(B1:B12,"*"),"0%") & " Completed"

--
Daryl S


"Rodman" wrote:

> Hello,
>
> I am attempting to show the percentage complete (in a cell) using the
> COUNTIF function.
>
> I first formatted a cell (example A1) as a percent the I enter the following
> formula in cell A1: =countif(b1:b12,"Completed")/countif(b1:b12,"*")
>
> It returns the correct value in cell A1, however, I would like to add the
> word "Completed" after the percent value.
>
> Can Anyone Assist Me?
>
> Thanks In Advance.
> --
> Rodman Veney