Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default How to read offset cells from dynamic sort array formula?

Hi,

I have two columns that I am working with. Column A has text labels,
and Column B has corresponding values. I would like to perform a
dynamic sort to show the value and corresponding text labels in order
from highest to lowest.

I have created an array formula to sort the values, and that works
fine:
{=LARGE(Data, ROW(INDIRECT("1:"&ROWS(Data))))}
(Note: "Data" is a named range)

The problems is that I can't seem to figure out how to pull the
corresponding text labels out of the adjacent column. It seems like I
should be able to use OFFSET to do it, but I can't seem to wrangle an
address from the sorting function to feed into OFFSET.

I'm grateful to anyone who can help.

Best wishes...

....Jay

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 806
Default How to read offset cells from dynamic sort array formula?

Hello Jay,

LARGE does not help you if some values are appearing twice or more
often.

Put into C1:
=COUNTIF($B$1:$B$999,""&B1)+COUNTIF($B$1:B1,B1)
Into D1:
=INDEX(A:A,MATCH(ROW(),$C$1:$C$999,))
And into E1:
=INDEX(B:B,MATCH(ROW(),$C$1:$C$999,))
and copy down as far as necessary.

Hope that helps,
Bernd

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
Dynamic Reference Cell in Offset Formula MarkM Excel Discussion (Misc queries) 3 February 7th 07 05:11 PM
Use of Offset function in array formula scabHead Excel Worksheet Functions 4 December 23rd 06 01:16 AM
Array Offset() formula with height of 1 returns duplicates? Uhl Excel Worksheet Functions 9 December 13th 06 01:22 AM
array formula with a dynamic range. Dave Excel Worksheet Functions 2 June 26th 06 06:16 AM
dynamic offset [email protected] Excel Discussion (Misc queries) 3 March 4th 05 12:38 AM


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