Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default nesting functions to compare segments of two columns

In Excel I would like to nest functions to make the formula

=MAX(OFFSET((ADDRESS((MATCH(I1,F1:F8000)),6)):(ADD RESS((MATCH(I2,F1:F8000)),6)),0,1))

The part =ADDRESS((MATCH(I1,F1:F8000)),6) works on its own as does
=MAX(OFFSET(F14:F23,0,1)) but they dont work together.

The intent is to be able to type in two numbers; a minimum value (I1) and a
maximum value (I2). The location of those values would then be identified in
a column of ascending numbers (F) but the numbers would make a range
separated by a variable number of other cells dependant on the min & max
inputs. Then the maximum value of the corresponding range of numbers in
column G (not sorted) would be identified. For example, Id like to be able
to pick any two numbers in the first column (i.e. 201.1 €“ 201.6) below and
then identify the maximum value in the second column (530.03); only I have
8000 rows instead of 10.

201 423.96
201.1 461.13
201.2 530.03
201.3 463.68
201.4 406.03
201.5 439.66
201.6 412.12
201.7 522.31
201.8 444.17
201.9 458.86

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default nesting functions to compare segments of two columns

The intent is to be able to type in two numbers; a minimum value (I1) and a
maximum value (I2). *The location of those values would then be identified in
a column of ascending numbers (F) but the numbers would make a range
separated by a variable number of other cells dependant on the min & max
inputs. *Then the maximum value of the corresponding range of numbers in
column G (not sorted) would be identified.


Maybe this would help:
=MAX(OFFSET(G1,
MATCH(I1,F1:F8000)-1,
0,
MATCH(I2,F1:F8000)-MATCH(I1,F1:F8000)+1,
1))

The idea is to calculate the "height" parameter of OFFSET vector using
the difference between the two MATCHes.
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
Nesting Functions? Baxter Excel Worksheet Functions 2 November 5th 09 09:54 PM
Nesting Functions tan Excel Worksheet Functions 1 November 28th 06 04:01 AM
using functions to compare multiple columns for mismatch of cells MDIAZ451 Excel Worksheet Functions 3 February 13th 06 02:49 AM
Nesting functions in the functions dialog box cs170a Excel Worksheet Functions 0 June 10th 05 10:36 PM
Nesting Functions LostNFound Excel Worksheet Functions 4 March 3rd 05 09:59 PM


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