+ Reply to Thread
Results 1 to 10 of 10

Populating a list

  1. #1
    Registered User
    Join Date
    02-11-2022
    Location
    Blackpool, England
    MS-Off Ver
    Excel 2201
    Posts
    5

    Populating a list

    Hello, please could somebody help me.

    I run an events planning business and I was wondering if it was possible to populate a prep list from an invoice?

    For example, one of our centerpieces includes a variety of vases. 1 x XL, 3 x 50cm, 3 x 10.5" & 6 x 7.5". We call this an XL candle cluster.

    I was hoping that is would be possible that if I put the number of XL candle clusters required for that event it would populate a list to tell me exactly how many of each vase I would require.

    Thank you

  2. #2
    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: Populating a list

    You need a table with the "Product" e.g. Candle Cluster in first column and in subsequent columns all the components (e.g Types of Vases) and corresponding quantities which are part of a "Product".

    Can you put together a sample table as above and then attach your sample workbook: see yellow at top of page on how to attach a workbook.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Populating a list

    Please upload a workbook that shows

    a) A table of all your candle clusters / centrepieces which shows how many different vases are needed for each and the size of each vase
    b) Manually add a couple of examples of what you would enter as the number of clusters and EXACTLY what you would wish to see as a result. Make clear notes as to why you have arrived at the result.

    i.e. we wish to see what you start with and what you want to see
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    02-11-2022
    Location
    Blackpool, England
    MS-Off Ver
    Excel 2201
    Posts
    5

    Re: Populating a list

    Hi John,

    Thank you for a quick response. Please see my example of a few product we offer. Hope this is okay.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-11-2022
    Location
    Blackpool, England
    MS-Off Ver
    Excel 2201
    Posts
    5

    Re: Populating a list

    Hi Richard,

    Thank you for your quick response. I will work on something now to show you what I am after and upload it soon.

  6. #6
    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: Populating a list

    See attached as an example (illustration of the general approach).

    You will probably have the first table on a separate sheet to that of the "output" but such changes are easy to accommodate.

    A1:K5 is the Product/Item table with Items as Column Headers

    A8:K11 is sample output for Qty in Column B for Product in A

    in C8

    =$B8*INDEX($C$2:$K$5,MATCH($A8,$A$2:$A$5,0),COLUMNS($A$1:A$1))

    Copy across and down.

    Hope this helps.
    Attached Files Attached Files
    Last edited by JohnTopley; 02-11-2022 at 02:44 PM.

  7. #7
    Registered User
    Join Date
    02-11-2022
    Location
    Blackpool, England
    MS-Off Ver
    Excel 2201
    Posts
    5

    Re: Populating a list

    Hi Richard,

    Sorry for the delay. Please see attached. I hope this helps you to see what i am after. Obviously, this is a shorter, less formatted version but that shouldn't change the initial formula required.

    Many thank for your help

    Emma
    Attached Files Attached Files

  8. #8
    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: Populating a list

    In W6 and copy down

    =SUMPRODUCT(($F$5:$S$8)*($F$4:$S$4=$V6)*($C$5:$C$8))
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    02-11-2022
    Location
    Blackpool, England
    MS-Off Ver
    Excel 2201
    Posts
    5

    Re: Populating a list

    Thanks John,

    That's great but i wondering if i could be triggered somehow my the item name.

    I probably should of been more clear.

    Of course, each invoice will be different so what i'm thinking is that if you type 'XL Candle Cluster' it will find it in the Item List and the populate a picking list. Does this make sense? Sorry if i'm being a pain.

  10. #10
    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: Populating a list

    I used a helper row 2 F:S: you can hide by setting font colour to White (as in attached)

    in V6

    =IFERROR(INDEX($F$4:$S$4,AGGREGATE(15,6,ROW($A$1:$A$50)/($F$2:$S$2="x"),1),ROWS($1:1)),"")

    Copy down
    Attached Files Attached Files

+ 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] Macro for populating various list from master list
    By buvanamali in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-13-2022, 10:48 PM
  2. [SOLVED] populating a 434 row list that excludes one row from a 435 row list 435 times.
    By csutera in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2014, 11:42 AM
  3. [SOLVED] Populating List based on a Value chosen from another List of Values
    By Vinod Krishna.C in forum Excel General
    Replies: 3
    Last Post: 02-03-2014, 07:26 AM
  4. [SOLVED] Need Help Populating A Master List For Wedding Invite List
    By cdwelch4 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2013, 07:01 PM
  5. Need Help Populating A Master List For Wedding Invite List
    By cdwelch4 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-23-2013, 01:10 PM
  6. Userforms - Populating a List box with Some List Items already selected
    By chuckie200 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2013, 07:06 AM
  7. Replies: 2
    Last Post: 06-14-2011, 02:55 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