Need help please, IF true THEN MATCH from list and put PRICE in CELL

LAMESARVSALES

New Member
Joined
Sep 5, 2015
Messages
1
If the date (D3) is 2015 THEN MATCH (F3) WITH TABLE (Q3) AND put the adjacent amount from (R3) in CELL (O3)

A B C D E F G H I J K L M N O

[TABLE="width: 1310"]
<tbody>[TR]
[TD]ADays[/TD]
[TD]BRec[/TD]
[TD]CStock #[/TD]
[TD]DYear[/TD]
[TD]EMake[/TD]
[TD]FModel Description[/TD]
[TD]GModel[/TD]
[TD]HSCDE[/TD]
[TD]ILocation[/TD]
[TD]JList $$[/TD]
[TD]KAd $$[/TD]
[TD="align: right"]L2014[/TD]
[TD="align: right"]M2015[/TD]
[TD="align: right"]N2016[/TD]
[TD]OSpiff[/TD]
[TD]P[/TD]
[TD]Q manufacturer[/TD]
[TD]R amount[/TD]
[/TR]
[TR]
[TD]64[/TD]
[TD="align: right"]06/29/15[/TD]
[TD]SNA78787[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]TOUR[/TD]
[TD]31SA[/TD]
[TD]GDF2[/TD]
[TD]SD[/TD]
[TD="align: right"]160,827[/TD]
[TD]133,769[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]TOUR[/TD]
[TD="align: right"]5000[/TD]
[/TR]
[TR]
[TD]49[/TD]
[TD="align: right"]07/14/15[/TD]
[TD]VNA79072[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]ELLIPSE[/TD]
[TD]31SA[/TD]
[TD]GDF2[/TD]
[TD]PHX[/TD]
[TD="align: right"]160,827[/TD]
[TD]133,098[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]ELLIPSE[/TD]
[TD="align: right"]5000[/TD]
[/TR]
[TR]
[TD]41[/TD]
[TD="align: right"]07/22/15[/TD]
[TD]SNA79242[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]JOURNEY[/TD]
[TD]31SA[/TD]
[TD]GDF2[/TD]
[TD]SD[/TD]
[TD="align: right"]159,703[/TD]
[TD]132,848[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]JOURNEY[/TD]
[TD="align: right"]3000[/TD]
[/TR]
[TR]
[TD]26[/TD]
[TD="align: right"]08/06/15[/TD]
[TD]FNA79559[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]31SA[/TD]
[TD]GDF2[/TD]
[TD]ORL/1[/TD]
[TD="align: right"]163,437[/TD]
[TD]135,258[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]MERIDIAN[/TD]
[TD="align: right"]3000[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD="align: right"]08/19/15[/TD]
[TD]FNA79941[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]31SA[/TD]
[TD]GTF2[/TD]
[TD]ORL/1[/TD]
[TD="align: right"]163,292[/TD]
[TD]135,138[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]FORZA[/TD]
[TD="align: right"]2500[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD="align: right"]08/24/15[/TD]
[TD]MNA79946[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]31SA[/TD]
[TD]GDF2[/TD]
[TD]MES[/TD]
[TD="align: right"]159,957[/TD]
[TD]132,378[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]SOLEI[/TD]
[TD="align: right"]2500[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD="align: right"]08/26/15[/TD]
[TD]TNA80046[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]31SA[/TD]
[TD]GDF2[/TD]
[TD]TUC[/TD]
[TD="align: right"]159,957[/TD]
[TD]132,378[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]VIVA[/TD]
[TD="align: right"]1500[/TD]
[/TR]
[TR]
[TD]112[/TD]
[TD="align: right"]05/12/15[/TD]
[TD]VNA77294[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32CA[/TD]
[TD]GTF2[/TD]
[TD]SD[/TD]
[TD="align: right"]156,252[/TD]
[TD]115,998[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]ADVENTURER[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]98[/TD]
[TD="align: right"]05/26/15[/TD]
[TD]SNA77899[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32SA[/TD]
[TD]GDF2[/TD]
[TD]SD[/TD]
[TD="align: right"]159,631[/TD]
[TD]124,998[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]SUNCRUISER[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]92[/TD]
[TD="align: right"]06/01/15[/TD]
[TD]MNA78039[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32SA[/TD]
[TD]GDF2[/TD]
[TD]PHX[/TD]
[TD="align: right"]165,177[/TD]
[TD]136,766[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]5[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]SIGHTSEER[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]85[/TD]
[TD="align: right"]06/08/15[/TD]
[TD]SNA78331[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32SA[/TD]
[TD]GDF2[/TD]
[TD]SD[/TD]
[TD="align: right"]169,237[/TD]
[TD]140,736[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]SUNOVA[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]77[/TD]
[TD="align: right"]06/16/15[/TD]
[TD]TNA78250[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32SA[/TD]
[TD]GDF2[/TD]
[TD]TUC[/TD]
[TD="align: right"]165,177[/TD]
[TD]137,526[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]ASPECT[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]77[/TD]
[TD="align: right"]06/16/15[/TD]
[TD]VNA78425[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32SA[/TD]
[TD]GDF2[/TD]
[TD]MES[/TD]
[TD="align: right"]165,177[/TD]
[TD]136,698[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]CAMBRIA[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]67[/TD]
[TD="align: right"]06/26/15[/TD]
[TD]FNA78700[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32SA[/TD]
[TD]GTF2[/TD]
[TD]ORL/1[/TD]
[TD="align: right"]167,642[/TD]
[TD]138,738[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]LUXE[/TD]
[TD="align: right"]3000[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD="align: right"]08/25/15[/TD]
[TD]MNA79947[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32SA[/TD]
[TD]GDF2[/TD]
[TD]MES[/TD]
[TD="align: right"]165,177[/TD]
[TD]136,698[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]LIFESTYLE[/TD]
[TD="align: right"]5000[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD="align: right"]08/24/15[/TD]
[TD]VNA80041[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]32SA[/TD]
[TD]GDF2[/TD]
[TD]PHX[/TD]
[TD="align: right"]165,177[/TD]
[TD]136,698[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]TESLA[/TD]
[TD="align: right"]3000[/TD]
[/TR]
[TR]
[TD]120[/TD]
[TD="align: right"]05/04/15[/TD]
[TD]SNA77182[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]35QBA[/TD]
[TD]GDF4[/TD]
[TD]SD[/TD]
[TD="align: right"]163,582[/TD]
[TD]124,998[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]HILL[/TD]
[TD="align: right"]1500[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD="align: right"]08/24/15[/TD]
[TD]FNA80035[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]35QBA[/TD]
[TD]GDF4[/TD]
[TD]ORL/1[/TD]
[TD="align: right"]169,599[/TD]
[TD]140,358[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]AMPED[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]288[/TD]
[TD="align: right"]11/17/14[/TD]
[TD]VNA71761[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]36LA[/TD]
[TD]GTF2[/TD]
[TD]PHX[/TD]
[TD="align: right"]164,488[/TD]
[TD]124,998[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]REACTOR[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]105[/TD]
[TD="align: right"]05/19/15[/TD]
[TD]TNA77657[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]36LA[/TD]
[TD]GDF2[/TD]
[TD]TUC[/TD]
[TD="align: right"]169,672[/TD]
[TD]129,998[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]RENEGADE[/TD]
[TD="align: right"]2500[/TD]
[/TR]
[TR]
[TD]69[/TD]
[TD="align: right"]06/24/15[/TD]
[TD]MNA78592[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]36LA[/TD]
[TD]GTF2[/TD]
[TD]MES[/TD]
[TD="align: right"]177,067[/TD]
[TD]146,538[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]DISCOVERY[/TD]
[TD="align: right"]3000[/TD]
[/TR]
[TR]
[TD]54[/TD]
[TD="align: right"]07/09/15[/TD]
[TD]TNA78510[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]36LA[/TD]
[TD]GTF2[/TD]
[TD]TUC[/TD]
[TD="align: right"]177,067[/TD]
[TD]147,355[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]BOUNDER[/TD]
[TD="align: right"]1500[/TD]
[/TR]
[TR]
[TD]41[/TD]
[TD="align: right"]07/22/15[/TD]
[TD]FNA79238[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]36LA[/TD]
[TD]GDF2[/TD]
[TD]ORL/1[/TD]
[TD="align: right"]169,454[/TD]
[TD]140,238[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]LATITUDE[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD="align: right"]07/23/15[/TD]
[TD]VNA79252[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]36LA[/TD]
[TD]GTF2[/TD]
[TD]PHX[/TD]
[TD="align: right"]171,774[/TD]
[TD]142,158[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]DESTINATION[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD="align: right"]08/31/15[/TD]
[TD]SNA81186[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]OPEN ROAD[/TD]
[TD]36LA[/TD]
[TD]GTF2[/TD]
[TD]SD/RECON[/TD]
[TD="align: right"]173,514[/TD]
[TD][/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]BUS[/TD]
[TD="align: right"]3000[/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="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]RED[/TD]
[TD="align: right"]2000[/TD]
[/TR]
[TR]
[TD]200[/TD]
[TD="align: right"]02/13/15[/TD]
[TD]VNA74414[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]36GH[/TD]
[TD]DDL4[/TD]
[TD]SD[/TD]
[TD="align: right"]304,283[/TD]
[TD]219,998[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]PHAETON[/TD]
[TD="align: right"]2500[/TD]
[/TR]
[TR]
[TD]104[/TD]
[TD="align: right"]05/20/15[/TD]
[TD]MNA77693[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]36GH[/TD]
[TD]DTL4[/TD]
[TD]MES[/TD]
[TD="align: right"]304,283[/TD]
[TD]224,998[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]OPEN ROAD[/TD]
[TD="align: right"]1500[/TD]
[/TR]
[TR]
[TD]96[/TD]
[TD="align: right"]05/28/15[/TD]
[TD]TNA77749[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]36GH[/TD]
[TD]DDL4[/TD]
[TD]TUC[/TD]
[TD="align: right"]303,558[/TD]
[TD]224,998[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]ROADTRED[/TD]
[TD="align: right"]2000[/TD]
[/TR]
[TR]
[TD]54[/TD]
[TD="align: right"]07/09/15[/TD]
[TD]FNA78970[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]36GH[/TD]
[TD]DTL4[/TD]
[TD]ORL/FACTORY[/TD]
[TD="align: right"]305,479[/TD]
[TD]235,956[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]LANDMARK[/TD]
[TD="align: right"]1750[/TD]
[/TR]
[TR]
[TD]53[/TD]
[TD="align: right"]07/10/15[/TD]
[TD]SNA79002[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]36GH[/TD]
[TD]DTL4[/TD]
[TD]PHX[/TD]
[TD="align: right"]305,479[/TD]
[TD]237,181[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]BIG[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD="align: right"]08/19/15[/TD]
[TD]SNA79952[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]36GH[/TD]
[TD]DTL4[/TD]
[TD]SD/RECON[/TD]
[TD="align: right"]309,285[/TD]
[TD]240,108[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]CYCLONE[/TD]
[TD="align: right"]1000[/TD]
[/TR]
[TR]
[TD]123[/TD]
[TD="align: right"]05/01/15[/TD]
[TD]FNA77113[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]40AH[/TD]
[TD]DTL4[/TD]
[TD]ORL/1[/TD]
[TD="align: right"]311,678[/TD]
[TD]229,998[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD]VOLTAGE[/TD]
[TD="align: right"]2000[/TD]
[/TR]
[TR]
[TD]117[/TD]
[TD="align: right"]05/07/15[/TD]
[TD]TNA77083[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]40AH[/TD]
[TD]DTL4[/TD]
[TD]TUC[/TD]
[TD="align: right"]311,678[/TD]
[TD]229,998[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]105[/TD]
[TD="align: right"]05/19/15[/TD]
[TD]VNA77709[/TD]
[TD="align: right"]2015[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]40AH[/TD]
[TD]DDL4[/TD]
[TD]PHX[/TD]
[TD="align: right"]321,175[/TD]
[TD]239,998[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]75[/TD]
[TD="align: right"]06/18/15[/TD]
[TD]VNA78489[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]40AH[/TD]
[TD]DTL4[/TD]
[TD]PHX[/TD]
[TD="align: right"]318,819[/TD]
[TD]246,260[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]70[/TD]
[TD="align: right"]06/23/15[/TD]
[TD]MNA78591[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]40AH[/TD]
[TD]DTL4[/TD]
[TD]MES[/TD]
[TD="align: right"]315,883[/TD]
[TD]243,992[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]69[/TD]
[TD="align: right"]06/24/15[/TD]
[TD]SNA78683[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]40AH[/TD]
[TD]DTL4[/TD]
[TD]SD[/TD]
[TD="align: right"]318,819[/TD]
[TD]247,428[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]34[/TD]
[TD="align: right"]07/29/15[/TD]
[TD]FNA79363[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]40AH[/TD]
[TD]DTL4[/TD]
[TD]ORL/1[/TD]
[TD="align: right"]318,819[/TD]
[TD]246,260[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]21[/TD]
[TD="align: right"]08/11/15[/TD]
[TD]MNA79686[/TD]
[TD="align: right"]2016[/TD]
[TD]Allegro[/TD]
[TD]MH PHAETON[/TD]
[TD]40AH[/TD]
[TD]FFL4[/TD]
[TD]MES[/TD]
[TD="align: right"]327,338[/TD]
[TD]252,840[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD](NO MATCH)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Thanks everyone!
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi,

Try something like this:

Excel Workbook
ABCDEFGHIJKLMNOPQR
1ADaysBRecCStock #DYearEMakeFModel DescriptionGModelHSCDEILocationJList $$KAd $$L2014M2015N2016OSpiffPQ manufacturerR amount
26406/29/15SNA787872015AllegroTOUR31SAGDF2SD160,827133,7690005000TOUR5000
34907/14/15VNA790722016AllegroELLIPSE31SAGDF2PHX160,827133,0980000ELLIPSE5000
44107/22/15SNA792422016AllegroJOURNEY31SAGDF2SD159,703132,8480000JOURNEY3000
52608/06/2015FNA795592016AllegroOPEN ROAD31SAGDF2ORL/1163,437135,2580000MERIDIAN3000
61308/19/15FNA799412016AllegroOPEN ROAD31SAGTF2ORL/1163,292135,1380000FORZA2500
7808/24/15MNA799462016AllegroOPEN ROAD31SAGDF2MES159,957132,3780000SOLEI2500
8608/26/15TNA800462016AllegroOPEN ROAD31SAGDF2TUC159,957132,3780000VIVA1500
911205/12/2015VNA772942015AllegroOPEN ROAD32CAGTF2SD156,252115,9980001500ADVENTURER1000
109805/26/15SNA778992015AllegroOPEN ROAD32SAGDF2SD159,631124,9980001500SUNCRUISER1000
119206/01/2015MNA780392016AllegroOPEN ROAD32SAGDF2PHX165,177136,7660050SIGHTSEER1000
128506/08/2015SNA783312016AllegroOPEN ROAD32SAGDF2SD169,237140,7360000SUNOVA1000
137706/16/15TNA782502016AllegroOPEN ROAD32SAGDF2TUC165,177137,5260000ASPECT1000
147706/16/15VNA784252016AllegroOPEN ROAD32SAGDF2MES165,177136,6980000CAMBRIA1000
156706/26/15FNA787002016AllegroOPEN ROAD32SAGTF2ORL/1167,642138,7380000LUXE3000
16708/25/15MNA799472016AllegroOPEN ROAD32SAGDF2MES165,177136,6980000LIFESTYLE5000
17808/24/15VNA800412016AllegroOPEN ROAD32SAGDF2PHX165,177136,6980000TESLA3000
1812005/04/2015SNA771822015AllegroOPEN ROAD35QBAGDF4SD163,582124,9985501500HILL1500
19808/24/15FNA800352016AllegroOPEN ROAD35QBAGDF4ORL/1169,599140,3580000AMPED1000
2028811/17/14VNA717612015AllegroOPEN ROAD36LAGTF2PHX164,488124,998151501500REACTOR1000
2110505/19/15TNA776572015AllegroOPEN ROAD36LAGDF2TUC169,672129,9980001500RENEGADE2500
226906/24/15MNA785922016AllegroOPEN ROAD36LAGTF2MES177,067146,5380000DISCOVERY3000
235407/09/2015TNA785102016AllegroOPEN ROAD36LAGTF2TUC177,067147,3550000BOUNDER1500
244107/22/15FNA792382016AllegroOPEN ROAD36LAGDF2ORL/1169,454140,2380000LATITUDE1000
254007/23/15VNA792522016AllegroOPEN ROAD36LAGTF2PHX171,774142,1580000DESTINATION1000
26108/31/15SNA811862016AllegroOPEN ROAD36LAGTF2SD/RECON173,5140000BUS3000
Sheet1


AP
 
Upvote 0
The function VLOOKUP was tailor-made for tasks like this. In O2 put this and copy down =IF(D2=2015,VLOOKUP(F2,$Q:$R,2,0),"not 2015")
 
Upvote 0
VBA approach:
Code:
Sub CopyCell()
    Application.ScreenUpdating = False
    Dim LastRow As Long
    LastRow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
    Dim rng As Range
    For Each rng In Range("D2:D" & LastRow)
        If rng = "2015" And rng.Offset(0, 2) = rng.Offset(0, 13) Then
            rng.Offset(0, 11) = rng.Offset(0, 14)
        Else
            rng.Offset(0, 11) = "NO MATCH"
        End If
    Next rng
    Application.ScreenUpdating = True
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,107
Messages
6,170,137
Members
452,304
Latest member
Thelingly95

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