+ Reply to Thread
Results 1 to 4 of 4

Product Qty- Bundles/Singles

  1. #1
    Registered User
    Join Date
    06-24-2022
    Location
    Tokyo, Japan
    MS-Off Ver
    Office 365
    Posts
    1

    Product Qty- Bundles/Singles

    I cannot Add The Singles and Bundles
    For Example I want to Sum 1B/20 (1 Box and 20 pieces) + 5B/40 (5 Boxes and 40 Pieces)
    What Formula can I Use to Solve This
    1B/20 + 5B/40 - 2B/12
    Output: 4B/48
    Attached Files Attached Files

  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,867

    Re: Product Qty- Bundles/Singles

    Welcome to the forum.

    You should have included expected results in your workbook and I suspect there is more to it, but try this for starters:

    =SUM(IFERROR(--LEFT($B4:$E4,FIND(" ",$B4:$E4)-1),0))&" Boxes/"&SUM(IFERROR(--MID($B4:$E4,FIND("/",$B4:$E4)+1,99),0))

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    A
    B
    C
    D
    E
    F
    4
    Apple Juice
    0
    0
    0
    0 pc
    0 Boxes/0
    5
    Iced Tea
    29 Box/27
    0
    3 Boxes
    26 Box/27
    58 Boxes/54
    6
    Bottle
    5
    0
    5
    0
    0 Boxes/0
    7
    Medicine Brand
    5 Box/36
    0
    8
    5Box/28
    5 Boxes/64
    8
    Vitamin
    7 Box/3
    0
    0
    7 Box/3
    14 Boxes/6
    9
    Wine
    1
    0
    0
    1
    0 Boxes/0
    10
    Ballpen
    2 Box/97
    0
    0
    2 Box/97
    4 Boxes/194
    11
    Pencil
    31 Bot/41
    0
    0
    31Bot/41
    31 Boxes/82
    Sheet: Sheet1
    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
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Product Qty- Bundles/Singles

    I suggest you re-format data as shown attached as your method is not good practice.

    Total using

    =SUMPRODUCT(($H5:$N5)*($H$4:$N$4="B"))

    =SUMPRODUCT(($I5:$O5)*($I$4:$O$4="P"))

    Much simpler
    Attached Files Attached Files
    Last edited by JohnTopley; 06-24-2022 at 04:02 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    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,867

    Re: Product Qty- Bundles/Singles

    Thank you for the rep.

    Glad to have helped.

+ 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. Calculator to compare prices of bundles vs single components
    By michaelrdaf in forum Excel General
    Replies: 4
    Last Post: 08-11-2021, 11:21 AM
  2. Find all bundles configurations & group them
    By patchulee in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 06-05-2019, 01:12 AM
  3. [SOLVED] create a field in the macro to generate the 24 formations of the singles
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-15-2019, 02:18 PM
  4. Apply lookup function on raw data in bundles
    By wsikandari in forum Excel General
    Replies: 1
    Last Post: 05-19-2017, 04:58 PM
  5. Separate the string = 1,1 1,1,1 1,1,1,1 1,1,1,1,1 and singles Each quadrant of
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-26-2016, 01:53 PM
  6. [SOLVED] Combining singles data records
    By sunman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2005, 08:05 AM
  7. Create a new list that singles out duplicate numbers
    By moglione1 in forum Excel General
    Replies: 1
    Last Post: 08-18-2005, 02:05 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