ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how to get a text/letters to equal to a percentage (https://www.excelbanter.com/excel-worksheet-functions/232401-how-get-text-letters-equal-percentage.html)

jose l.

how to get a text/letters to equal to a percentage
 
ok..i think this is diffucult, I just dont know cause i have never done this.
but i have a spreadsheet that has two columns one says C/N and the other
percent compliance. the c stands for compliant and the n stands for
noncompliant. basically i want the c & n to equal to a percent in the
percent compliance field, so how do i make the c & n be a "number" and then
equal to a percent???? complicated? confused? there are 5 sections of 5 rows
that have 1 percent compliance field.

OssieMac

how to get a text/letters to equal to a percentage
 
Hi Jose,

If I understand the question correctly you need to count the number of c'c
or n's and divide by the sum of the c's and n's and then format the cell with
the formula to percentage.

Assume that the c' and n's are in cells A1:A50 then like this for percentage
of c's

=COUNTIF(A1:A50,"c") / (COUNTIF(A1:A50,"c")+COUNTIF(A1:A50,"n"))

Like this for percentage of n's

=COUNTIF(A1:A50,"n")/(COUNTIF(A1:A50,"c")+COUNTIF(A1:A50,"n"))


--
Regards,

OssieMac


"jose l." wrote:

ok..i think this is diffucult, I just dont know cause i have never done this.
but i have a spreadsheet that has two columns one says C/N and the other
percent compliance. the c stands for compliant and the n stands for
noncompliant. basically i want the c & n to equal to a percent in the
percent compliance field, so how do i make the c & n be a "number" and then
equal to a percent???? complicated? confused? there are 5 sections of 5 rows
that have 1 percent compliance field.


Shane Devenshire[_2_]

how to get a text/letters to equal to a percentage
 
Hi,

Here is a formula for % compliance assuming your data is in A2:A100

=COUNTIF(A2:A100,"c")/COUNTA(A2:A100)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"jose l." wrote:

ok..i think this is diffucult, I just dont know cause i have never done this.
but i have a spreadsheet that has two columns one says C/N and the other
percent compliance. the c stands for compliant and the n stands for
noncompliant. basically i want the c & n to equal to a percent in the
percent compliance field, so how do i make the c & n be a "number" and then
equal to a percent???? complicated? confused? there are 5 sections of 5 rows
that have 1 percent compliance field.


jose l.[_2_]

how to get a text/letters to equal to a percentage
 
Perhaps I should clarify on this "complicated" minor issue. The spreadsheet
has other data in various fields. The data that I need calculated starts
from I7 to I11, then I13 to I17, then I19 to I23, then I25 to I29, then I31
to I35. Then the end result field starts from L7 to L11, L13 TO L17, L19 TO
L23, L25 TO L29, L31 TO L35. Confused???

"Shane Devenshire" wrote:

Hi,

Here is a formula for % compliance assuming your data is in A2:A100

=COUNTIF(A2:A100,"c")/COUNTA(A2:A100)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"jose l." wrote:

ok..i think this is diffucult, I just dont know cause i have never done this.
but i have a spreadsheet that has two columns one says C/N and the other
percent compliance. the c stands for compliant and the n stands for
noncompliant. basically i want the c & n to equal to a percent in the
percent compliance field, so how do i make the c & n be a "number" and then
equal to a percent???? complicated? confused? there are 5 sections of 5 rows
that have 1 percent compliance field.


Shane Devenshire[_2_]

how to get a text/letters to equal to a percentage
 
Confused? Yes! Show us a sample of the data and the desired results.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"jose l." wrote:

Perhaps I should clarify on this "complicated" minor issue. The spreadsheet
has other data in various fields. The data that I need calculated starts
from I7 to I11, then I13 to I17, then I19 to I23, then I25 to I29, then I31
to I35. Then the end result field starts from L7 to L11, L13 TO L17, L19 TO
L23, L25 TO L29, L31 TO L35. Confused???

"Shane Devenshire" wrote:

Hi,

Here is a formula for % compliance assuming your data is in A2:A100

=COUNTIF(A2:A100,"c")/COUNTA(A2:A100)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"jose l." wrote:

ok..i think this is diffucult, I just dont know cause i have never done this.
but i have a spreadsheet that has two columns one says C/N and the other
percent compliance. the c stands for compliant and the n stands for
noncompliant. basically i want the c & n to equal to a percent in the
percent compliance field, so how do i make the c & n be a "number" and then
equal to a percent???? complicated? confused? there are 5 sections of 5 rows
that have 1 percent compliance field.


jose l.[_2_]

how to get a text/letters to equal to a percentage
 
do you have a direct email that i can send you the spreadsheet that i am
referring to in this thread?

"Shane Devenshire" wrote:

Confused? Yes! Show us a sample of the data and the desired results.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"jose l." wrote:

Perhaps I should clarify on this "complicated" minor issue. The spreadsheet
has other data in various fields. The data that I need calculated starts
from I7 to I11, then I13 to I17, then I19 to I23, then I25 to I29, then I31
to I35. Then the end result field starts from L7 to L11, L13 TO L17, L19 TO
L23, L25 TO L29, L31 TO L35. Confused???

"Shane Devenshire" wrote:

Hi,

Here is a formula for % compliance assuming your data is in A2:A100

=COUNTIF(A2:A100,"c")/COUNTA(A2:A100)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"jose l." wrote:

ok..i think this is diffucult, I just dont know cause i have never done this.
but i have a spreadsheet that has two columns one says C/N and the other
percent compliance. the c stands for compliant and the n stands for
noncompliant. basically i want the c & n to equal to a percent in the
percent compliance field, so how do i make the c & n be a "number" and then
equal to a percent???? complicated? confused? there are 5 sections of 5 rows
that have 1 percent compliance field.



All times are GMT +1. The time now is 07:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com