+ Reply to Thread
Results 1 to 6 of 6

Dragging formulas which include vertical and horizantal variables

  1. #1
    Registered User
    Join Date
    02-19-2015
    Location
    Minneapolis, MN
    MS-Off Ver
    2010
    Posts
    3

    Dragging formulas which include vertical and horizantal variables

    Forgive me if this is simple, but I have not been able to find an answer yet.

    I am interested in multiplying two values, and dragging the formula vertically along side the data that is in a column. The values I want to multiply it by is arranged in a row, and needs to stay in a row. I am wondering how I can drag the formula vertically while having the variable in the row follow.

    Ex. I have data in M2-M10 and want to create a formula that I can drag from N2-N10 that multiplies the M column data by values in A1-I1.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Dragging formulas which include vertical and horizantal variables

    Try

    in N2
    =M2*$A1
    copy down

    Now drag to the right, the columns should change to O2, P2, Q2 etc but column A should stay the same (apart from the row which will increase)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    02-19-2015
    Location
    Minneapolis, MN
    MS-Off Ver
    2010
    Posts
    3

    Re: Dragging formulas which include vertical and horizantal variables

    I may not have been very clear. So what I want is for N2=M2*A1, N3=M3*B1, N4=M4*C1, N5=M5*D1, etc... These cells I am referencing are just to simplify the explanation. In reality I have a much larger data set that I am trying to apply this to which is why I am interested in being able to drag one formula vertically, while multiplying the vertical data AND horizontal data.

    Hope this clears it up.

    Thanks!

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dragging formulas which include vertical and horizantal variables

    Try this in N2 and filled down.

    =M2*INDEX(A$1:I$1,ROWS($1:1))

  5. #5
    Registered User
    Join Date
    02-19-2015
    Location
    Minneapolis, MN
    MS-Off Ver
    2010
    Posts
    3

    Re: Dragging formulas which include vertical and horizantal variables

    Works perfectly, thanks so much Jonmo1!

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Dragging formulas which include vertical and horizantal variables

    You're welcome.

+ 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. [SOLVED] Horizontal to vertical dragging of formulas...
    By Finalfrontier1976 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-20-2013, 09:39 AM
  2. Replies: 5
    Last Post: 08-21-2012, 03:36 PM
  3. formula which returns horizantal range to vertical range
    By unas in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-29-2010, 09:58 AM
  4. Copy vertical the same as horizantal.
    By Ipsl in forum Excel General
    Replies: 2
    Last Post: 01-27-2008, 04:26 PM
  5. vertical column to horizantal data
    By NewsGuy in forum Excel General
    Replies: 4
    Last Post: 04-27-2005, 12:06 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