+ Reply to Thread
Results 1 to 4 of 4

How to (quickly) multiply different rows by different weights?

Hybrid View

  1. #1
    Registered User
    Join Date
    01-31-2012
    Location
    Hanover, NH, USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    6

    How to (quickly) multiply different rows by different weights?

    Hello,

    Let's say I have 2 rows with 5 data points each:
    row 1: 1 2 3 4 5
    row 2: -5 -4 -3 -2 -1

    For row 1, weight is 0.5 and and for row 2, weight is 2. I'd like to be able to get to this:
    weighted row 1: 0.5 1 1.5 2 2.5
    weighted row 2: -10 -8 -6 -4 -2

    How can I perform this operation quickly for hundreds of rows, each with a different weight?

    Thank you.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to (quickly) multiply different rows by different weights?

    Maybe:

    =A1*$G1 copied across and dnown.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    01-31-2012
    Location
    Hanover, NH, USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    6

    Re: How to (quickly) multiply different rows by different weights?

    Perfect, thank you!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: How to (quickly) multiply different rows by different weights?

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. Replies: 4
    Last Post: 07-22-2019, 06:11 PM
  2. Quickly Find data with 4 rows
    By drymetal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-14-2016, 12:03 AM
  3. how to hide and unhide rows quickly.
    By joe90davis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-01-2013, 08:05 AM
  4. [SOLVED] Code to quickly delete rows in sheet
    By shinichi_nguyen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-20-2012, 01:50 PM
  5. How to quickly paste almost same formula to set rows?
    By cardingtr in forum Excel General
    Replies: 3
    Last Post: 02-20-2006, 04:00 PM
  6. How to quickly insert a blank row every 5 rows?
    By Med in forum Excel General
    Replies: 2
    Last Post: 09-09-2005, 08:05 PM
  7. h/t quickly repeat macro on more rows
    By amberinferno in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-26-2005, 06:29 PM

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