Filter criteria

gijimbo

Board Regular
Joined
Feb 3, 2010
Messages
130
Is it possible to use the excel filter to show only rows where the cell begins with a numeric character?

In other words I want to hide all rows who's 2nd cell begins with an alpha character.

It should also be noted that all values in this column are stored as text.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I don't think you can filter by formula, like you could with condition formatting.

One clunky way to do it is add a new column with a formula
=IF(ISERROR(VALUE(LEFT(A1,1))),FALSE,TRUE)

The you can filter 'TRUE', which are cells that begin with a number.
 
Upvote 0
Is it possible to use the excel filter to show only rows where the cell begins with a numeric character?

In other words I want to hide all rows who's 2nd cell begins with an alpha character.

It should also be noted that all values in this column are stored as text.
Can you post some data and let us know which rows would be visible once the filter is applied?
 
Upvote 0
2ad,yad
wad,1ud
z2ad,jad
0qas,kad

Which rows from 2 to 4 above must be shown while the rest is hidden?

2ad,yad - hidden
wad,1ud - visible
z2ad,jad - hidden
0qas,kad - hidden

Can you post some data and let us know which rows would be visible once the filter is applied?

TCO,0612 - visible
_____,AB32 - hidden
X938DG,Q2390 - hidden
X938DG,3458 - visible

Note: Some cells in column 1 will be empty like in row 2 of the example above.
 
Upvote 0
2ad,yad - hidden
wad,1ud - visible
z2ad,jad - hidden
0qas,kad - hidden



TCO,0612 - visible
_____,AB32 - hidden
X938DG,Q2390 - hidden
X938DG,3458 - visible

Note: Some cells in column 1 will be empty like in row 2 of the example above.
Try something like this...

Book1
ABC
2Header1Header2Header3
3TCO0612TRUE
4AB32FALSE
5X938DGQ2390FALSE
6X938DG3458TRUE
Sheet1

Enter this formula in C3 and copy down as needed:

=ISNUMBER(-LEFT(B3))

Then you can filter on column C = TRUE

Book1
ABC
2Header1Header2Header3
3TCO0612TRUE
6X938DG3458TRUE
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,429
Messages
6,119,435
Members
448,898
Latest member
dukenia71

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