[TABLE="width: 613"]
<TBODY>[TR]
[TD]Badge #</SPAN>[/TD]
[TD]Division</SPAN>[/TD]
[TD]Location Name</SPAN>[/TD]
[TD]Employee</SPAN>[/TD]
[TD]Product</SPAN>[/TD]
[TD]Count</SPAN>[/TD]
[TD]Date</SPAN>[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]14844</SPAN>[/TD]
[TD]403</SPAN>[/TD]
[TD]Denver 5</SPAN>[/TD]
[TD]Paul</SPAN>[/TD]
[TD]Apples</SPAN>[/TD]
[TD="align: right"]33</SPAN>[/TD]
[TD="align: right"]1/2/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14844</SPAN>[/TD]
[TD]403</SPAN>[/TD]
[TD]Denver 5</SPAN>[/TD]
[TD]Paul </SPAN>[/TD]
[TD]Bananas</SPAN>[/TD]
[TD="align: right"]55</SPAN>[/TD]
[TD="align: right"]1/1/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14844</SPAN>[/TD]
[TD]403</SPAN>[/TD]
[TD]Denver 7</SPAN>[/TD]
[TD]Paul</SPAN>[/TD]
[TD]Oranges</SPAN>[/TD]
[TD="align: right"]46</SPAN>[/TD]
[TD="align: right"]1/2/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14846</SPAN>[/TD]
[TD]106</SPAN>[/TD]
[TD]Seattle 4 </SPAN>[/TD]
[TD]Phil</SPAN>[/TD]
[TD]Apples</SPAN>[/TD]
[TD="align: right"]34</SPAN>[/TD]
[TD="align: right"]1/3/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14846</SPAN>[/TD]
[TD]106</SPAN>[/TD]
[TD]Seattle 4 </SPAN>[/TD]
[TD]Phil</SPAN>[/TD]
[TD]Bananas</SPAN>[/TD]
[TD="align: right"]34</SPAN>[/TD]
[TD="align: right"]1/3/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14846</SPAN>[/TD]
[TD]106</SPAN>[/TD]
[TD]Seattle 5</SPAN>[/TD]
[TD]Phil</SPAN>[/TD]
[TD]Bananas</SPAN>[/TD]
[TD="align: right"]45</SPAN>[/TD]
[TD="align: right"]1/5/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14850</SPAN>[/TD]
[TD]115</SPAN>[/TD]
[TD]Oakland 12</SPAN>[/TD]
[TD]Stan</SPAN>[/TD]
[TD]Oranges</SPAN>[/TD]
[TD="align: right"]42</SPAN>[/TD]
[TD="align: right"]1/5/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP>[/TABLE]
This is the current formula I am using: =VLOOKUP($D25,'AUG INV'!$D$2:$U$2500,COLUMN($A1:B1),FALSE)
This Formula is sorting through the data sheet, selecting by Location Name & then populating the corresponding data via the "Column" formula, however if say there is another data set with the SAME Location Name but a different Product, the Formula doesn't distinguish and just pulls the SAME data set again & again.
I am looking for a Formula that will search the Inventory data, pulling by Location Name and pulling ALL instances with variable product (if applicable); will the INDEX formula work with this?
Appreciate all the expertise and assistance.
Thanks!
<TBODY>[TR]
[TD]Badge #</SPAN>[/TD]
[TD]Division</SPAN>[/TD]
[TD]Location Name</SPAN>[/TD]
[TD]Employee</SPAN>[/TD]
[TD]Product</SPAN>[/TD]
[TD]Count</SPAN>[/TD]
[TD]Date</SPAN>[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]14844</SPAN>[/TD]
[TD]403</SPAN>[/TD]
[TD]Denver 5</SPAN>[/TD]
[TD]Paul</SPAN>[/TD]
[TD]Apples</SPAN>[/TD]
[TD="align: right"]33</SPAN>[/TD]
[TD="align: right"]1/2/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14844</SPAN>[/TD]
[TD]403</SPAN>[/TD]
[TD]Denver 5</SPAN>[/TD]
[TD]Paul </SPAN>[/TD]
[TD]Bananas</SPAN>[/TD]
[TD="align: right"]55</SPAN>[/TD]
[TD="align: right"]1/1/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14844</SPAN>[/TD]
[TD]403</SPAN>[/TD]
[TD]Denver 7</SPAN>[/TD]
[TD]Paul</SPAN>[/TD]
[TD]Oranges</SPAN>[/TD]
[TD="align: right"]46</SPAN>[/TD]
[TD="align: right"]1/2/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14846</SPAN>[/TD]
[TD]106</SPAN>[/TD]
[TD]Seattle 4 </SPAN>[/TD]
[TD]Phil</SPAN>[/TD]
[TD]Apples</SPAN>[/TD]
[TD="align: right"]34</SPAN>[/TD]
[TD="align: right"]1/3/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14846</SPAN>[/TD]
[TD]106</SPAN>[/TD]
[TD]Seattle 4 </SPAN>[/TD]
[TD]Phil</SPAN>[/TD]
[TD]Bananas</SPAN>[/TD]
[TD="align: right"]34</SPAN>[/TD]
[TD="align: right"]1/3/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14846</SPAN>[/TD]
[TD]106</SPAN>[/TD]
[TD]Seattle 5</SPAN>[/TD]
[TD]Phil</SPAN>[/TD]
[TD]Bananas</SPAN>[/TD]
[TD="align: right"]45</SPAN>[/TD]
[TD="align: right"]1/5/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: right"]14850</SPAN>[/TD]
[TD]115</SPAN>[/TD]
[TD]Oakland 12</SPAN>[/TD]
[TD]Stan</SPAN>[/TD]
[TD]Oranges</SPAN>[/TD]
[TD="align: right"]42</SPAN>[/TD]
[TD="align: right"]1/5/2012</SPAN>[/TD]
[TD][/TD]
[/TR]
</TBODY><COLGROUP><COL><COL><COL><COL><COL><COL><COL><COL></COLGROUP>[/TABLE]
This is the current formula I am using: =VLOOKUP($D25,'AUG INV'!$D$2:$U$2500,COLUMN($A1:B1),FALSE)
This Formula is sorting through the data sheet, selecting by Location Name & then populating the corresponding data via the "Column" formula, however if say there is another data set with the SAME Location Name but a different Product, the Formula doesn't distinguish and just pulls the SAME data set again & again.
I am looking for a Formula that will search the Inventory data, pulling by Location Name and pulling ALL instances with variable product (if applicable); will the INDEX formula work with this?
Appreciate all the expertise and assistance.
Thanks!