LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
NM NM is offline
external usenet poster
 
Posts: 51
Default Expanding on the INDEX function

Im using the following formula to and am wondering if it can be used more
efficiently, or if I need something completely different.

=INDEX($A$12:$A$43,MATCH(Q12,$N$12:$N$43,0))

Data from column N is sorted from highest to lowest into column Q in my
Excel spreadsheet.

I have duplicates in column Q, so the above formula Im using isnt working
like I need it to. I need the formula to continue to the next occurrence in
column N when a duplicate is encountered and place that result from column A
into column S. I need this to continue as such as need be. I have over ten
duplicate numbers in column Q, but those duplicate numbers represent ten
different items.

For example I have this data:

1 DMWF
1 DMWF
1 DMWF
0 CC
0 CC
0 CC

However, it should look like this:

1 DMWF
1 HD
1 P (LC)
0 CC
0 LTC
0 HTOAC

Any help would be appreciated.

Thank you.
 
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
Index Function Mike Excel Worksheet Functions 2 August 27th 07 12:45 AM
Index function et Excel Discussion (Misc queries) 3 February 21st 07 06:35 AM
Index Function SJT Excel Discussion (Misc queries) 3 November 9th 06 02:54 AM
Index Function/Match Function M Moore Excel Discussion (Misc queries) 3 September 3rd 06 11:49 AM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 02:53 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"