offset formula

ehsas

Board Regular
Joined
Sep 17, 2002
Messages
200
=OFFSET(sheet1!$A$11,COUNTA(sheet1!$A:$A)-sheet1!$E$1,0,sheet1!$E$1,1)

The above formul refers to column.How I can changed it to refers to the row instead of column.Regards,
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
=OFFSET(sheet1!$A$6,0,3,1,COUNTA(sheet1!$6:$6))

Thank aladin.Only I want to add some more function in above formula which only take last 13 cell from.Please tell if it possible.Regards,
 
Upvote 0
On 2002-10-22 10:41, ehsas wrote:
=OFFSET(sheet1!$A$6,0,3,1,COUNTA(sheet1!$6:$6))

Thank aladin.Only I want to add some more function in above formula which only take last 13 cell from.Please tell if it possible.Regards,

In fact, I already done that using the range D6:AK6... Below is the equivalent when you use A6 and row 6...

=OFFSET(Sheet1!$A$6,0,MATCH(BigNum,Sheet1!$6:$6)-13+CELL("Col",Sheet1!$A$6)-1,1,13)
 
Upvote 0
Thanks.It taking las 13 field on the row I want to check for last field where is filled with. and then take the last 13 fields.Regards.
 
Upvote 0
Aladin thanks.Let me tell you that I have changed the match to counta and it worked.Regards,
 
Upvote 0
On 2002-10-22 17:11, ehsas wrote:
Aladin thanks.Let me tell you that I have changed the match to counta and it worked.Regards,

My "war" against COUNTA in defining named ranges is probably unknown to you. When you have an empty cell, COUNTA will not give you the correct range, MATCH always will.
 
Upvote 0
but match it not giving me the last 13 fields it looking through all the row 6 till end.
 
Upvote 0
On 2002-10-22 17:46, ehsas wrote:
but match it not giving me the last 13 fields it looking through all the row 6 till end.

See...
Book6
ABCDEFGH
1Last4
27#VALUE!Selecttheformulaontheformulabar&F9{0,50,80,90}
3540Selecttheformulaontheformulabar&F9{40,0,0,50}
4
5
63040508090
7
Sheet1


The above example shows the last 4 values in row 6 instead of 13.
 
Upvote 0

Forum statistics

Threads
1,215,746
Messages
6,126,650
Members
449,326
Latest member
asp123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top