+ Reply to Thread
Results 1 to 10 of 10

Formula to move x columns along

  1. #1
    Forum Contributor
    Join Date
    04-17-2012
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    122

    Question Formula to move x columns along

    Good Afternoon

    I am setting up a sheet for next year and it looks at weekly data.

    The first formula I have in place in column A is this

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I want column B to be

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    And then column C to be

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    So basically I need the formula to look at the row 7 columns on from the last but I have to do this for the whole year and that will take ages!!!!

    Is there any way I can do this or would it have to be a macro

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Formula to move x columns along

    I think something like:
    =OFFSET('[Forecast 2014.xlsx]Daily Actual 2014'!C5,0,6*(COLUMN(A1)-1))

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Formula to move x columns along

    Hi,

    =INDEX('[Forecast 2014.xlsx]Daily Actual 2014'!5:5,,7*(COLUMNS($A:A)-1)+3)

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Formula to move x columns along

    Try this...

    In Column-A

    =INDEX('[Forecast 2014.xlsx]Daily Actual 2014'!5:5,(COLUMN(A1)-1)*7+3)

    Drag it to right...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Forum Contributor
    Join Date
    04-17-2012
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    122

    Re: Formula to move x columns along

    wow that was fast thanks for all the responses.

  6. #6
    Forum Contributor
    Join Date
    04-17-2012
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    122

    Re: Formula to move x columns along

    Sorry I have just realised an error with my request.

    For the first 5 occasions i need the fromula to look at the column 7 columns on from the previous one so i used the formula as above

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    but on the 6 occasion i want it to look at the 6th column along and then repeat this for the rest of the year.

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Formula to move x columns along

    Hi,

    It's not clear how the very first formula (which looks at C5) is to fit into these groups. Could you clarify by, again, manually listing the intended cell references, including those new ones, e.g. C5, J5, Q5, etc. but this time to the very end?

    Regards

  8. #8
    Forum Contributor
    Join Date
    04-17-2012
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    122

    Re: Formula to move x columns along

    Hi yeah sorry about that so this is how i want it to go

    the current formula works fine for the first instances so I have

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    With this fromula in place in cell in C4 i correctly referenced Column C and row 5 in the master forecast sheet

    By dragging the formula to the right I was then able to refference the next cell i wanted which was column J and again row 5

    basically I repeat this process 4 times so i have the formula looking at

    C5 then J5 then Q5 then X5 then AE5 in the other sheet, from this next column on though I need to be looking at every column 6 along from the last so in essence i want to be looking at

    cell AK5 and then AQ5 and then AW5 so on and so forth

    I hope this makes a bit more sense.

  9. #9
    Valued Forum Contributor
    Join Date
    02-05-2013
    Location
    Jakarta, Indonesia
    MS-Off Ver
    Excel 2013
    Posts
    571

    Re: Formula to move x columns along

    May be with change this part
    Please Login or Register  to view this content.
    with this:
    Please Login or Register  to view this content.
    Click (*) if you received helpful response.

    Regards,
    David

  10. #10
    Forum Contributor
    Join Date
    04-17-2012
    Location
    england
    MS-Off Ver
    Excel 2010
    Posts
    122

    Re: Formula to move x columns along

    thats perfect.

    Thank You very much
    Last edited by dave1983; 12-16-2013 at 11:13 AM.

+ 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. Replies: 9
    Last Post: 01-16-2013, 02:07 PM
  2. formula to move data from multiple columns to rows
    By emexpress in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-05-2013, 02:12 PM
  3. Formula to automatically move/copy data from rows to columns
    By thchughesmathews in forum Excel General
    Replies: 0
    Last Post: 02-03-2012, 06:10 PM
  4. have reference cells move in rows while I move in columns
    By gryffin13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2011, 09:33 AM
  5. Macro required to move Columns and addidng columns with headings
    By sponge_designs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2009, 08:20 PM

Tags for this Thread

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