I'm trying to create a dynamic invoice in Excel. The dynamic part is that the user can pick which store the invoice is for from a list. I'm trying to get the available items to populate after the store is selected.
On one sheet of my workbook I have all different tables that define the stores, products, and what products each store carries (intersection records between the two). In my example "Corner Market" carries: all 4 products, but "Tim's Hardware" only stocks 1/2" washers and Drill Bit Sets.
I would like to generate a dynamic table like that in N5 and N23 in the linked screenshot whenever the user picks the proper store (N3 and N21). So the table should change as the Store Name value changes. (I'm only interested in generating one invoice but included 2 in the screenshot as an example.) The user can then enter the quantity values to generate each line item price and the invoice total amount.
I'm looking for advice on the best way to accomplish something like this. If possible I'm trying to avoid using VBA macros. I'm guessing a pivot table may be the solution, or maybe something with the data relationships (which I'm not too familiar with).
Screenshot: https://i.sstatic.net/ICZDW.png
Any help is appreciated - thanks in advance!