I need to find cells that ONLY contain a "1" at a certain position

abarbee314

New Member
Joined
Apr 5, 2013
Messages
24
I don't know if my solution will require a macro or not. I can use macros, but don't know how to write them. At any rate, here's my scenario: I've got nearly 3800 rows of part numbers and I need to only see/use the ones that have a 1 at the 8th position. All part numbers are 14 characters long, if that matters. But, the only ones I need to see or use are those with a 1 in that position.

I don't need to count them, remove the characters, or anything. I need to either highlight those cells with a 1 in the right spot (so I can copy/paste them out) or exclude the others that don't match this search. I have additional work I need to do with the part numbers, but only after I can focus on the correct ones.

Any thoughts? Thanks, in advance, for your help (as always!). :)
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi
In another column enter the formula: =MID(C2,8,1)=1 and copy down
Where your part number is in column C.
HTH
Robert MIKA is right: you have to add -- in order to make the reesult a VALUE and not TEXT
 
Last edited:
Upvote 0
Robert: thank you VERY MUCH for the quick reply. I adjusted the cell position (my data was in B2) and got your conditional formatting suggestion to work. This made it pretty easy to figure out which cells to delete.

Thanks again. :cool:
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,123
Members
452,381
Latest member
Nova88

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