Hi everyone,
Can someone guide me how to count specific text inside the cell
for ex B1 CONTAINS 200+300+400,
THERE ARE 6 0'S, 2 +'S.
Now i need formula to do this
Thanks in advance
Raj
Hi everyone,
Can someone guide me how to count specific text inside the cell
for ex B1 CONTAINS 200+300+400,
THERE ARE 6 0'S, 2 +'S.
Now i need formula to do this
Thanks in advance
Raj
Use this:
=LEN(B1)-LEN(SUBSTITUTE(B1, 0, ""))
or you can write in, for example, C1 0, C2 +, C3 text etc.
And use:
=LEN($B$1)-LEN(SUBSTITUTE($B$1, C1, ""))
and pull down
Never use Merged Cells in Excel
hi Raj, something like:
="There are "&LEN(B1)-LEN(SUBSTITUTE(B1,0,""))&" 0'S, "&LEN(B1)-LEN(SUBSTITUTE(B1,"+",""))&" +'S"
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
your formula was amazing, you gave the exact sentence. Not bad you can do so many things in excel.
May be i did not make myself very clear. straight to the point.
in B1, Iam etering amount like this, =500+200+300. so B1 adds the amount and becomes 1000. in c1 i want the result. how many "+" is there in b1. now if i put your formula only 0 is appearing.
i think i explained
Thanks for the help
Raj.
did anyone find the answer. i have attached excel sheet.
You've attached empty sheet?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks