+ Reply to Thread
Results 1 to 7 of 7

Making certain quantities a set?

  1. #1
    Registered User
    Join Date
    04-07-2020
    Location
    Abu Dhabi
    MS-Off Ver
    365
    Posts
    6

    Making certain quantities a set?

    Hi all,

    Firstly let me introduce myself - my name is Andrew and terrible at Excel! lol.

    I've been searching for an answer on google but cannot find really what I'm after as I probably not typing it correctly and I thought, let me check for a Forum and here I am.

    My question is:

    I have a spreadsheet with hundreds of parts and it is single items on each row... a certain amount of items will make up a set.

    I'd like to be able to punch in how much we have of each part but at the end I would like to have "i have "X" number of sets in stock.

    for example:

    I have 5 bananas and 5 apples and I need to make a fruit basket, each basket will only hold 2 banana and 2 apple - i only have enough bananas and apples for 2 baskets.

    Can anyone help with a formula?

    Thanks,
    Andrew

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Making certain quantities a set?

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    04-07-2020
    Location
    Abu Dhabi
    MS-Off Ver
    365
    Posts
    6

    Re: Making certain quantities a set?

    Hi Pepe,

    Thanks!

    I have made something to show what I am looking for - hopefully it is sufficient enough.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Making certain quantities a set?

    Hello andrew.ralston98 and Welcome to Excel Forum.
    Try the following formulas
    For the standard basket: =INT(MIN(Table2[QTY in stock]/E3:E6))
    For the premium basket: =INT(MIN(Table2[QTY in stock]/F3:F6))
    For the VIP basket: =INT(MIN(Table2[QTY in stock]/G3:G6))
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    04-07-2020
    Location
    Abu Dhabi
    MS-Off Ver
    365
    Posts
    6

    Re: Making certain quantities a set?

    Thanks! It works on the spreadsheet I attached, much appreciated.

    Now it's trying to get it onto the correct spreadsheet.

    How did you go about doing that? with the table2[qty in stock]?

    I've been trying to implement it into the spreadsheet but don't understand it
    Last edited by AliGW; 04-12-2020 at 05:12 AM. Reason: Please don't quote unnecessarily!

  6. #6
    Registered User
    Join Date
    04-07-2020
    Location
    Abu Dhabi
    MS-Off Ver
    365
    Posts
    6

    Re: Making certain quantities a set?

    See attached Spreadsheet, I'm looking for the same but explained how to get there if possible.
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: Making certain quantities a set?

    The problem seems to be the merged & centered cells. Those should probably only be used when they will not be involved in further calculations. Even then Alignment (Ctrl 1) > Center across selection is a better option (IMO).
    1. Paste the following into cell A4 and double click the fill handle to copy down to A34: =IF(B4="",A3,B4)
    2. Paste the following into cell J4 and copy down: =MINIFS(G$4:G$34,A$4:A$34,I4)/MAXIFS(F$4:F$34,A$4:A$34,I4)
    Note that the formula for column A could be placed in another column and/or hidden for aesthetic purposes.
    Let us know if you have any questions.

+ 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 quantities
    By JBR9999 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-25-2015, 11:00 AM
  2. [SOLVED] I want to manage quantities automatically on making sale/purchase reciept
    By Umair.711 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2012, 02:00 PM
  3. Comparison dates and quantities with other dates and quantities
    By elevisse in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-12-2012, 02:27 AM
  4. Making a chart calculate quantities
    By All InstinX in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-05-2009, 05:36 PM
  5. formula for quantities
    By kayjohnson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-07-2008, 11:24 AM
  6. Different quantities of a certain item...
    By JDellenger in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  7. Different quantities of a certain item...
    By JDellenger in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10: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