+ Reply to Thread
Results 1 to 5 of 5

Move cells a formula is linked to when a new column is inserted

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Move cells a formula is linked to when a new column is inserted

    Hi,

    My formulas in columns O,Q and 3 currently compound the monthly returns in row 5 to get the 3 month 12 month and year to date performance. How do I make the formulas move cell refferences when I insert a new column. For example
    when I insert a column to the right of column N the formula will still point to Novembers, Decembers and Jans returns rather than December, January and Februarys returns when working out the 3 month return.

    James
    Attached Files Attached Files

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Move cells a formula is linked to when a new column is inserted

    Maybe is just me but I got error when opening your file.
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Re: Move cells a formula is linked to when a new column is inserted

    returns.xls

    I did not have any problems. I attach again

  4. #4
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Move cells a formula is linked to when a new column is inserted

    3 months
    =(PRODUCT((OFFSET($A$4,1,MATCH($P$4,$A$4:$Z$4,0)-5,1,3)%)+1)-1)*100
    12 months
    =(PRODUCT((OFFSET($A$4,1,MATCH($R$4,$A$4:$Z$4,0)-17,1,12)%)+1)-1)*100

    For YTD you will need to chage the Text date to normal Dates and then we can work out a formula.

  5. #5
    Forum Contributor
    Join Date
    01-16-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    136

    Re: Move cells a formula is linked to when a new column is inserted

    Thanks for your reply

    I've tried the formulas and cant get them to work. Please see attached. I've also changed the dates from text to normal dates for YTD.

    returns.xlsx

    Any Help much appreciated


    James

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy column sub-headings to inserted column via formula
    By Geppstar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-13-2013, 05:36 PM
  2. Replies: 1
    Last Post: 02-09-2012, 09:03 PM
  3. Replies: 2
    Last Post: 05-20-2011, 10:54 PM
  4. How can I get inserted lines to automatically appear in a linked .
    By Excel-erator in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-09-2006, 12:55 PM
  5. Excel inserted 0's in cells linked to blank cells
    By lburg801 in forum Excel General
    Replies: 5
    Last Post: 10-28-2005, 06:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1