INDEX and MATCH formula help - can't get range to expand, and trouble with multiple criteria

amyb2703

New Member
Joined
Aug 24, 2018
Messages
18
At my new job, I inherited a spreadsheet that displays features on our product orders. The order specs are uploaded into a tab name DATA in the file, and the spreadsheet on the main tab looks up items on the DATA tab and then marks X in the field on the main tab when it finds a match for that particular sales code. Results look like this:



Here is an example from column I.

=IFERROR(IF(N771="X","X",INDEX(
Data!$A$2:$N$2000​
,MATCH(1,(Data!$B$2:$B$2000=B771)*(Data!$I$2:$I$2000="TCO302"),0),14)),"")

My first issue is around finding multiple criteria (red item). Recently our product offerings have been increased, and we now have multiple sales codes in each category. The formula today looks for a single item to match and then inserts an "X" in the field. I need it to create the "X" in the field for multiple sales codes. In the example below for column I, it only inserts "X" when TCO302 is found. I need it to insert "X" when either TCO302 or TCO332 or TCO333 is found.


My second issue is increasing the range (green item). Currently the formula only looks for items through row 2000. Our business has grown, and I have order information that is beyond that. Seems like I should just be to change the $N$2000 to $N$5000 or whatever I like, but it doesn't seem to want to work.

Thanks in advance for any help!
 
Range 14 I believe is Column N that holds the "X" I'm looking for.

Data tab:

[TABLE="class: grid, width: 2018, align: center"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[TD]M
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD][/TD]
[TD]SO Number[/TD]
[TD]JOBSTATS[/TD]
[TD]Territory ID[/TD]
[TD]Dealer[/TD]
[TD]Order Date[/TD]
[TD]Order Week[/TD]
[TD]Promise Date[/TD]
[TD]Item[/TD]
[TD]Item Description[/TD]
[TD]REF1[/TD]
[TD]City[/TD]
[TD]SORTNO[/TD]
[TD]Column1[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]TCE32075M10002[/TD]
[TD]TCE32075[/TD]
[TD]TEMPLATE[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]4/24/2017[/TD]
[TD]17[/TD]
[TD="align: right"]4/24/2017[/TD]
[TD]M100021[/TD]
[TD]FST990 BASE PARTS LIST[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]10[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]TCE41550SLT-G3[/TD]
[TD]TCE41550[/TD]
[TD]ORDERED[/TD]
[TD]T-99[/TD]
[TD]STOCK[/TD]
[TD="align: right"]9/4/2018[/TD]
[TD]36[/TD]
[TD="align: right"]11/27/2018[/TD]
[TD]SLT-G3[/TD]
[TD]SLT Trailer - Custom Layout - G3[/TD]
[TD]T-99[/TD]
[TD][/TD]
[TD="align: right"]10[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]TCE41550TCO103[/TD]
[TD]TCE41550[/TD]
[TD]ORDERED[/TD]
[TD]T-99[/TD]
[TD]STOCK[/TD]
[TD="align: right"]9/4/2018[/TD]
[TD]36[/TD]
[TD="align: right"]11/27/2018[/TD]
[TD]TCO103[/TD]
[TD]G3-Rear Utility Box[/TD]
[TD]T-99[/TD]
[TD][/TD]
[TD="align: right"]20[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]TCE41550TCO915[/TD]
[TD]TCE41550[/TD]
[TD]ORDERED[/TD]
[TD]T-99[/TD]
[TD]STOCK[/TD]
[TD="align: right"]9/4/2018[/TD]
[TD]36[/TD]
[TD="align: right"]11/27/2018[/TD]
[TD]TCO915[/TD]
[TD]16CFM Compressor with 50' Air reel - UB KIT[/TD]
[TD]T-99[/TD]
[TD][/TD]
[TD="align: right"]30[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]TCE41550TCO502[/TD]
[TD]TCE41550[/TD]
[TD]ORDERED[/TD]
[TD]T-99[/TD]
[TD]STOCK[/TD]
[TD="align: right"]9/4/2018[/TD]
[TD]36[/TD]
[TD="align: right"]11/27/2018[/TD]
[TD]TCO502[/TD]
[TD]Electric / Hydraulic Jack[/TD]
[TD]T-99[/TD]
[TD][/TD]
[TD="align: right"]40[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]TCE41550TCO903[/TD]
[TD]TCE41550[/TD]
[TD]ORDERED[/TD]
[TD]T-99[/TD]
[TD]STOCK[/TD]
[TD="align: right"]9/4/2018[/TD]
[TD]36[/TD]
[TD="align: right"]11/27/2018[/TD]
[TD]TCO903[/TD]
[TD]MTT-G3 100 Gal DEF Tank and Pump[/TD]
[TD]T-99[/TD]
[TD][/TD]
[TD="align: right"]50[/TD]
[TD]X[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
What must happen if this formula bit you posted

MATCH(1,(Data!$B$2:$B$2000=B1026)*(Data!$I$2:$I$2000="TCO302"),0)

succeeds?
 
Upvote 0
Data Tab info - I have filtered for just a small section

[TABLE="class: grid, width: 2018"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[TD]M
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]SO Number[/TD]
[TD]JOBSTATS[/TD]
[TD]Territory ID[/TD]
[TD]Dealer[/TD]
[TD]Order Date[/TD]
[TD]Order Week[/TD]
[TD]Promise Date[/TD]
[TD]Item[/TD]
[TD]Item Description[/TD]
[TD]REF1[/TD]
[TD]City[/TD]
[TD]SORTNO[/TD]
[TD]Column1[/TD]
[/TR]
[TR]
[TD]TCE41494TCO500[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO500[/TD]
[TD]FST500 BASE PARTS LIST[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]10[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO102[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO102[/TD]
[TD]Rear Utility Box[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]20[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO104[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO104[/TD]
[TD]Can & Towel Rack[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]30[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO302[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO302[/TD]
[TD]40 GPM Gas Powered Pump[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]40[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO307[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO307[/TD]
[TD]10 Micron Filter System[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]50[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO303[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO303[/TD]
[TD]FUEL REEL, 35' STANDARD[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]60[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO510[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO510[/TD]
[TD]6 Bolt Aluminum / Standard Tires[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]70[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO501[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO501[/TD]
[TD]STANDARD JACK ASSEMBLY[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]80[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO806[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO806[/TD]
[TD]Front Box Five Drawer Tool Chest[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]90[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO907[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO907[/TD]
[TD]STANDARD FENDERS AND ROCK GUARD[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]100[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494TCO202[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO202-WT[/TD]
[TD]Custom Paint Color - WHITE[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]110[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41494Freigh[/TD]
[TD]TCE41494[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]Freight[/TD]
[TD]Freight Delivery Charge[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]120[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO500[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO500[/TD]
[TD]FST500 BASE PARTS LIST[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]10[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO102[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO102[/TD]
[TD]Rear Utility Box[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]20[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO914[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO914[/TD]
[TD]Comp/Gen w/ 50' Air/Elec Combo Reel[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]30[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO302[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO302[/TD]
[TD]40 GPM Gas Powered Pump[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]40[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO307[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO307[/TD]
[TD]10 Micron Filter System[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]50[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO303[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO303[/TD]
[TD]FUEL REEL, 35' STANDARD[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]60[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO510[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO510[/TD]
[TD]6 Bolt Aluminum / Standard Tires[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]70[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO501[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO501[/TD]
[TD]STANDARD JACK ASSEMBLY[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]80[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO907[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO907[/TD]
[TD]STANDARD FENDERS AND ROCK GUARD[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]90[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493TCO202[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO202-GY[/TD]
[TD]Standard Paint Color - GRAY[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]100[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41493Freigh[/TD]
[TD]TCE41493[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]Freight[/TD]
[TD]Freight Delivery Charge[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]110[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41492TCO750[/TD]
[TD]TCE41492[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO750EV[/TD]
[TD]EV750 BASE PARTS[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]10[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41492TCO202[/TD]
[TD]TCE41492[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO202-GY[/TD]
[TD]Standard Paint Color - GRAY[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]20[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41492TCO510[/TD]
[TD]TCE41492[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO510[/TD]
[TD]6 Bolt Aluminum / Standard Tires[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]30[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41492Freigh[/TD]
[TD]TCE41492[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]Freight[/TD]
[TD]Freight Delivery Charge[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]40[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41491TCO500[/TD]
[TD]TCE41491[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO500[/TD]
[TD]FST500 BASE PARTS LIST[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]10[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD]TCE41491TCO302[/TD]
[TD]TCE41491[/TD]
[TD]ORDERED[/TD]
[TD]T-7[/TD]
[TD]Midland Tractor - Madera[/TD]
[TD="align: right"]8/30/2018[/TD]
[TD]35[/TD]
[TD="align: right"]10/4/2018[/TD]
[TD]TCO302[/TD]
[TD]40 GPM Gas Powered Pump[/TD]
[TD]T-7[/TD]
[TD]Madera[/TD]
[TD="align: right"]20[/TD]
[TD]X[/TD]
[/TR]
</tbody>[/TABLE]


Results expected - as new orders are placed, I key the SO Number into column B. Then each cell in the row from columns I through AT has a formula looking for a particular item. When a match per the formula is found, an "X" is placed in the corresponding cell. The example I have been using looking for item TCO302 is for the results in Column I.

[TABLE="class: grid, width: 1939"]
<colgroup><col><col><col><col><col><col><col><col><col span="6"><col><col span="6"><col><col span="3"><col><col><col span="7"><col><col span="5"><col><col span="5"></colgroup><tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[TD]M
[/TD]
[TD]N
[/TD]
[TD]O
[/TD]
[TD]P
[/TD]
[TD]Q
[/TD]
[TD]R
[/TD]
[TD]S
[/TD]
[TD]T
[/TD]
[TD]U
[/TD]
[TD]V
[/TD]
[TD]W
[/TD]
[TD]X
[/TD]
[TD]Y
[/TD]
[TD]Z
[/TD]
[TD]AA
[/TD]
[TD]AB[/TD]
[TD]AC[/TD]
[TD]AD[/TD]
[TD]AE[/TD]
[TD]AF[/TD]
[TD]AG[/TD]
[TD]AH
[/TD]
[TD]AI
[/TD]
[TD]AJ
[/TD]
[TD]AK
[/TD]
[TD]AL
[/TD]
[TD]AM
[/TD]
[TD]AN
[/TD]
[TD]AO
[/TD]
[TD]AP
[/TD]
[TD]AQ
[/TD]
[TD]AR
[/TD]
[TD]AS
[/TD]
[TD]AT
[/TD]
[/TR]
[TR]
[TD]Order Date[/TD]
[TD]SO #[/TD]
[TD]Bld #[/TD]
[TD]Scheduled[/TD]
[TD]Customer[/TD]
[TD]Rep[/TD]
[TD]VIN #[/TD]
[TD]Model[/TD]
[TD] ELEC GAS PUMP[/TD]
[TD]SOLAR BATTERY CHARGER[/TD]
[TD]100G DEF SYSTEM WITH REEL[/TD]
[TD]ALUMINUM WHEELS[/TD]
[TD]FIELD MAX TIRES[/TD]
[TD]SIGNATURE OPTION PACKAGE[/TD]
[TD] [/TD]
[TD]WORKSIGHT LIGHT TOWER [/TD]
[TD]ELECTRIC/HYD JACK[/TD]
[TD]30 G AUX OIL TANK 3GPM[/TD]
[TD]STAINLESS STEEL FENDER AND TRIM[/TD]
[TD]FIVE DRAWER TOOL CHEST [/TD]
[TD]PRO OPTION PACKAGE[/TD]
[TD] [/TD]
[TD]REAR UTILITY BOX[/TD]
[TD]CAN AND TOWEL RACK[/TD]
[TD]UTILITY BOX FIVE DRAWER TOOL CHEST[/TD]
[TD]UTILITY OPTION PACKAGE[/TD]
[TD] [/TD]
[TD]COMP+GEN WITH 50' COMBO REEL[/TD]
[TD]WELDER+COMP+GEN WITH 50' COMBO REEL[/TD]
[TD]compressor only [/TD]
[TD]WORK BENCH WITH VISE[/TD]
[TD]TWO DRAWER LOW BOY TOOL CHEST[/TD]
[TD]50' FUEL HOSE REEL UPGRADE[/TD]
[TD]50' DEF REEL UPGRADE[/TD]
[TD]STATIC DISCHARGE REEL[/TD]
[TD]4 MICRON FUEL FILTER UPGRADE[/TD]
[TD]DIGITAL FUEL METER FOR ELECTRIC PUMP[/TD]
[TD]DIGITAL FUEL METER FOR GAS PUMP[/TD]
[TD]110V DEF HEATER[/TD]
[TD]DIGITAL DEF METER[/TD]
[TD]CUSTOM COLOR[/TD]
[TD]FIELD MAX SPARE TIRE KIT[/TD]
[TD]SPARE TIRE KIT[/TD]
[TD]GEAR DRIVE 8 GPM PUMP UGRADE FOR AUX OIL[/TD]
[TD]SPILL CONTAINMENT KIT[/TD]
[TD]GREASE KIT[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]302, 332, 333[/TD]
[TD]702[/TD]
[TD]902, 903[/TD]
[TD]802, 510, 512, 518, 520[/TD]
[TD]804, 508, 512, 516, 520[/TD]
[TD]904[/TD]
[TD] [/TD]
[TD]704[/TD]
[TD]502[/TD]
[TD]906[/TD]
[TD]908, 965[/TD]
[TD]806[/TD]
[TD]910[/TD]
[TD] [/TD]
[TD]102, 103[/TD]
[TD]104[/TD]
[TD]808[/TD]
[TD]912[/TD]
[TD] [/TD]
[TD]913[/TD]
[TD]916[/TD]
[TD]915, 914[/TD]
[TD]918[/TD]
[TD]810[/TD]
[TD]304, 340[/TD]
[TD]306[/TD]
[TD]812, 813[/TD]
[TD]308, 345[/TD]
[TD]310[/TD]
[TD]312[/TD]
[TD]814[/TD]
[TD]314[/TD]
[TD]TCO202[/TD]
[TD]920[/TD]
[TD]920, 921, 922, 923[/TD]
[TD]316[/TD]
[TD]924[/TD]
[TD]816[/TD]
[/TR]
[TR]
[TD="colspan: 8"]ORDER[/TD]
[TD="colspan: 38"]OPTIONS[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]8/30[/TD]
[TD]TCE41494[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Midland Tractor - Madera[/TD]
[TD]T-7[/TD]
[TD] [/TD]
[TD]TCO500[/TD]
[TD]X[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]X[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]WHITE[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
MATCH(1,(Data!$B$2:$B$2000=B1026)*(Data!$I$2:$I$2000="TCO302"),0)

returns a position if successful.


Questions:


1. What do we do with the foregoing MATCH result? Feed it to an INDEX bit?

2. Does TCO302 occur literally in Data!$I$2:$I$2000?
 
Last edited:
Upvote 0
1. When there is a match, it fills an "X" (or whatever is in column N) into the cell.
2. I believe that TCO302 occurs literally in the Data table; it is updated via a link to tables in our order system.

(Thanks so much for all of the help so far. I have learned a lot!)
 
Upvote 0
1. When there is a match, it fills an "X" (or whatever is in column N) into the cell.

[…]

You mean INDEX must retrieve whatever is in the N column at the position MATCH returns, right? That is, if match returns 7, the 7th item from the N range must be returned...
 
Upvote 0
That is where it gets beyond my experience w/ this stuff I'm afraid. Currently the Data table is set-up to fill in the N cell of a new line w/ X, so if there is a match, it always finds X to return.
 
Upvote 0
No excel formula in column N - that whole tab is connected to the database and updates from there, and is set-up to include an X in column N when the data is updated - I am not sure how to see what it does.
 
Upvote 0
No excel formula in column N - that whole tab is connected to the database and updates from there, and is set-up to include an X in column N when the data is updated - I am not sure how to see what it does.

If the following is not what you want, that is, confirmed with control+shift+enter:

=INDEX(Data!$N$2:$N$2000,MATCH(1,(Data!$B$2:$B$2000=B1026)*(Data!$I$2:$I$2000="TCO302"),0))

you must really sit back and think what you want to achieve.
 
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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