Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I WANT TO CALCULATE NUMBER OF "P" AND NUMBER OF "A" IN A ROW SO WHAT SHOULD
BE THE FORMULA FOR THE SAME? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUM(COUNTIF(A2:H2,{"P";"A"}))
please refrain from using all caps, it is considered rude -- Regards, Peo Sjoblom "SRINIVAS" wrote in message ... I WANT TO CALCULATE NUMBER OF "P" AND NUMBER OF "A" IN A ROW SO WHAT SHOULD BE THE FORMULA FOR THE SAME? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
You can use COUNTIF function. =COUNTIF(RANGE,"P") =COUNTIF(RANGE,"A") Regards, Soundar. "SRINIVAS" wrote: I WANT TO CALCULATE NUMBER OF "P" AND NUMBER OF "A" IN A ROW SO WHAT SHOULD BE THE FORMULA FOR THE SAME? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Soundar
The Function which you mentioned here is worked for me and resolved my problem. Thanks once again Regards Srinivas "Soundar" wrote: Hi, You can use COUNTIF function. =COUNTIF(RANGE,"P") =COUNTIF(RANGE,"A") Regards, Soundar. "SRINIVAS" wrote: I WANT TO CALCULATE NUMBER OF "P" AND NUMBER OF "A" IN A ROW SO WHAT SHOULD BE THE FORMULA FOR THE SAME? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
For row #13:
=COUNTIF(13:13,"P")+COUNTIF(13:13,"A") -- Gary''s Student - gsnu200751 "SRINIVAS" wrote: I WANT TO CALCULATE NUMBER OF "P" AND NUMBER OF "A" IN A ROW SO WHAT SHOULD BE THE FORMULA FOR THE SAME? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You didn't mention if there was *nothing else* in the cells except for the
p's & q's, or if the p's and q's could occupy the same cell. This counts *all* the p's and q's in Row1, no matter where they a =SUMPRODUCT(LEN(1:1)-LEN(SUBSTITUTE(UPPER(1:1),UPPER({"p";"q"}),""))) -- HTH, RD ================================================== === Please keep all correspondence within the Group, so all may benefit! ================================================== === "SRINIVAS" wrote in message ... I WANT TO CALCULATE NUMBER OF "P" AND NUMBER OF "A" IN A ROW SO WHAT SHOULD BE THE FORMULA FOR THE SAME? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Re-calculate | Excel Discussion (Misc queries) | |||
Calculate age | New Users to Excel | |||
calculate | Excel Worksheet Functions | |||
If Then Calculate | Excel Discussion (Misc queries) | |||
won't calculate far enough | Excel Discussion (Misc queries) |