+ Reply to Thread
Results 1 to 15 of 15

Need help asap- i need to add items to the parent item using a formula

  1. #1
    Registered User
    Join Date
    11-09-2016
    Location
    Derby
    MS-Off Ver
    Excel
    Posts
    16

    Need help asap- i need to add items to the parent item using a formula

    Good afternoon guys,

    Most of my products (Beds, Wardrobes etc) come in more than 1 box and i need to add up the complete items to the additional spare boxes in the inventory.

    For example- a complete phoenix ottoman bed is 5 boxes. However, if i have 500 Complete beds (500 X BOX1, BOX2, BOX 3, BOX 4 + BOX 5) and an additional 43 BOX 1's and 62 BOX 4's, all together i have 543 BOX1's and 562 BOX 4's.

    Please see attached spreadsheet. I have split the products into alphabetical order. I just need a formula which will add the spare boxes to the complete item to work out the overall amount of boxes as my software (NAV) doesnt do this.

    I have tried explaining this the best i can i know its abit confusing.

    Your help will be greatly appreciated!!

    Kind Regards

    Chris
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Need help asap- i need to add items to the parent item using a formula

    i think i need to see the before and after


    Kind regards
    Leo

  3. #3
    Registered User
    Join Date
    11-09-2016
    Location
    Derby
    MS-Off Ver
    Excel
    Posts
    16

    Re: Need help asap- i need to add items to the parent item using a formula

    Hi Leo,

    I've attached the spreadsheet in question.

    I just need to add the boxes adding to the complete product if that makes sense?

    Cheers

  4. #4
    Registered User
    Join Date
    11-09-2016
    Location
    Derby
    MS-Off Ver
    Excel
    Posts
    16

    Re: Need help asap- i need to add items to the parent item using a formula

    Hi Leo,

    I've attached the spreadsheet in question.

    I just need to add the boxes adding to the complete product if that makes sense?

    Cheers

  5. #5
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Need help asap- i need to add items to the parent item using a formula

    Like this ?

    Before
    PHOTB46OAK 135CM PHOENIX OTTOMAN BED OAK 150
    PHOTB46OAK-0-BX1 135CM PHOENIX OTTOMAN BED OAK - BOX 1 0
    PHOTB46OAK-0-BX2 135CM PHOENIX OTTOMAN BED OAK - BOX 2 5
    PHOTB46OAK-0-BX3 135CM PHOENIX OTTOMAN BED OAK - BOX 3 5
    PHOTB46OAK-0-BX4 135CM PHOENIX OTTOMAN BED OAK - BOX 4 3
    PHOTB46OAK-0-BX5 135CM PHOENIX OTTOMAN BED OAK - BOX 5 8

    After
    PHOTB46OAK 135CM PHOENIX OTTOMAN BED OAK 171

  6. #6
    Registered User
    Join Date
    11-09-2016
    Location
    Derby
    MS-Off Ver
    Excel
    Posts
    16

    Re: Need help asap- i need to add items to the parent item using a formula

    Hi Leo,

    No sorry. Like this;

    Item Number Product description Inventory Actual inventory
    PHOTB46OAK 135CM PHOENIX OTTOMAN BED OAK 150 150 (complete)
    PHOTB46OAK-0-BX1 135CM PHOENIX OTTOMAN BED OAK - BOX 1 3 153
    PHOTB46OAK-0-BX2 135CM PHOENIX OTTOMAN BED OAK - BOX 2 5 155
    PHOTB46OAK-0-BX3 135CM PHOENIX OTTOMAN BED OAK - BOX 3 5 155
    PHOTB46OAK-0-BX4 135CM PHOENIX OTTOMAN BED OAK - BOX 4 3 153
    PHOTB46OAK-0-BX5 135CM PHOENIX OTTOMAN BED OAK - BOX 5 8 158

    Hope this makes sense.

    Cheers

  7. #7
    Registered User
    Join Date
    11-09-2016
    Location
    Derby
    MS-Off Ver
    Excel
    Posts
    16

    Re: Need help asap- i need to add items to the parent item using a formula

    Hi Leo,

    Please see attached picture. Hope this makes sense.

    Cheers
    Attached Images Attached Images

  8. #8
    Registered User
    Join Date
    11-09-2016
    Location
    Derby
    MS-Off Ver
    Excel
    Posts
    16

    Re: Need help asap- i need to add items to the parent item using a formula

    please see below comment cheers

  9. #9
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Need help asap- i need to add items to the parent item using a formula

    With this code result go to sheet2
    see this is present or change in code

    Please Login or Register  to view this content.
    Kind regards
    Leo

  10. #10
    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: Need help asap- i need to add items to the parent item using a formula

    Edit Never mind this post. I see it, now.

    Item Number Product description Inventory Actual inventory
    The applying filter to the sample what results do you expect?


    Row\Col
    A
    B
    C
    1
    No. Description Inventory
    1933
    PHOTB46OAK 135CM PHOENIX OTTOMAN BED OAK
    150
    1934
    PHOTB46OAK-0-BX1 135CM PHOENIX OTTOMAN BED OAK - BOX 1
    0
    1935
    PHOTB46OAK-0-BX2 135CM PHOENIX OTTOMAN BED OAK - BOX 2
    5
    1936
    PHOTB46OAK-0-BX3 135CM PHOENIX OTTOMAN BED OAK - BOX 3
    5
    1937
    PHOTB46OAK-0-BX4 135CM PHOENIX OTTOMAN BED OAK - BOX 4
    3
    1938
    PHOTB46OAK-0-BX5 135CM PHOENIX OTTOMAN BED OAK - BOX 5
    8
    Last edited by FlameRetired; 11-09-2016 at 01:43 PM.
    Dave

  11. #11
    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: Need help asap- i need to add items to the parent item using a formula

    Try array entering this formula in D2 and filling down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.

    I haven't done a painstaking check of the results. What I have checked stands up I believe.

  12. #12
    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: Need help asap- i need to add items to the parent item using a formula

    I've had a chance to do a more thorough check of the results of my post #11.

    It has some anomalies.

    When the non-zero count of the full sets equals a BOX count the BOX count fails to add. I only found this on a handful of sets. Mostly they have a full set count of 1. There is one with a count of 2 and another of 4 where this happens. I haven't found a work around for this or found any other instances.

    Also there is some inconsistency in the format of Descriptions. The full sets occasionally have a "-" in them. My formula relies upon them being in the subsequent BOX items only, and when it happens the results are unpredictable. Fortunately there are very few of them. Again I haven't found a work around for this.

  13. #13
    Registered User
    Join Date
    11-09-2016
    Location
    Derby
    MS-Off Ver
    Excel
    Posts
    16

    Re: Need help asap- i need to add items to the parent item using a formula

    Wow, i am extremely impressed.

    Thank you so much- you should be very proud of yourself.

    I appreciate your help so much.

    Kind Regards

    Chris

  14. #14
    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: Need help asap- i need to add items to the parent item using a formula

    Chris,

    You are welcome. Glad to hear it helped.

    Thank you for the feedback, kind words and the rep.

    Dave

  15. #15
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Need help asap- i need to add items to the parent item using a formula

    same same same same same same

+ 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: 2
    Last Post: 02-23-2015, 05:26 PM
  2. [SOLVED] Macro in excel for converting forecast Child Item (BoM) to Parent Item (SKU)
    By dev.jajati in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-19-2014, 06:09 AM
  3. [SOLVED] Lookup parent then collect sub items
    By bentod in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 06-06-2014, 09:38 AM
  4. Unable to get the parent item property in a Pivot table using VBA
    By nickthequick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-29-2014, 05:31 AM
  5. [SOLVED] Parent child relationships(working out parent item) for each item
    By grphillips in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-21-2013, 05:58 AM
  6. Replies: 4
    Last Post: 09-24-2012, 10:57 AM
  7. Replies: 2
    Last Post: 10-24-2008, 08:36 PM

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