#1   Report Post  
Posted to microsoft.public.excel.misc
cj21
 
Posts: n/a
Default quick filter


I have a list of product codes e.g

01
02
03
04
05
06
07
08
09
10
01a
01b
02a
02b
02c
02d
03a

I want these arranged as follows

01
01a
01b
02
02a
02b
02c
02d
03
03a
04
05
06
07
08
09
10

Is there a quick filtering method to do this?

Thankyou for oyur help

Chris


--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=508070

  #2   Report Post  
Posted to microsoft.public.excel.misc
flummi
 
Posts: n/a
Default quick filter

The question has been discussed a while ago, but I can't find the post.

So, easy way is:

In B1 enter '01',
In C1 enter 'a'
In A1 enter =B1&C1 which gives you your original combined product no.
Copy down as far as needed.

Then highlight the rows to sort and data--sort by col B and then col C

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default quick filter

Put this in B1:

=LEFT(A1,MIN(MATCH(TRUE,
ISERROR(-MID(A1&"x",ROW(INDIRECT("1:"&LEN(A1)+1)),1)),0))-1)

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

and this in C1:
=MID(A1,LEN(B1)+1,255)

Then sort your data by columns B and C.

cj21 wrote:

I have a list of product codes e.g

01
02
03
04
05
06
07
08
09
10
01a
01b
02a
02b
02c
02d
03a

I want these arranged as follows

01
01a
01b
02
02a
02b
02c
02d
03
03a
04
05
06
07
08
09
10

Is there a quick filtering method to do this?

Thankyou for oyur help

Chris

--
cj21
------------------------------------------------------------------------
cj21's Profile: http://www.excelforum.com/member.php...o&userid=25673
View this thread: http://www.excelforum.com/showthread...hreadid=508070


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
advanced filter BorisS Excel Worksheet Functions 1 January 13th 06 05:30 PM
Auto Filter - Protected sheet/workbook ronwill Excel Discussion (Misc queries) 3 January 10th 06 03:28 PM
Macro for Filter Switches ... Maybe??? Ken Excel Discussion (Misc queries) 4 February 25th 05 05:30 PM
Filter Switches vs Macro? Ken Excel Discussion (Misc queries) 3 February 24th 05 10:31 PM
advanced filter won't allow me to filter on bracketed text (-456.2 LucianoG Excel Discussion (Misc queries) 1 December 6th 04 08:38 PM


All times are GMT +1. The time now is 06:30 PM.

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

About Us

"It's about Microsoft Excel"