Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Gidders
 
Posts: n/a
Default Variable Column references

For a manpower planning tool, I want to be able to use a value in say cell A1
to be able to reference along from the current cell the number of columns
specified in that cell, and down a known number.

For example if A1=4 then I want B2 to point to (say) (C+A1)3 ie G3, & B3 to
point to (D+A1)3 ie H3 etc so that I can change which column B2 point to by
changing the value in A1
--
Gidders


  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

Try

=OFFSET($C$3,0,$A$1+ROW(B2)-2)

"Gidders" wrote:

For a manpower planning tool, I want to be able to use a value in say cell A1
to be able to reference along from the current cell the number of columns
specified in that cell, and down a known number.

For example if A1=4 then I want B2 to point to (say) (C+A1)3 ie G3, & B3 to
point to (D+A1)3 ie H3 etc so that I can change which column B2 point to by
changing the value in A1
--
Gidders


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
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
variable worksheet references mattbloodgood Excel Discussion (Misc queries) 3 July 7th 05 08:34 PM
how to create a variable column in cell reference Sampson Excel Worksheet Functions 3 February 21st 05 10:13 PM
Putting text in a column based on variable text from another colum Jacky D. Excel Discussion (Misc queries) 1 December 16th 04 06:09 PM
How can I sort an entire spreadsheet from a list prod sorter Excel Worksheet Functions 4 November 17th 04 03:43 AM


All times are GMT +1. The time now is 04:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"