+ Reply to Thread
Results 1 to 9 of 9

List items based on quantity

  1. #1
    Registered User
    Join Date
    11-27-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    8

    List items based on quantity

    Hi all,

    Wondered if someone would be able to advise on the following.
    I have a list of items which will be used for an order or kitting sheet.
    What I want to do is pull across the quantity and description from the item list to the kitting sheet but only if the quantity value is greater than 0 (1 and above).

    I have had a play around with IFERROR, but I just can't seem to crack it, and admittedly this is probably a little out of my league!

    If anyone could advise I would be very grateful!

    Sorry for some reason I can't attach the file but link to drop box here:
    https://www.dropbox.com/s/tg6ns5efms...heet.xlsx?dl=0

    Thanks in advance,

    Andy
    Last edited by AndyG0; 02-18-2017 at 03:37 PM.

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

    Re: List items based on quantity

    The following formulas should do what you want. To populate the Item Descriptions use the array entered formula*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    To populate the Qty's use the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    *Array entered formulas are activated by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Note: Array entered formulas won't work in merged cells (at least in v.2010), therefore in the attached copy of the file I used the 'Center across selection' from the Home tab > Number pane > Alignment tab.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    11-27-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    8

    Re: List items based on quantity

    Hi JeteMC,

    That's fantastic, thank you very much indeed!

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

    Re: List items based on quantity

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

  5. #5
    Registered User
    Join Date
    11-27-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    8

    Re: List items based on quantity

    Hi JeteMc,

    Thanks again for your help with this.
    I have hit one slight hurdle in that occasionally the quantity amount needs to be a minus number.
    I can't seem to workout how to add this into the Formula?
    At the moment it points to a cell which dictates it to be greater than 0.1. What I need to add is that it will also fill the line if it is less than -0.1.

    Hope that makes sense and I appreciate your help!

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

    Re: List items based on quantity

    This modification to the array entered formula* in C12 and down (Kitting sheet, file attached to post #2) will index based on the absolute value of the quantities in the Items sheet:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    *See post #2.
    Let us know if you have any questions.

  7. #7
    Registered User
    Join Date
    11-27-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    8

    Re: List items based on quantity

    Hi JeteMC,

    I have noticed that the B column for the quantity, doesn't display the negative number. Is it possible to adjust this formula too which is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Thanks again for all your help, I really appreciate it

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

    Re: List items based on quantity

    Pretty sure that has to do with the formatting of the cells in column B. Change the format from custom ( 0;;;@ ) to General.
    Let us know if you have any questions.

  9. #9
    Registered User
    Join Date
    11-27-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    8

    Re: List items based on quantity

    That's it! Perfect!
    I can't thank you enough!

    All the best

+ 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. Help with finding items in a List and adding items not found
    By DawaiDost in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-29-2016, 10:56 AM
  2. [SOLVED] To compare a list of items in column ? with items in all columns that are not blank.
    By JamesJohnson31 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-03-2015, 03:32 PM
  3. Listbox, Need to change number of items in List (not the items)
    By Kalithro in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-14-2013, 09:23 PM
  4. Replies: 1
    Last Post: 09-03-2012, 10:03 PM
  5. Data Validation: items in one list relate to items in another
    By Paul D. Simon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-04-2005, 05:05 PM
  6. Replies: 1
    Last Post: 06-24-2005, 12:21 AM
  7. [SOLVED] Items in disabled items list - unknown excel addins causing probs
    By Rich in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-16-2005, 06:06 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