ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   excel formula (https://www.excelbanter.com/excel-worksheet-functions/21348-excel-formula.html)

John777

excel formula
 
How do I get "=MATCH(C2,ADDRESS(B17+4,1,4,1):ADDRESS(B17+4,10,4 ,1))" to work?

Myrna Larson

I would use an OFFSET formula.

If I read your formula correctly, the lookup-range is $A$x:$J$x where the row
number, 'x', is contained in B17:

=MATCH(C2,OFFSET($A$1,B17+3,0,10,1))

On Sun, 10 Apr 2005 08:31:02 -0700, "John777"
wrote:

How do I get "=MATCH(C2,ADDRESS(B17+4,1,4,1):ADDRESS(B17+4,10,4 ,1))" to work?



Myrna Larson

Another formula that will work is

=MATCH(C2,INDEX($A$1:$J$1000,B17+4,0))

Make the number 1000 large enough to encompass the last possible row. When you
specify the column number as 0, the formula returns the entire row.

On Sun, 10 Apr 2005 11:59:36 -0500, Myrna Larson
wrote:

I would use an OFFSET formula.

If I read your formula correctly, the lookup-range is $A$x:$J$x where the row
number, 'x', is contained in B17:

=MATCH(C2,OFFSET($A$1,B17+3,0,10,1))

On Sun, 10 Apr 2005 08:31:02 -0700, "John777"
wrote:

How do I get "=MATCH(C2,ADDRESS(B17+4,1,4,1):ADDRESS(B17+4,10,4 ,1))" to

work?


John777


Thank you, your fix worked perfectly.
"JE McGimpsey" wrote:

one way:

=MATCH(C2,INDIRECT(ADDRESS(B17+4,1,4,1) & ":"
&ADDRESS(B17+4,10,4,1)))

Although it would be much more efficient to use:

=MATCH(C2,OFFSET($A$1,B17+3,0,1,10))




In article ,
"John777" wrote:

How do I get "=MATCH(C2,ADDRESS(B17+4,1,4,1):ADDRESS(B17+4,10,4 ,1))" to work?



Myrna Larson

To do this with ADDRESS, you need to embed the ADDRESS function inside and
INDIRECT function, like this:

=MATCH(C2,INDIRECT(ADDRESS(B17+4,1,4,1)):INDIRECT( ADDRESS(B17+4,10,4,1)))

To repeat, the other two options are OFFSET and INDEX,

=MATCH(C2,OFFSET($A$1,B17+3,0,10,1))
=MATCH(C2,INDEX($A$1:$J$1000,B17+4,0))

both of which are shorter and probably faster to recalculate. INDEX may be
more understandable.

wrote:
How do I get "=MATCH(C2,ADDRESS(B17+4,1,4,1):ADDRESS(B17+4,10,4 ,1))" to
work?



meena khan via OfficeKB.com

Hi dear !

i need ExceL formula if you help Me tHeN pLz send Me tHe Excel formulas ok
.......



thanks

Tanha

--
Message posted via http://www.officekb.com

meena khan via OfficeKB.com

hi dear

i need Grade formula and persontage if any one have plz seNd me




thaNks

khan

--
Message posted via http://www.officekb.com

Max

Try: =MATCH(C2,INDIRECT("A"&B17+4&":J"&B17+4),0)

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"John777" wrote in message
...
How do I get "=MATCH(C2,ADDRESS(B17+4,1,4,1):ADDRESS(B17+4,10,4 ,1))" to

work?



Kassie Kasselman via OfficeKB.com

Hey Tanha

I suggest you start a new thread, and specify what it is that you are
looking for

--
Message posted via http://www.officekb.com


All times are GMT +1. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com