+ Reply to Thread
Results 1 to 6 of 6

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

Hybrid View

mukulhanda Drag a formula right one... 05-10-2013, 09:14 AM
XOR LX Re: Drag a formula right one... 05-10-2013, 09:17 AM
kleptilian Re: Drag a formula right one... 05-10-2013, 10:08 AM
Bhuvi Re: Drag a formula right one... 05-10-2013, 09:52 AM
mukulhanda Re: Drag a formula right one... 05-13-2013, 12:10 AM
Kevin UK Re: Drag a formula right one... 05-10-2013, 10:07 AM
  1. #1
    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

  2. #2
    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.

+ 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