search two tables for criteria to populate third table
Hello -
I am very new to Numbers and the Support Communities. I have read help and searched this forum but cannot find a similar question. I appreciate any advice or suggestions.
I have created two numbers table from our client database, and am trying to process it as follows: (see example below)
Goal: Create a third table, that contains the invoice number, date, invoice total and owner state of residency, as long as the invoice DOES NOT contain certain invoice items.
In the example below, I made up invoice items ITEM-YES and ITEM-NO; there are actual items in the database that I want to look for and disregard those invoices that contain the ITEM-NO item all together.
Table 1 (invoice totals):
Invoice # Date Invoice Total Owner State
1 12/1/15 $800.00 NC
2 12/2/15 $125.00 FL
3 12/5/15 $300.00 NY
4 12/9/15 $500.00 CA
Table 2: (individual items that make up the invoice)
Invoice # Item Item Cost
1 ITEM-YES $200.00
1 ITEM-YES $100.00
1 ITEM-YES $500.00
2 ITEM-YES $25.00
2 ITEM-NO $100.00
3 ITEM-YES $300.00
4 ITEM-YES $400.00
4 ITEM-NO $100.00
The RESULTS table based on the above should look like:
Table Results:
Invoice # Date Invoice Total Owner State
1 12/1/15 $800.00 NC
3 12/5/15 $300.00 NY
Thank you very much for your advice and guidance.
MacBook Pro (13-inch Mid 2012), OS X El Capitan (10.11.3)