#1   Report Post  
John777
 
Posts: n/a
Default excel formula

How do I get "=MATCH(C2,ADDRESS(B17+4,1,4,1):ADDRESS(B17+4,10,4 ,1))" to work?
  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

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?


  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default

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?

  #4   Report Post  
Myrna Larson
 
Posts: n/a
Default

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?


  #5   Report Post  
meena khan via OfficeKB.com
 
Posts: n/a
Default

hi dear

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




thaNks

khan

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


  #6   Report Post  
Max
 
Posts: n/a
Default

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?


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
Formula in an Excel comment The Window Cleaner Excel Discussion (Misc queries) 0 March 10th 05 11:03 AM
Excel should have a simpler subtraction formula similar to "sum". Darius Excel Worksheet Functions 5 February 21st 05 11:14 PM
How do I get the formula bar in excel 2003 unionhall Excel Discussion (Misc queries) 1 February 17th 05 10:10 AM
Need excel formula to display 28.50hrs in HRS & MINS? rbc Excel Worksheet Functions 4 January 6th 05 12:21 PM
Suddenly Excel can't calculate formula!!! Bob H Excel Worksheet Functions 2 November 30th 04 08:35 PM


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