+ Reply to Thread
Results 1 to 24 of 24

Need help totaling based on selections

  1. #1
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Need help totaling based on selections

    Mix ID Calculator.xlsx
    I need help from the experts. First of all new to this forum. Thank you for your time. I have attached a snapshot of a table that I made to compute a total cost of a mix ID base off the base price, add-ons selected (multiple can be added) and the distance. I would like the cost of the mix ID to be based off the base price which changes on occasion. The snapshot only shows a sample of data. The COM301510 is the base mix reflecting the base price. So for example:

    I select COM351510. If the base price is $121, add + $5 because COM351510 is selected which = $126
    I want to add 'Air' to the COM351510. $126 + $3 = $129. I also want to add 'HRWR'. $129 + $5 = $134
    Lastly, I add the distance which in this case is 11-20 miles. $134 + $5 = $139 would display in the Total cell.

    The add-on cell will need to be checkboxes so that more then one add-on can be selected if needed. Also, I need the prices to be dynamic because they change on occasion as well.

    Thank you for any feedback you can provide.

    Brian
    Last edited by BrianHenson; 03-09-2024 at 07:51 AM. Reason: added workbook

  2. #2
    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,879

    Re: Need help totaling based on selections

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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.

  3. #3
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Need help totaling based on selections

    I use a combination of LOOKUP and SUMIF formulas to total sum:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Range T7:T11 is used for the selection boxes
    Please check if this works for you.

    Good luck!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Re: Need help totaling based on selections

    Thanks Estevaoba. How can I add values to columns such as MixID and Distance if I want to expand my options?

  5. #5
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Need help totaling based on selections

    You're welcome.

    Please update your sample with the additions you have in mind.

  6. #6
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Re: Need help totaling based on selections

    Estevaoba, here are the updated additions in Mix ID Calculator-BDH.xlsx. Thank you.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Need help totaling based on selections

    You could try this and named tables.

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

  8. #8
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Need help totaling based on selections

    Hi.

    I have updated the ranges in the formula to go down to row 100, but you can tweak it as required.

    I hope this helps.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Re: Need help totaling based on selections

    Thank you both. I will look at each of your examples and get back to you. I appreciate your expertise.

  10. #10
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Re: Need help totaling based on selections

    DJunqueira, I was wondering if you could modify the way column A works. I have attached a revised spreadsheet that hopefully you can understand. Basically instead of putting a currency value in A7, I want to have a dropdown with T1, T2 and T3. When I select T1, the value indicated in cell Q5 displays in A7. Likewise, if I select T2 the value in Q6 will be displayed in A7. Same for T3, the value in Q7 will display in A7 when selected. The new spreadsheet I uploaded is addtier.xlsx. Thank you again for the help.

  11. #11
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Need help totaling based on selections

    The file didn't upload.

  12. #12
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Re: Need help totaling based on selections

    DJunqueria here is the file....
    Attached Files Attached Files

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

    Re: Need help totaling based on selections

    Cell N7 formula

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

  14. #14
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Need help totaling based on selections

    Ok, I added the Tier and a new tab with the price tables.

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

  15. #15
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Re: Need help totaling based on selections

    That is exactly what I was looking for. Thanks. I have attached another revision where I duplicated the two tabs and relabeled them for a residential need. Unfortunately, the residential selection tab is pulling from the commercial price tab and not the residential price tab. What am I needing to change?
    Attached Files Attached Files

  16. #16
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Need help totaling based on selections

    Ok, done.
    Don't leave the tables with blank rows.
    All the tables and consequently formulas for Residential now end with Res.

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

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

    Re: Need help totaling based on selections

    worksheet or Tab name : Commercial Selection Tab

    Cell N7 formula

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

  18. #18
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Re: Need help totaling based on selections

    Thank you!!!

  19. #19
    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,879

    Re: Need help totaling based on selections

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

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

  20. #20
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Need help totaling based on selections

    Tks for the feedback, glad to have helped.

  21. #21
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Need help totaling based on selections

    To add new values to the table go to the bottom right corner and press [TAB].
    For the add on table you will need also to add a new column to be marked. Go to column 'M', add new column, select L6:L7 and drag them to the side, right click the new selection box in M7 and choose Format Control, then link the control to $M$7 cell.
    In the formula now in O7 adjust the part TRANSPOSE($C$7:$M$7) to reflect the new option.
    Last edited by DJunqueira; 03-18-2024 at 12:52 PM.

  22. #22
    Registered User
    Join Date
    03-08-2024
    Location
    Texas
    MS-Off Ver
    365
    Posts
    9

    Re: Need help totaling based on selections

    Hello Junqueira. I have attached the spreadsheet once again. If you will notice on the commercial price tab, I added 900S to the mix ID table. However, the 900S does not appear in the dropdown list on the commercial selection tab. What am I doing wrong? Thank you
    Attached Files Attached Files

  23. #23
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Need help totaling based on selections

    You was right, it wasn't adding the new element, but now I hard coded it and it will.

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

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

    Re: Need help totaling based on selections

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

+ 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] Totaling multiple colm based on date
    By jscalem in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-22-2015, 11:39 AM
  2. [SOLVED] Noob Totaling rows based on Column heading
    By Ifunk in forum Excel General
    Replies: 8
    Last Post: 03-26-2015, 02:56 PM
  3. [SOLVED] Totaling Donors based on Honoree
    By Norine in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-08-2014, 09:08 AM
  4. Replies: 5
    Last Post: 08-21-2013, 12:55 PM
  5. Totaling based on search criteria
    By a13foxtrot in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-15-2012, 11:19 PM
  6. Totaling Revenue based on Source
    By jonhunt in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-16-2007, 11:40 AM
  7. [SOLVED] Totaling amounts based on duration
    By [email protected] in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-13-2006, 10:45 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