Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Find Row in a named range

I have a named range that contains several rows and columns of data. I'm
using the following formula to determine the minimum value in a range that
consists of all but the last two rows in the second column.

=MIN(OFFSET(DataRange,0,1,COUNT(INDEX(DataRange,0, 1,1))-2,1))

This formula gives me the result I want. But, now I need to know how to find
the value in row three that corresponds to value from the above formula?
I'm assuming I need to find the row and then get the value based on the row
and column, but my attempts have not been successful.

Thanks,
Raul
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Find Row in a named range

Have a look at INDEX and MATCH in Excel Help.

Pete

On Nov 23, 10:46 pm, Raul wrote:
I have a named range that contains several rows and columns of data. I'm
using the following formula to determine the minimum value in a range that
consists of all but the last two rows in the second column.

=MIN(OFFSET(DataRange,0,1,COUNT(INDEX(DataRange,0, 1,1))-2,1))

This formula gives me the result I want. But, now I need to know how to find
the value in row three that corresponds to value from the above formula?
I'm assuming I need to find the row and then get the value based on the row
and column, but my attempts have not been successful.

Thanks,
Raul


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 86
Default Find Row in a named range

Thanks for the tip. I came up with following based on your input:

=INDEX(DataRange,MATCH(MIN(OFFSET(DataRange,0,1,CO UNT(INDEX(DataRange,0,1,1))-2,1)),OFFSET(DataRange,0,1,COUNT(INDEX(DataRange,0 ,1,1))-2,1),0),3,1)

Thanks again,
Raul


"Pete_UK" wrote:

Have a look at INDEX and MATCH in Excel Help.

Pete

On Nov 23, 10:46 pm, Raul wrote:
I have a named range that contains several rows and columns of data. I'm
using the following formula to determine the minimum value in a range that
consists of all but the last two rows in the second column.

=MIN(OFFSET(DataRange,0,1,COUNT(INDEX(DataRange,0, 1,1))-2,1))

This formula gives me the result I want. But, now I need to know how to find
the value in row three that corresponds to value from the above formula?
I'm assuming I need to find the row and then get the value based on the row
and column, but my attempts have not been successful.

Thanks,
Raul



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Find Row in a named range

You're welcome - glad you were able to get something to work.

Pete

On Nov 24, 12:31 am, Raul wrote:
Thanks for the tip. I came up with following based on your input:

=INDEX(DataRange,MATCH(MIN(OFFSET(DataRange,0,1,CO UNT(INDEX(DataRange,0,1,1-))-2,1)),OFFSET(DataRange,0,1,COUNT(INDEX(DataRange,0 ,1,1))-2,1),0),3,1)

Thanks again,
Raul



"Pete_UK" wrote:
Have a look at INDEX and MATCH in Excel Help.


Pete


On Nov 23, 10:46 pm, Raul wrote:
I have a named range that contains several rows and columns of data. I'm
using the following formula to determine the minimum value in a range that
consists of all but the last two rows in the second column.


=MIN(OFFSET(DataRange,0,1,COUNT(INDEX(DataRange,0, 1,1))-2,1))


This formula gives me the result I want. But, now I need to know how to find
the value in row three that corresponds to value from the above formula?
I'm assuming I need to find the row and then get the value based on the row
and column, but my attempts have not been successful.


Thanks,
Raul- Hide quoted text -


- Show quoted text -


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
Find Cell in Named Range David Excel Worksheet Functions 3 May 8th 07 06:00 AM
VBA: find number of columns in named range? George[_3_] Excel Discussion (Misc queries) 3 April 30th 07 05:35 PM
Array as a "named range" - formula ok in cells, but error as "named range" tskogstrom Excel Discussion (Misc queries) 11 December 28th 06 04:44 PM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
How to find all formulas that used a certain named range Laurence Lombard Excel Discussion (Misc queries) 2 October 25th 05 08:15 AM


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