Using a "Find" based function instead of "Aut

Err

Active Member
Joined
Nov 16, 2006
Messages
274
My problem is that I work as a data manager at a bear meat factory*. We use a numeric code which refers to the tenderness of each bears flesh and prior to harvest -I often have to sort that data based on the numeric code.


Excel has issues with screening numbers in Autofilter. You can not filter "begins with" or "ends with" if the data is numeric. For Example:







This same problem does not exist in "Find"





Since I seem to be relying on Autofilter for my queries, and it is possible to create a function similar to autofilter using the properly working "find" feature -I was wondering if anyone had already written a function that returns a range and functions similarly to autofilter?

*My job is really more boring and No bears were hurt in the writing of this post.
 
Select your Bear Code column, go to data --> text to columns, click next, click next again, choose the option button for Text, and click finish.

That converts your Bear Codes to text values, and you should be able to use "begins with" to filter your Bear Codes.

I understand your frustration with this; but IMO, it's better habit to store ID numbers (or Bear Codes) as Text anyway (whether you're in Excel, SQL, Access, SAS, or whatever poison you prefer). That way, you won't accidentally add them together in merges, pivot tables, or other aggregation methods.
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Even formatted as text, (I've tried this) -if it contains all numbers there are intermittent problems with excel autofilter.
 
Upvote 0

Forum statistics

Threads
1,225,312
Messages
6,184,219
Members
453,222
Latest member
Jake K

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