COUNT TWO OR MORE TEXT FROM RANGE WITH A SINGLE FORMULA

AFZAL SOHAIL

Board Regular
Joined
May 31, 2023
Messages
115
Office Version
  1. 2021
  2. 2016
Platform
  1. Windows
Hello respected Team,
I want to count two or more than two text from a range simultaneously a single formula against their column:-
As count total no. of P in the P col
Count of Total no. of H as H col
count of Total No. of A, L, S/l as thir col at the end as show in the data with single formula simultaneously:-
Thanks a lot at advance.
12345678910111213141516171819202122232425262728293031PHALs/l
PPPPPHPPPPPPHPLLPPPHPaaPPPHS/LS/LPP214222
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
For xl2021 how about
Fluff.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJ
112345678910111213141516171819202122232425262728293031PHALs/l
2PPPPPHPPPPPPHPLLPPPHPaaPPPHS/LS/LPP214222
Sheet5
Cell Formulas
RangeFormula
AF2:AJ2AF2=COUNTIFS(A2:AE2,$AF$1:$AJ$1)
Dynamic array formulas.
 
Upvote 0
Solution
thanks a lot Sir,
This formula working very well only the fist value i.e. col AF, when get more it is giving the error as :-
12345678910111213141516171819202122232425262728293031PHALs/l
PPPPPHPPPPPPHPLLPPPHPaaPPPHS/LS/LPP
#SPILL!​
21​
422
2​
 
Upvote 0

Forum statistics

Threads
1,215,206
Messages
6,123,639
Members
449,111
Latest member
ghennedy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top