Formula looking for criteria, but some cells have the criteria with another criteria

JGriffo33

New Member
Joined
Nov 6, 2016
Messages
21
I'm having trouble with a formula looking for a "word" but in some cells it has "word another word"

AB
1FLB
Name
2FLB CTWName
3CTWName
4FRFName
52RF FRFName

<tbody>
</tbody>

So i'm using a formula that is looking for "FLB". But because some cells have "FLB CTW", it skips these and only uses the cells that have "FLB" only. How do i write the formula to include "FLB" even if it has another word in the cell?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
The formula I have is working fine, but where I have it searching for "FLB" it doesn't include cells that have "FLB CTW". I can't just put "FLB CTW" in the formula either as down the track I also have "FLB FE" so I just want it to search all cells that have "FLB" in them even if it has more
 
Upvote 0
Hi,

If you want to count similar Text "FLB" or other you can use below formula

=COUNTIF(H3:H7,"*"&H3&"*")

here "*" wildcards used to find matching in text
 
Upvote 0
The formula I have is working fine,
but I asked - what do you want the formula to do? SUM? COUNT? AVERAGE? What?

If we know what you are trying to do, we can make suggestions on how to do it
Can you show your formula?
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
Latest member
RandomExceller01

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