#1   Report Post  
Posted to microsoft.public.excel.misc
SJT SJT is offline
external usenet poster
 
Posts: 71
Default Match Function

I am attempting to create a formula that I believe needs to utilize the Match
function. I would like to look at the values in certain cells (every 4th
column in a given row) and see if they exceed a certain value and for the
first one that does, I would like the result to be what appears in the same
column but in a row above.

For example, If I had the values 5, 7, 10, 15 in cells A4, E4, I4, and M4
the formula would look for the first instance of a value above 11 (in this
case cell M4) and the result would be the conents of cell M1. How would I
accomplish this. Thank you in advance for your assistance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Match Function

Try this:

A10 = 11

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=INDEX(A1:M1,MATCH(1,(MOD(COLUMN(A4:M4),4)=1)*(A4: M4A10),0))

Biff

"SJT" wrote in message
...
I am attempting to create a formula that I believe needs to utilize the
Match
function. I would like to look at the values in certain cells (every 4th
column in a given row) and see if they exceed a certain value and for the
first one that does, I would like the result to be what appears in the
same
column but in a row above.

For example, If I had the values 5, 7, 10, 15 in cells A4, E4, I4, and M4
the formula would look for the first instance of a value above 11 (in this
case cell M4) and the result would be the conents of cell M1. How would I
accomplish this. Thank you in advance for your assistance.



  #3   Report Post  
Posted to microsoft.public.excel.misc
SJT SJT is offline
external usenet poster
 
Posts: 71
Default Match Function

I'm assuming that you mean in cell a10 enter the number 11 as an array.
Correct? Thank you very much for your help on this.

"Biff" wrote:

Try this:

A10 = 11

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=INDEX(A1:M1,MATCH(1,(MOD(COLUMN(A4:M4),4)=1)*(A4: M4A10),0))

Biff

"SJT" wrote in message
...
I am attempting to create a formula that I believe needs to utilize the
Match
function. I would like to look at the values in certain cells (every 4th
column in a given row) and see if they exceed a certain value and for the
first one that does, I would like the result to be what appears in the
same
column but in a row above.

For example, If I had the values 5, 7, 10, 15 in cells A4, E4, I4, and M4
the formula would look for the first instance of a value above 11 (in this
case cell M4) and the result would be the conents of cell M1. How would I
accomplish this. Thank you in advance for your assistance.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Match Function

No, You enter the formula as an array.

A10 is your lookup value. You can hard code it into the formula if you want
to but it's more flexible using a cell reference.

Biff

"SJT" wrote in message
...
I'm assuming that you mean in cell a10 enter the number 11 as an array.
Correct? Thank you very much for your help on this.

"Biff" wrote:

Try this:

A10 = 11

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not
just
ENTER):

=INDEX(A1:M1,MATCH(1,(MOD(COLUMN(A4:M4),4)=1)*(A4: M4A10),0))

Biff

"SJT" wrote in message
...
I am attempting to create a formula that I believe needs to utilize the
Match
function. I would like to look at the values in certain cells (every
4th
column in a given row) and see if they exceed a certain value and for
the
first one that does, I would like the result to be what appears in the
same
column but in a row above.

For example, If I had the values 5, 7, 10, 15 in cells A4, E4, I4, and
M4
the formula would look for the first instance of a value above 11 (in
this
case cell M4) and the result would be the conents of cell M1. How
would I
accomplish this. Thank you in advance for your assistance.






  #5   Report Post  
Posted to microsoft.public.excel.misc
SJT SJT is offline
external usenet poster
 
Posts: 71
Default Match Function

Yeah, I realized after I sent you the reply. Thanks. I'm getting an N/A
error message (and I have entered as an array) and did insert values that
should have given me a valid result. I am using the following formula
=INDEX(X2:AS2,MATCH(1,(MOD(COLUMN(X14:AS14),7)=1)* (X14:AS14B18),0)) and the
cells in row 2 are dates, any reason I might be having a problem? I changed
the "4" to a "7" since the cells I want to evaluate are every 7th column.
Thanks again.

"Biff" wrote:

No, You enter the formula as an array.

A10 is your lookup value. You can hard code it into the formula if you want
to but it's more flexible using a cell reference.

Biff

"SJT" wrote in message
...
I'm assuming that you mean in cell a10 enter the number 11 as an array.
Correct? Thank you very much for your help on this.

"Biff" wrote:

Try this:

A10 = 11

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not
just
ENTER):

=INDEX(A1:M1,MATCH(1,(MOD(COLUMN(A4:M4),4)=1)*(A4: M4A10),0))

Biff

"SJT" wrote in message
...
I am attempting to create a formula that I believe needs to utilize the
Match
function. I would like to look at the values in certain cells (every
4th
column in a given row) and see if they exceed a certain value and for
the
first one that does, I would like the result to be what appears in the
same
column but in a row above.

For example, If I had the values 5, 7, 10, 15 in cells A4, E4, I4, and
M4
the formula would look for the first instance of a value above 11 (in
this
case cell M4) and the result would be the conents of cell M1. How
would I
accomplish this. Thank you in advance for your assistance.








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Match Function

See your later post.

Biff

"SJT" wrote in message
...
Yeah, I realized after I sent you the reply. Thanks. I'm getting an N/A
error message (and I have entered as an array) and did insert values that
should have given me a valid result. I am using the following formula
=INDEX(X2:AS2,MATCH(1,(MOD(COLUMN(X14:AS14),7)=1)* (X14:AS14B18),0)) and
the
cells in row 2 are dates, any reason I might be having a problem? I
changed
the "4" to a "7" since the cells I want to evaluate are every 7th column.
Thanks again.

"Biff" wrote:

No, You enter the formula as an array.

A10 is your lookup value. You can hard code it into the formula if you
want
to but it's more flexible using a cell reference.

Biff

"SJT" wrote in message
...
I'm assuming that you mean in cell a10 enter the number 11 as an array.
Correct? Thank you very much for your help on this.

"Biff" wrote:

Try this:

A10 = 11

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not
just
ENTER):

=INDEX(A1:M1,MATCH(1,(MOD(COLUMN(A4:M4),4)=1)*(A4: M4A10),0))

Biff

"SJT" wrote in message
...
I am attempting to create a formula that I believe needs to utilize
the
Match
function. I would like to look at the values in certain cells
(every
4th
column in a given row) and see if they exceed a certain value and
for
the
first one that does, I would like the result to be what appears in
the
same
column but in a row above.

For example, If I had the values 5, 7, 10, 15 in cells A4, E4, I4,
and
M4
the formula would look for the first instance of a value above 11
(in
this
case cell M4) and the result would be the conents of cell M1. How
would I
accomplish this. Thank you in advance for your assistance.








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
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
MATCH function, exclusion question Paul Lautman Excel Discussion (Misc queries) 4 July 21st 06 04:53 AM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
I want to use the MATCH function with the AVERAGE function but I . Miguel Excel Worksheet Functions 2 April 23rd 05 05:29 PM


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