I'm trying to use =COUNTIF(A:A;A5&" *") on a workbook to count the first word on a cell before space but it's not working.
Example:
DP Shirt
DP Bike
A123 Car
I want to get Total=
2x DP
1x A123
Workbook2.xlsx
I'm trying to use =COUNTIF(A:A;A5&" *") on a workbook to count the first word on a cell before space but it's not working.
Example:
DP Shirt
DP Bike
A123 Car
I want to get Total=
2x DP
1x A123
Workbook2.xlsx
Try these two
=SUMIF(A4:A8,"DP*",B4:B8)
=COUNTIF(A4:A8,"DP*")
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
Try ..
=SUMIF($A:$A,LEFT($A4,FIND(" ",$A4,1)-1)&"*",$B:$B)
=COUNTIF($A:$A,LEFT($A4,FIND(" ",$A4,1)-1)&"*")
Generic formula
Copy down
Last edited by JohnTopley; 10-17-2015 at 10:28 AM.
Thank you Guys.
Both worked but i had to change , with ; .
Thank's again.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks