+ Reply to Thread
Results 1 to 5 of 5

Formula to multiply units of section sizes

  1. #1
    Registered User
    Join Date
    04-21-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Formula to multiply units of section sizes

    Hi,
    I have a spreadsheet where I have unit sizes in place based on page sizes. eg. 48 pages, 24 pages, 12 pages, 8 pages located in cells A2, B2, C2 and D2. I want to be able to sum the total of these columns based on the number of units in each column. So if 48 pages has 1 unit, 24 pages has 0 units, 12 pages has 0 units and 8 pages has 2 units the sum would be 48x1 +24x0 + 12x0 + 8x2 = 64.
    I have worked this out for each row as =SUM(A3*A2,B3*B2,C3*C2,D3*D2) but there are 80 rows and I was wondering if there was a simpler method. I have embedded an image to help illustrate the spreadsheet.

    Section_Size.jpg

    Kindest regards

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Formula to multiply units of section sizes

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    04-21-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Formula to multiply units of section sizes

    Thanks Davesexcel

    I have been working in Google Docs but have saved this as an XLSX document and attached it taking out the sensitive data.

    Regards
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Formula to multiply units of section sizes

    Try it like this:

    =SUM(A3*A$2,B3*B$2,C3*C$2,D3*D$2)
    copy down as far as needed


    If you want elegant way then try this:

    =SUMPRODUCT(A$2:D$2,A3:D3)
    copy down as far as needed

  5. #5
    Registered User
    Join Date
    04-21-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Formula to multiply units of section sizes

    Thanks Teethless mama,
    When you say copy down as far as needed, I would need to copy the formula into each cell in column E? and change the A3 B3 C3 D3 to A4 B4 C4 D4 and so on?

+ 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