#1   Report Post  
Jon C
 
Posts: n/a
Default Cell Offset

Hi,

Id like to be able to do an offset from a reference in another cell€¦ Help€¦..

Heres what I really mean.

A1 contains €˜January
B1 €˜February
Etc


A8 = A1, B8 = B1, etc.

Dead easy.

What Id like to do is change A8 to say C1, for March, and for the remainder
of the cells on row 8 to automatically follow in line i.e. B8=D1, etc.

Thanks,

Jon

  #2   Report Post  
Max
 
Posts: n/a
Default

One play ..

Assume you have in A1:L1 : Jan, Feb, Mar, etc

Let's reserve say, cell A7 for the input of the starting cell
Enter in A7: A1

Now put in A8:
=OFFSET(INDIRECT($A$7),,COLUMNS($A$1:A1)-1)

Copy A8 across to L8
A8:L8 will returns what's in A1:L1

Change the input in A7 to: C1
A8:L8 will now return what's in C1:N1,
viz: Mar, Apr, May, ... etc
(i.e. shifts the "starting" cell to C1 instead)

--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Jon C" wrote in message
...
Hi,

I'd like to be able to do an offset from a reference in another cell.

Help...

Here's what I really mean.

A1 contains 'January'
B1 'February'
Etc


A8 = A1, B8 = B1, etc.

Dead easy.

What I'd like to do is change A8 to say C1, for March, and for the

remainder
of the cells on row 8 to automatically follow in line i.e. B8=D1, etc.

Thanks,

Jon



  #3   Report Post  
Krishnakumar
 
Posts: n/a
Default


Hi Jon,

Try in A8 and copied across,

=IF(ISERROR(INDEX($A$1:$L$1,$A$9+COLUMN(A1)-1)),"",INDEX($A$1:$L$1,$A$9+COLUMN(A1)-1))

where A9 houses the starting month. if you type 3 then it starts from
March onwards.

HTH


--
Krishnakumar


------------------------------------------------------------------------
Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138
View this thread: http://www.excelforum.com/showthread...hreadid=399003

  #4   Report Post  
Jon C
 
Posts: n/a
Default

Thanks Max and Krishnakumar.

Jon C

"Krishnakumar" wrote:


Hi Jon,

Try in A8 and copied across,

=IF(ISERROR(INDEX($A$1:$L$1,$A$9+COLUMN(A1)-1)),"",INDEX($A$1:$L$1,$A$9+COLUMN(A1)-1))

where A9 houses the starting month. if you type 3 then it starts from
March onwards.

HTH


--
Krishnakumar


------------------------------------------------------------------------
Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138
View this thread: http://www.excelforum.com/showthread...hreadid=399003


  #5   Report Post  
Max
 
Posts: n/a
Default

Your'e welcome, Jon !
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Jon C" wrote in message
...
Thanks Max and Krishnakumar.

Jon C





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
copying cell names Al Excel Discussion (Misc queries) 12 August 11th 05 03:01 PM
Offset Function works in cell, not in named range DragonslayerApps Excel Worksheet Functions 0 July 25th 05 04:39 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


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