Countif using Wildcard

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,561
Office Version
  1. 2021
Platform
  1. Windows
I have descriptions I Col A on sheet "Imported Data"


I have tried to set up a formula to count all the "Landrover Evoque" contained in Col A



Book1
A
1LAND ROVER Range Rover Evoque MY16 (vlbv04) 2.0 i4 Diesel Dynamic
2LAND ROVER Range Rover Evoque MY17 (pubd04) 2.0 Si4 Convertible
3
Imported Data



See my formula on Sheet Summary


Book1
ABC
1Land Rover Evoque0
Summary
Cell Formulas
RangeFormula
B1=COUNTIF('Imported Data'!A:A,"*?"&A1&"*")



it would be appreciated if someone could assist me
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Thanks for the help. Code works perfectly
 
Upvote 0

Forum statistics

Threads
1,214,821
Messages
6,121,759
Members
449,048
Latest member
excelknuckles

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