arc90 lab | tools: Link Thumbnail
Excel Help Forum
ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Microsoft Office Application Help - Excel Help forum > Excel Programming > Excel Charting

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-01-2005, 04:09 PM
Melonhead
Guest
 
Posts: n/a
Getting a cell reference to move laterally instead of vertically?

I have data that is sorted in columns, but the data I want to graph is a
cross section of this data and therefore it comes from one row across several
columns. I'm trying sort my graph/equation data in a column, however. Is
there a way to get the equation cell references to move across a row even
while the cell is descending a column?
Reply With Quote
  #2  
Old 11-02-2005, 06:17 PM
Ken Wright
Guest
 
Posts: n/a
Re: Getting a cell reference to move laterally instead of vertically?

You can do it on a range using the TRANSPOSE function (array entered), or
you may want to take a look at the OFFSET function, which takes a row and
column argument. Use the ROW() function to generate the column argument and
you will be able to copy the formula down a column and have the references
go across a row, eg:-

Assuming your data was in E4:L4 and you wanted your formula to start in say
A6 and then copy downwards.

In A6 use =OFFSET($E$4,0,ROW()-6) and copy down. Note the ROW()-6 bit.
When you are in row 6 the ROW() bit gives you 6, whilst the -6 bit turns it
into 6-6=0. Therefore the first column offset argument is 0. When you move
to row 7 the ROW() bit gives you 7, whilst the -6 bit turns it into 7-6=1,
so the column argument is 1 etc

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"Melonhead" <Melonhead@discussions.microsoft.com> wrote in message
news:EDAE665E-E034-4359-BFA5-FAF52F4F237A@microsoft.com...
>I have data that is sorted in columns, but the data I want to graph is a
> cross section of this data and therefore it comes from one row across
> several
> columns. I'm trying sort my graph/equation data in a column, however. Is
> there a way to get the equation cell references to move across a row even
> while the cell is descending a column?



Reply With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 07:50 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0