Sum of text in cell range

mdileep

Board Regular
Joined
Dec 8, 2019
Messages
54
Office Version
  1. 2007
Platform
  1. Windows
  2. Mobile
Good evening friend, I am hoping one of you can help me.
Cell range
A1 A2,A3,A4,A5 Text TOTAL
P, P, P, P, P 5 but if
P, PP, P, PP, P 7
with counts or with a combination of function without any helper column
Thanks.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try
Excel Formula:
=SUMPRODUCT(--(LEN(A1:A5)))
 
Upvote 0
How about
+Fluff v2.xlsm
A
1P
2OFF
3P
4PP
5OFF
6PP
7
86
92
Helper
Cell Formulas
RangeFormula
A8A8=SUMPRODUCT((A1:A7="P")+(A1:A7="PP"),LEN(A1:A7))
A9A9=COUNTIF(A1:A7,"OFF")
 
Upvote 0
How about
+Fluff v2.xlsm
A
1P
2OFF
3P
4PP
5OFF
6PP
7
86
92
Helper
Cell Formulas
RangeFormula
A8A8=SUMPRODUCT((A1:A7="P")+(A1:A7="PP"),LEN(A1:A7))
A9A9=COUNTIF(A1:A7,"OFF")
Working fine Sir, am unable to wrote farmula for A8.
Thank You !
 
Upvote 0
I'm sorry but I have no idea what you mean.
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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