+ Reply to Thread
Results 1 to 5 of 5

Drag formula vertically but using horizontal number

  1. #1
    Registered User
    Join Date
    08-11-2020
    Location
    Catbalogan City, Samar, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    12

    Drag formula vertically but using horizontal number

    Hi,

    Good day!

    I want to drag a formula from a horizontal cell but I want to paste it in a vertical cells.

    Example: I want to drag a formula in cell A4 to A27 from cell A1 to X1.

    cell A4 = A1
    cell A5 = B1
    .
    .
    .
    cell A27 = X1

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,080

    Re: Drag formula vertically but using horizontal number

    Try this in A4, copied down as needed...
    =OFFSET($A$1,0,ROWS($A$1:A1)-1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2010
    Posts
    532

    Re: Drag formula vertically but using horizontal number

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

  4. #4
    Registered User
    Join Date
    08-11-2020
    Location
    Catbalogan City, Samar, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    12

    Re: Drag formula vertically but using horizontal number

    Hi FDibbins and Czeslaw,

    You guys save my day! It works! CHEERS..

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,080

    Re: Drag formula vertically but using horizontal number

    Happy to help and thanks for the feedback

+ 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. Drag vertically using horizontal cell reference
    By JohnIv. in forum Excel General
    Replies: 4
    Last Post: 07-03-2019, 06:25 AM
  2. [SOLVED] Horizontal / vertical - drag formula
    By DGRRGD in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-18-2018, 06:41 AM
  3. Replies: 4
    Last Post: 07-11-2017, 05:46 PM
  4. Formula when drag should use horizontal values.
    By Stephen Lopes in forum Excel General
    Replies: 11
    Last Post: 05-26-2016, 09:07 PM
  5. Replies: 4
    Last Post: 08-05-2014, 11:33 AM
  6. Replies: 2
    Last Post: 06-14-2013, 05:28 AM
  7. Drag horizontally but have formula increase vertically?
    By Greg_2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-15-2011, 09:24 AM

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