+ Reply to Thread
Results 1 to 11 of 11

MIN MAX using duplicate values across 3 sets of numbers

  1. #1
    Registered User
    Join Date
    11-08-2012
    Location
    here
    MS-Off Ver
    Excel 2013
    Posts
    10

    MIN MAX using duplicate values across 3 sets of numbers

    I searched the threads but came up empty on this issue.

    I am working on a sheet which has duplicate numbers in groups - Each Group has part a, part b and part c - all three are required to make 1 complete unit. However, Part A is shared among all groups. Based on inventory value of part A, finding the amount of parts I can build using part b and c (which uses different parts) is the goal. But I need to know the min max across all 3 sets as one number rather than 3 sets.

    The groups are in column A - the expected outcome is to find what the MIN amount i can build throughout all the groups. In my example below 764pcs can be build.

    Group 1
    Part A has 764pcs (shared)
    Part B has 0
    Part C has 4,339pcs
    Group 1 - I can't make any units

    Group 2
    Part A has 764pcs
    Part B has 0
    Part C has 1,903pcs
    Group 2 - I can't make any units

    Group 3
    Part A has 764pcs
    Part B has 4755pc
    Part C has 1,640pcs
    Group 3 - I can make 764pcs

    I need to be able to compare all 3 groups and determine only 764pc can be made.

    Thank you in advance for any time...

    Currently I am only using part A as the bases but only capturing 1 group.

  2. #2
    Forum Contributor jomaor1's Avatar
    Join Date
    10-08-2018
    Location
    Brasil
    MS-Off Ver
    Excel 2016
    Posts
    177

    Re: MIN MAX using duplicate values across 3 sets of numbers

    Hi,

    I just did a MIN function.

    Follow attached.

    Cheers!
    Attached Files Attached Files
    John.

    "I excel at jumping to conclusions"

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: MIN MAX using duplicate values across 3 sets of numbers

    Hi -

    This would be a lot easier if you would post a sample spreadsheet as I can't tell what cells you have your data in, how it's organized, etc. Nonetheless, couldn't you just simply take the MIN() of Parts A, B and C for each group to determine the number of units (If A, B, or C is 0, then you can't make any). If A is the smallest, then you can only make that many; if B is smallest, you can only make that many, if C is smallest...etc. And then SUM() for the three groups to get the total.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  4. #4
    Registered User
    Join Date
    11-08-2012
    Location
    here
    MS-Off Ver
    Excel 2013
    Posts
    10

    Re: MIN MAX using duplicate values across 3 sets of numbers

    Capture.JPG

    I can't get a spread-sheet to attach, issue with Java script. hopefully the image helps... the formula currently used is

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-08-2012
    Location
    here
    MS-Off Ver
    Excel 2013
    Posts
    10

    Re: MIN MAX using duplicate values across 3 sets of numbers

    I do have more below row 10... I have several areas with duplication parts within groups.
    Last edited by mrwiley; 12-02-2019 at 04:33 PM.

  6. #6
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: MIN MAX using duplicate values across 3 sets of numbers

    If you click on the Go Advanced button, then scroll down to Manage Attachments, then just follow the instructions to attach a file.

    I really can't tell what you have from the picture. I don't see any of the kinds of numbers you mentioned in your example in the first post. The formula refers to cells that are not in the picture.

  7. #7
    Registered User
    Join Date
    11-08-2012
    Location
    here
    MS-Off Ver
    Excel 2013
    Posts
    10

    Re: MIN MAX using duplicate values across 3 sets of numbers

    Quote Originally Posted by loginjmor View Post
    If you click on the Go Advanced button, then scroll down to Manage Attachments, then just follow the instructions to attach a file.

    I really can't tell what you have from the picture. I don't see any of the kinds of numbers you mentioned in your example in the first post. The formula refers to cells that are not in the picture.
    Thanks so much for the tip... that helped

    I should also mention I am looking at the KIT Column.
    Attached Files Attached Files
    Last edited by mrwiley; 12-02-2019 at 04:43 PM.

  8. #8
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: MIN MAX using duplicate values across 3 sets of numbers

    OK - I have your file. I can see you are getting the minimum number from Column J for your MIN/MAX in Column L. To get the total number from each group, wouldn't you now just simply SUM(L2:L10)? That would total 764 pieces. What am I missing?

  9. #9
    Registered User
    Join Date
    11-08-2012
    Location
    here
    MS-Off Ver
    Excel 2013
    Posts
    10

    Re: MIN MAX using duplicate values across 3 sets of numbers

    Yes, I tried making it simple - but simple is too simple. I think...

    I have 538 lines of parts some shared and some not. My goal is to look through column B for same part numbers and min/max those groups. from Column K into Column M. Some groups have 2 share parts and others have 4 and or 5. I want to simplify the independent formulas.

    My sheet sums by color using VBA, and if you see in my sheet I shared it has a slight gray. I need to distinguish unique counts to determine actual part availability. For example line 1 and line 9 both share Part A but line 1 can run 800pcs a shift and line 9 can run 1080pcs a shift. I need to determine the volume line 1 and line 9 can make using the common part.

    It's simple but complex. lol

  10. #10
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: MIN MAX using duplicate values across 3 sets of numbers

    OK - So let's see if I understand this:

    First: Line 1 is the first group of A, B, and C. Line 2 is the next group, and Line 3 is the next group. Line 9 is not included in the file you posted?

    Second: The amount listed under KIT is the total amount in column K less the amounts listed under the headings T, H, G, O? For example, row 2 of the spreadsheet is Part A for Line 1, the total of Part A is 9,366. KIT equals K2 - T2 - G2-H2-I2, which is 9366-735-3558-4309=764. Correct?

    Third: You want to know after Line 3 (Row 8) consumes 764 parts of Part A, Part B, and Part C how much is left to feed Lines 4 through 9? Is that what you're looking for?

  11. #11
    Registered User
    Join Date
    11-08-2012
    Location
    here
    MS-Off Ver
    Excel 2013
    Posts
    10

    Re: MIN MAX using duplicate values across 3 sets of numbers

    Good morning,

    The Kit column is ready for build, parts in previous columns is stages before kit (in process).

    the goal of the whole sheet is to know how many pcs across all parts I can build in a day (target). See attachment. Thanks again for taking your time to assist and give feedback and hopefully your ideas. : )

    The 1's and 0's in column C represent first instance the part number appeared in the sheet. The zero means duplicate of the first instance.
    Attached Files Attached Files
    Last edited by mrwiley; 12-03-2019 at 07:07 AM.

+ 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. Highlight different sets of duplicate values
    By chrisellis250 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-01-2019, 11:46 AM
  2. [SOLVED] Delete Duplicate Values by matching 2 sets of column
    By Ariff_Chowdhury in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-06-2018, 03:17 PM
  3. Concatenate cell values for duplicate numbers
    By jnowell in forum Excel General
    Replies: 5
    Last Post: 01-04-2016, 06:40 PM
  4. [SOLVED] Finding Row numbers of all duplicate values
    By Dj Duck in forum Excel General
    Replies: 6
    Last Post: 10-03-2015, 07:18 AM
  5. Replies: 20
    Last Post: 11-27-2014, 02:37 AM
  6. Remove duplicate values of sets of data vertically
    By acojan in forum Excel General
    Replies: 14
    Last Post: 08-28-2014, 08:23 PM
  7. [SOLVED] How to find duplicate values from two sets of data in excel 2010
    By ratu4110 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-30-2012, 04: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