+ Reply to Thread
Results 1 to 6 of 6

Drag a formula right one cell, reference cell jumps right 2 cells?

Hybrid View

  1. #1
    Registered User
    Join Date
    05-10-2013
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    3

    Drag a formula right one cell, reference cell jumps right 2 cells?

    I need to skip reference by 1 column when I drag.

    E 0 X 0 C 0 E 0 L

    Should give me EXCEL

    eg 2
    Time out - time in for day 1, then just drag to get for other days.
    H I
    2-May 3-May
    Time in Time Out Time in Time Out
    7:51 16:25 7:33 17:06
    9:32 18:12 9:16 20:00


    Please help, I urgently need this

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

    Re: Drag a formula right one cell, reference cell jumps right 2 cells?

    Posting a sample of your workbook will give you more chance of receiving meaningful help.

  3. #3
    Forum Contributor
    Join Date
    03-14-2013
    Location
    FL
    MS-Off Ver
    Excel 2013
    Posts
    123

    Re: Drag a formula right one cell, reference cell jumps right 2 cells?

    you can try something like =(A1&C1&E1) depending on where the cells are located.

  4. #4
    Forum Contributor Bhuvi's Avatar
    Join Date
    04-19-2013
    Location
    Delhi, India
    MS-Off Ver
    MS Excel 2003,07,10
    Posts
    153

    Re: Drag a formula right one cell, reference cell jumps right 2 cells?

    Hi Mukul,

    In the attached sheet I have put data as you have suggested . In sheet1 the below formula is used in cell A5 and autofilled formula to cells at right
    =OFFSET(A1,0,COLUMN(A1)-COLUMN($A$1),1,1)
    It fetches data from first row as I have assumed that the values start from cell A1.


    In the sheet2 the formula is used in cell A6 and auto filled to cells at right and down.
    =OFFSET(A2,0,COLUMN(A2)-COLUMN($A$2),1,1)

    Note :You can change the reference of data but the absolute col and row reference eg.COLUMN($A$2) above should be same as the first column of data set.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-10-2013
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Drag a formula right one cell, reference cell jumps right 2 cells?

    Thank You Bhuvanesh.. .

    I can never thank you enough for this. )

    Quote Originally Posted by Bhuvanesh View Post
    Hi Mukul,

    In the attached sheet I have put data as you have suggested . In sheet1 the below formula is used in cell A5 and autofilled formula to cells at right
    =OFFSET(A1,0,COLUMN(A1)-COLUMN($A$1),1,1)
    It fetches data from first row as I have assumed that the values start from cell A1.


    In the sheet2 the formula is used in cell A6 and auto filled to cells at right and down.
    =OFFSET(A2,0,COLUMN(A2)-COLUMN($A$2),1,1)

    Note :You can change the reference of data but the absolute col and row reference eg.COLUMN($A$2) above should be same as the first column of data set.

  6. #6
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Drag a formula right one cell, reference cell jumps right 2 cells?

    Hi mukulhanda

    Assuming the following characters "E 0 X 0 C 0 E 0 L" are in cells A1:I1. try in A2 and copy across:
    Formula: copy to clipboard
    INDEX($A$1:$I$1,COLUMN()*2-1)


    If required, wrap in the IFERROR function.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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