+ Reply to Thread
Results 1 to 19 of 19

Sum products

  1. #1
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Sum products

    Hi,

    I have this parts (#1) with that prices (#2) and I would like to sum them to get the regular price (#3) for different variations of the end product (#4).

    2018-08-17 (2).jpg
    Attached Images Attached Images
    Last edited by Tine123456; 08-17-2018 at 09:27 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: Sum products

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    Hi, ok, how can I delete this post?

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Sum products

    Good afternoon Tine123456

    Don't delete this post. Click "Edit Post" beneath your first post, then follow Alan's instructions starting from "Click advanced...".

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  5. #5
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    Hi again ,

    I have a basic product costing 399€. I have 790 different variation of 8 parts that you can choose between and that adds or substrats to the end price.
    For example I would like to sum from A2 to H2 to get the price I2 of the end product (399 € + the value of the chosen products).

    Parts prices are next to every product name in the right table.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    Ok, thank you.

  7. #7
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Sum products

    Hi Tine123456

    Have a look at the file below.
    I have used "helper columns" (R - Y) to demonstrate what you need to do, you could amend these into one larger formula, but it would be tricky if you ever need to amend it.
    You also have some Charging Cables that need incorporating into your cost table - see the error in cells R8 - R10.

    HTH

    DominicB
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    Hi DominicB

    I had to correct the part of the VLOOKUP formula from $O$27 to $N$28 to resolve the #N/A issue (btw thank you for the formula). I also understand you made a 2nd formula of summing the price results from the "helper column", great stuff.

    How can I add 399€ on top of my end result. Is this a sum in sum formula or something?
    Last edited by Tine123456; 08-20-2018 at 03:33 AM. Reason: wrong formula*

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Sum products

    This is not a correct reference:

    N$27$

    This is correct:

    $N$27
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  10. #10
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    I correct it, thank you!
    Last edited by Tine123456; 08-20-2018 at 03:33 AM.

  11. #11
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Sum products

    Hi Tine123456
    Quote Originally Posted by Tine123456 View Post
    How can I add 399€ on top of my end result.
    You mentioned this €399 value back in post 5, but I can't see it in your file anywhere? How do you get €399?

    DominicB

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

    Re: Sum products

    With a very minor change in your pricing table, using no helpers, in I2, copied down:

    =SUMPRODUCT(($M$6:$M$25=A$1:H$1)*($N$6:$N$25=A2:H2)*$O$6:$O$25)

    This will return the cumulative value of the "add ons". To get an overall total:

    =399+SUMPRODUCT(($M$6:$M$25=A$1:H$1)*($N$6:$N$25=A2:H2)*$O$6:$O$25)
    or use a cell reference to pick up the pre-add-on price.

    You may need ; instead of , as separators in these formulae.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  13. #13
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    399€ is the price of the basic product. Variations are result of the optional parts add on's. I have to write the end price (399+all additional parts) into the "regular price" area for each combo and upload the file into my WordPress document. It's just the way WordPress works.

    I summed your result and 399 with the same sum formula that you used, but I was wondering if there is a formula that combines your end result with 399 € at the same time?

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

    Re: Sum products

    Who are you talking to? Did you read post 12?

  15. #15
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    That's it! Big thanks Glenn!

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

    Re: Sum products

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  17. #17
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    I didn't at the time. I was replying to Dominic.

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

    Re: Sum products

    It's always a good idea to specify who you are replying to... saves confusion!!



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  19. #19
    Registered User
    Join Date
    08-17-2018
    Location
    Slovenia
    MS-Off Ver
    2016
    Posts
    12

    Re: Sum products

    Did it

+ 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: 8
    Last Post: 07-01-2016, 02:07 AM
  2. sorting products
    By onbekend2010 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 05-07-2016, 06:39 PM
  3. Replies: 6
    Last Post: 03-05-2016, 02:42 PM
  4. Formula to work out how many products among various products!
    By MissConfussed in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-02-2013, 02:24 PM
  5. [SOLVED] Sum Alternating Products
    By rodich in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-16-2011, 04:35 AM
  6. Add up like products from a spreadsheet
    By dupperco in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-23-2009, 12:49 AM
  7. [SOLVED] Products
    By Gene in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-20-2005, 08:07 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