Formula Help Needed (With an over abundance of examples)

svcellular

Board Regular
Joined
Nov 17, 2015
Messages
75
This is a table from a sheet called "Activations Demo" - There are many tables with similar information in this sheet
I'm aware I may have put in more than enough columns, but my brain is broken.

12/1/20151989Cow
12/1/20151995Eagle
12/1/20151127Marko
12/2/2015420Polo
12/1/20151989Blue
12/1/20151995Black
12/1/20151127Red
12/2/2015420Purple
12/2/20151104Yellow
12/3/20151953Orange
12/3/20157651Indigo

<colgroup><col style="width: 120px"><col width="120"><col width="61"></colgroup><tbody>
</tbody>

This is a table labeled "Shipped" from a different sheet labeled "ESN List Demo"

10/23/2015BM-LGLS751Orange
10/23/2015BM-LGLS751Monkey
10/23/2015BM-LGLS751Dog
10/23/2015BM-LGLS751Red
10/23/2015BM-MOT1526Blue
10/23/2015BM-MOT1526Cow

<colgroup><col style="width: 93px"><col width="84"><col width="138"></colgroup><tbody>
</tbody>

This is what I'd like done in the new table labeled "Inventory" also in the "ESN List Demo" sheet

Insert A1 from "Shipped" Table if C1 from "Shipped" table is found anywhere in "Activations Demo" SheetB1 from "Shipped" Table if C1 from "Shipped" table is found anywhere in "Activations Demo" SheetC1 from "Shipped" Table only if the same value is found on any table in "Activations" Sheet
Insert A2 from "Shipped" Table if C2 from "Shipped" table is found anywhere in "Activations Demo" SheetB2 from "Shipped" Table if C2 from "Shipped" table is found anywhere in "Activations Demo" SheetC2 from "Shipped" Table only if the same value is found on any table in "Activations" Sheet
Insert A3 from "Shipped" Table if C3 from "Shipped" table is found anywhere in "Activations Demo" SheetB3 from "Shipped" Table if C3 from "Shipped" table is found anywhere in "Activations Demo" SheetC3 from "Shipped" Table only if the same value is found on any table in "Activations" Sheet

<colgroup><col style="width: 120px"><col width="120"><col width="120"></colgroup><tbody>
</tbody>


This is what "Inventory" would look like with the correct formula

10/23/2015BM-LGLS751Orange
10/23/2015BM-LGLS751Red
10/23/2015BM-MOT1526Blue
10/23/2015BM-MOT1526Cow

<colgroup><col style="width: 120px"><col width="120"><col width="120"></colgroup><tbody>
</tbody>
I know there will be blank rows in the above table as well, but I think I've overdone this post as it is.

Might have been an easier way to go about explaining this and giving examples, but I'm new to this stuff, so sorry if I over or under explained anything.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
It sounds like INDEX/MATCH will do what you want:


Book1
ABCDEF
1Shipped DateOrder #ProductActivatedQuantityProduct2
210/23/15BM-MOT1526Cow12/01/151989Cow
3   12/01/151995Eagle
4   12/01/151127Marko
5   12/02/15420Polo
610/23/15BM-MOT1526Blue12/01/151989Blue
7   12/01/151995Black
810/23/15BM-LGLS751Red12/01/151127Red
9   12/02/15420Purple
10   12/02/151104Yellow
1110/23/15BM-LGLS751Orange12/03/151953Orange
12   12/03/157651Indigo
Activations Demo
Cell Formulas
RangeFormula
A2=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A3=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A4=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A5=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A6=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A7=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A8=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A9=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A10=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A11=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
A12=IFERROR(INDEX(Shipped[Order Date],MATCH([@Product2],Shipped[Product],0),0),"")
B2=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B3=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B4=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B5=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B6=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B7=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B8=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B9=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B10=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B11=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
B12=IFERROR(INDEX(Shipped[Order '# ],MATCH([@Product2],Shipped[Product],0),0),"")
C2=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C3=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C4=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C5=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C6=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C7=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C8=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C9=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C10=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C11=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")
C12=IFERROR(INDEX(Shipped[Product],MATCH([@Product2],Shipped[Product],0),0),"")


Note that you said you're set up with tables, so the example uses tables.

If you want to PM me your e-mail address I'll send you the example.

HTH,
 
Upvote 0
Almost, but I want to not show anything in the row if the product doesn't match.

I'm going to further over explain even though I know there's probably a much simpler way.

"Shipped" is an ongoing list of phones that have been shipped to me. The product in these rows is the ESN of the phone in that row.
The "Activations" sheet is where salespeople list phones going out, and one of the cells in each row is the ESN of said phone.
"Inventory" which is a table in the same sheet as "Shipped" is where I'd like to filter out phones that have been sold (on multiple tables in the activations sheet) from the ones on the "Shipped" sheet.

Then if the ESN comes over, I'd like for date and product code (which is in the B column) to come over as well so that I can see what phones should still be in inventory.
 
Upvote 0

Forum statistics

Threads
1,215,103
Messages
6,123,112
Members
449,096
Latest member
provoking

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top