+ Reply to Thread
Results 1 to 4 of 4

Coping Formulas - Changing the Cell Reference to fit with a known pattern !!!

  1. #1
    Registered User
    Join Date
    03-30-2007
    Posts
    2

    Coping Formulas - Changing the Cell Reference to fit with a known pattern !!!

    Dear All

    To put this simply . . . . . i have created a spreadsheet containing two worksheets (sheet 1 & sheet 2)

    Sheet 1 contains the following

    in A1 : one
    in B1 : two
    in C1 : three
    in A2 : four
    in B2 : five
    in C2 : six

    Sheet 2 will reference the functions

    in A1 : ="cell = " & Sheet1!A1
    in A2 : ="cell = " & Sheet1!B1
    in A3 : ="cell = " & Sheet1!C1

    When i highlight these cells and copy them down the row value does not increment by 1 . . . in fact it increments by 3.

    as a result . . . .

    in A4 : ="cell = " & Sheet1!A4
    in A5 : ="cell = " & Sheet1!B4
    in A6 : ="cell = " & Sheet1!C4

    and . . .

    in A7 : ="cell = " & Sheet1!A7
    in A8 : ="cell = " & Sheet1!B7
    in A9 : ="cell = " & Sheet1!C7

    My question is . . . how can i increment the row value by 1 and not 3 ?????

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try a combination of the indirect and cell functions

    Please Login or Register  to view this content.
    Martin

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    or prehaps

    =OFFSET(Sheet1!$A$1,ROW(A1)-1,COLUMN(A1)-1)

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    03-30-2007
    Posts
    2

    Thank You.

    Thanks for your suggestions guys. I have managed to is the indirect function along with the cell and int funstion to achieve what i needed .

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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