Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default How to select one record of each from a column

Hello,
I have a large worksheet with data.

Here are the columns (a, b & c):

Order # Employee Hrs.
1000 Mike 2
2000 Mike 1
1000 Paul 2
3000 Rose 3
8000 Mike 1
3000 Mike 2
1000 Rose 1
4000 Paul 1
7000 Jhon 3
5000 Rose 2
1000 Jhon 3
6000 Mike 1
9000 Mike 3
1000 Mike 2

Is there a formula to select only one of each record on "Order #" (column a)
and put them on another column (column d)???

Once the formula is created, column d should look like this:

1000
2000
3000
4000
5000
6000
7000
8000
9000

Help please!!!

Thank you,
Cesar Urquidi
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default How to select one record of each from a column

In D1 enter formula
=A1

In D2 enter the below formula and copy down as required.
Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"

=IF(MIN(IF(ISNA(MATCH($A$1:$A$15,$D$1:D1,0)),ROW($ A$1:$A$15))),
INDEX($A$1:$A$15,MIN(IF(ISNA(MATCH($A$1:$A$15,$D$1 :D1,0)),
ROW($A$1:$A$15)))),"")

If this post helps click Yes
---------------
Jacob Skaria


"Cesar Urquidi" wrote:

Hello,
I have a large worksheet with data.

Here are the columns (a, b & c):

Order # Employee Hrs.
1000 Mike 2
2000 Mike 1
1000 Paul 2
3000 Rose 3
8000 Mike 1
3000 Mike 2
1000 Rose 1
4000 Paul 1
7000 Jhon 3
5000 Rose 2
1000 Jhon 3
6000 Mike 1
9000 Mike 3
1000 Mike 2

Is there a formula to select only one of each record on "Order #" (column a)
and put them on another column (column d)???

Once the formula is created, column d should look like this:

1000
2000
3000
4000
5000
6000
7000
8000
9000

Help please!!!

Thank you,
Cesar Urquidi

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
How to select one record of each from a column Cesar Urquidi[_2_] Excel Discussion (Misc queries) 2 November 20th 09 05:34 PM
Finding the next record in a column Finding the next record in a column Excel Discussion (Misc queries) 2 October 1st 09 07:17 PM
How do I automatically select a Excel record randomly? Italian1 Excel Worksheet Functions 3 July 20th 09 05:41 PM
Select last record for each account Gordon Excel Discussion (Misc queries) 1 January 27th 06 03:40 PM
How do I select the correct record? HansM Excel Discussion (Misc queries) 3 March 11th 05 01:46 AM


All times are GMT +1. The time now is 07:01 AM.

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"