Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Filtering diverse values

I'm trying to filter out diverse values in a column

Assume:
A1:A5 = Name1
A6:A10 = Name2
A11:A15 = Name3

I want to be able to automate a list that shows:

Name1
Name2
Name3

Not:

Name1
Name1
Name1
Name1
Name1
Name2
Name2
Name2
Name2
Name2
Name3
Name3
Name3
Name3
Name3

I have an idea of how to do this, but I want to make sure if I'm even
thinking in the right direction.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Filtering diverse values

A formula-based solution:

In B1:
=A1

In B2 (*array formula*):

=IF(ISERROR(MATCH(0,COUNTIF($B$1:B1,$A$1:$A$100),0 )),"",INDEX($A$1:$A
$100,MATCH(0,COUNTIF($B$1:B1,$A$1:$A$100),0)))

Copy down the formula in B2.

HTH
Kostis Vezerides

On Jun 7, 5:25 pm, wrote:
I'm trying to filter out diverse values in a column

Assume:
A1:A5 = Name1
A6:A10 = Name2
A11:A15 = Name3

I want to be able to automate a list that shows:

Name1
Name2
Name3

Not:

Name1
Name1
Name1
Name1
Name1
Name2
Name2
Name2
Name2
Name2
Name3
Name3
Name3
Name3
Name3

I have an idea of how to do this, but I want to make sure if I'm even
thinking in the right direction.



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
filtering on range of values mkrijger Excel Discussion (Misc queries) 1 February 10th 07 02:11 PM
need filtering help Lauri Excel Discussion (Misc queries) 1 December 11th 06 07:38 PM
Filtering ? Tarjei Lundarvollen Excel Worksheet Functions 7 July 18th 05 11:00 PM
trouble filtering a list. Why isn't column filtering? Pat Excel Worksheet Functions 1 July 18th 05 03:30 PM
Filtering and replacing values through a macro vic Excel Worksheet Functions 1 January 27th 05 09:53 PM


All times are GMT +1. The time now is 03:39 PM.

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

About Us

"It's about Microsoft Excel"