+ Reply to Thread
Results 1 to 6 of 6

Sum Text Values As Numbers and multiply each Number by a value in range of row

  1. #1
    Registered User
    Join Date
    03-02-2022
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Office 365
    Posts
    6

    Question Sum Text Values As Numbers and multiply each Number by a value in range of row

    I know the subject is very confusing. Let me try and explain
    Clipboard Picture (2022.11.02 16.17.11).png

    So essentially I am filling row 3 with text values which has a associated numerical value. For e.g. B3 = Low = 10. What I want to do is at the end is to have a formula for H3, where H3=(B3*B2)+(C3*C2)+(D3*D2)+(E3*E2)+(F3*F2)+(G3*G2)+....

    Please note that the number of column can increase so cannot be static. I was able to sum all values using the SUM, INDEX & MATCH function but not able to multiply each value by the Row above.

    Any and all help will be appreciated.

    I have attached the excel file for ease. This is case 1. In case 2 the B2 value is also text and needs lookup against a table.
    Attached Files Attached Files
    Last edited by UWK-87; 11-02-2022 at 01:31 AM.

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: Sum Text Values As Numbers and multiply each Number by a value in range of row

    Guess

    Try this formula

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

  3. #3
    Registered User
    Join Date
    03-02-2022
    Location
    Abu Dhabi, UAE
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Sum Text Values As Numbers and multiply each Number by a value in range of row

    Worked like a charm!!!!! Thank you. Can you please explain it as well, if it is not too much trouble?
    Last edited by AliGW; 11-02-2022 at 02:23 AM. Reason: Please DON'T quote unnecessarily!

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Sum Text Values As Numbers and multiply each Number by a value in range of row

    Or try this:

    =SUMPRODUCT(SUMIF(O3:O6,B3:G3,P3:P6)*B2:G2)

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,408

    Re: Sum Text Values As Numbers and multiply each Number by a value in range of row

    @UWK-87

    You're Welcome. Glad to help . Thank You for the feedback.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Sum Text Values As Numbers and multiply each Number by a value in range of row

    Quote Originally Posted by UWK-87 View Post
    Worked like a charm!!!!! Thank you. Can you please explain it as well, if it is not too much trouble?
    See if this site explains it:

    http://www.xldynamic.com/source/xld.SUMPRODUCT.html
    Dave

+ 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. Multiply a number by a sequence of numbers in a column
    By Modify_inc in forum Excel General
    Replies: 3
    Last Post: 09-08-2016, 05:28 PM
  2. Is there a way to multiply text with numbers?
    By limxingwei in forum Excel General
    Replies: 9
    Last Post: 01-28-2016, 05:25 AM
  3. Replies: 1
    Last Post: 05-14-2015, 09:27 AM
  4. Replies: 2
    Last Post: 11-26-2014, 12:41 PM
  5. Multiply numbers from text
    By T39m in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-03-2014, 04:01 PM
  6. [SOLVED] Find specific values and multiply them by a number in their column
    By Thomas92W in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-29-2014, 01:22 PM
  7. I need numbers in given cells to multiply by a constant number
    By normanluc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-27-2012, 12:16 AM

Tags for this Thread

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