A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » New Users to Excel
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Can I filter cell that have only 0-9 number in it?



 
 
Thread Tools Display Modes
  #1  
Old July 13th 12, 04:48 AM
lazyx lazyx is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2012
Posts: 2
Smile Can I filter cell that have only 0-9 number in it?

Hi,

Can I filter cell that have only 0-9 number in it?

I mean that I have 1 column like below:

samsung
samsung galaxy s2
samsung galaxy
samsung galaxy tab
samsung galaxy nexus
samsung galaxy note
samsung infuse
samsung galaxy tab 10.1
samsung tv
samsung galaxy s3
samsung galaxy s

I want to filter cells that have any number in it (0-9). So, the end result should shows only :

samsung galaxy s2
samsung galaxy tab 10.1
samsung galaxy s3


I'm newbie here. Please teach me.

Thank you.
Ads
  #2  
Old July 13th 12, 09:03 AM posted to microsoft.public.excel.newusers
Claus Busch
external usenet poster
 
Posts: 943
Default Can I filter cell that have only 0-9 number in it?

Hi,

Am Fri, 13 Jul 2012 03:48:45 +0000 schrieb lazyx:

> samsung
> samsung galaxy s2
> samsung galaxy
> samsung galaxy tab
> samsung galaxy nexus
> samsung galaxy note
> samsung infuse
> samsung galaxy tab 10.1
> samsung tv
> samsung galaxy s3
> samsung galaxy s
>
> I want to filter cells that have any number in it (0-9). So, the end
> result should shows only :


your products in column A from A2 on. Then make a helper column with the
formula:
=COUNT(FIND({1;2;3;4;5;6;7;8;9;0},A2))>0
and filter the helper column for TRUE


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3  
Old July 13th 12, 09:12 AM posted to microsoft.public.excel.newusers
Claus Busch
external usenet poster
 
Posts: 943
Default Can I filter cell that have only 0-9 number in it?

Hi,

Am Fri, 13 Jul 2012 10:03:17 +0200 schrieb Claus Busch:

> your products in column A from A2 on. Then make a helper column with the
> formula:
> =COUNT(FIND({1;2;3;4;5;6;7;8;9;0},A2))>0


change the formula to:
=COUNT(FIND({1,2,3,4,5,6,7,8,9,0},A2))>0


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #4  
Old July 13th 12, 03:02 PM posted to microsoft.public.excel.newusers
Ron Rosenfeld[_2_]
external usenet poster
 
Posts: 894
Default Can I filter cell that have only 0-9 number in it?

On Fri, 13 Jul 2012 03:48:45 +0000, lazyx > wrote:

>
>Hi,
>
>Can I filter cell that have only 0-9 number in it?
>
>I mean that I have 1 column like below:
>
>samsung
>samsung galaxy s2
>samsung galaxy
>samsung galaxy tab
>samsung galaxy nexus
>samsung galaxy note
>samsung infuse
>samsung galaxy tab 10.1
>samsung tv
>samsung galaxy s3
>samsung galaxy s
>
>I want to filter cells that have any number in it (0-9). So, the end
>result should shows only :
>
>samsung galaxy s2
>samsung galaxy tab 10.1
>samsung galaxy s3
>
>
>I'm newbie here. Please teach me.
>
>Thank you.


You can use the Advanced Filter, to either Filter in Place, or copy the Filtered list to a new location

Insert a Label for your list above the list; and insert at least three blank rows above the list.

A1: <leave blank>
A2: =MIN(FIND({1,2,3,4,5,6,7,8,9,0},A5&"1,2,3,4,5,6,7, 8,9,0"))<=LEN(A5)

(Note that the A2 cell reference is to the first actual item in your list, not the label)

A4: Item
A5:A15 Your list from above

Then select a cell in your list
Advanced Filter
Action: As desired
List Range: $A$4:$A$15
Criteria Range: $A$1:$A$2

Copy To: (only if you have selected to copy to another location)


  #5  
Old July 13th 12, 03:26 PM
lazyx lazyx is offline
Junior Member
 
First recorded activity by ExcelBanter: Jul 2012
Posts: 2
Default

That's work.

Thank you Claus Busch. You're the best
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter on number of characters on a cell D Hafer - TFE Excel Discussion (Misc queries) 3 September 3rd 09 01:50 PM
Can I filter for "number of characters in a cell"? suestew Excel Programming 4 December 15th 08 08:18 PM
Number of records after filter Jon Dow[_2_] Excel Worksheet Functions 2 October 1st 08 07:25 AM
Auto filter Dates by Last Number dalovindj Excel Discussion (Misc queries) 6 February 21st 07 02:16 AM
Using filter heading name instead of number MakeLei Excel Programming 1 August 7th 06 10:49 AM


All times are GMT +1. The time now is 09:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2004-2013 ExcelBanter.
The comments are property of their posters.