Merging With Same Cell Value and Matching Other Column Value

shah0101

Board Regular
Joined
Jul 4, 2019
Messages
139
Hello Experts,

Following is actual data and the common column in both sheets is "Style No.".

The two sheets have thousands of records. Lets say first sheet is with prices and order quantity and the second sheet is with actual shipped quantity.




TABLE 1 WITH PRICES:
[TABLE="width: 922"]
<colgroup><col><col><col><col><col><col span="3"><col><col><col></colgroup><tbody>[TR]
[TD]Style No. [/TD]
[TD]Suppl. Style[/TD]
[TD]brand[/TD]
[TD]Color[/TD]
[TD]Sex[/TD]
[TD]M[/TD]
[TD]L[/TD]
[TD]XL[/TD]
[TD]Quantity/Pcs[/TD]
[TD]Unit price[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]14406146[/TD]
[TD]MR-1[/TD]
[TD]Mo[/TD]
[TD]light navy[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 2.50[/TD]
[TD] $ 976.67[/TD]
[/TR]
[TR]
[TD]14406146[/TD]
[TD]MR-1[/TD]
[TD]Mo[/TD]
[TD]black[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 2.50[/TD]
[TD] $ 976.67[/TD]
[/TR]
[TR]
[TD]14406146[/TD]
[TD]MR-1[/TD]
[TD]Mo[/TD]
[TD]dark beige[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 2.50[/TD]
[TD] $ 976.67[/TD]
[/TR]
[TR]
[TD]14406146[/TD]
[TD]MR-1[/TD]
[TD]Mo[/TD]
[TD]light olive[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 2.50[/TD]
[TD] $ 976.67[/TD]
[/TR]
[TR]
[TD]14406147[/TD]
[TD]16203[/TD]
[TD]Mo[/TD]
[TD]light navy[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 3.50[/TD]
[TD] $ 1,139.28[/TD]
[/TR]
[TR]
[TD]14406147[/TD]
[TD]16203[/TD]
[TD]Mo[/TD]
[TD]black[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 3.50[/TD]
[TD] $ 1,139.28[/TD]
[/TR]
[TR]
[TD]14406147[/TD]
[TD]16203[/TD]
[TD]Mo[/TD]
[TD]dark beige[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 3.50[/TD]
[TD] $ 1,139.28[/TD]
[/TR]
[TR]
[TD]14406147[/TD]
[TD]16203[/TD]
[TD]Mo[/TD]
[TD]light olive[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 3.50[/TD]
[TD] $ 1,139.28[/TD]
[/TR]
[TR]
[TD]14406148[/TD]
[TD]3015[/TD]
[TD]Mo[/TD]
[TD]navy[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 1.50[/TD]
[TD] $ 1,374.61[/TD]
[/TR]
[TR]
[TD]14406148[/TD]
[TD]3015[/TD]
[TD]Mo[/TD]
[TD]black[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 1.50[/TD]
[TD] $ 1,374.61[/TD]
[/TR]
[TR]
[TD]14406149[/TD]
[TD]17323[/TD]
[TD]Mo[/TD]
[TD]navy[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 2.30[/TD]
[TD] $ 1,049.39[/TD]
[/TR]
[TR]
[TD]14406149[/TD]
[TD]17323[/TD]
[TD]Mo[/TD]
[TD]black[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 2.30[/TD]
[TD] $ 1,049.39[/TD]
[/TR]
[TR]
[TD]14406150[/TD]
[TD]19618[/TD]
[TD]Mo[/TD]
[TD]black[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 2.21[/TD]
[TD] $ 1,031.21[/TD]
[/TR]
[TR]
[TD]14406150[/TD]
[TD]19618[/TD]
[TD]Mo[/TD]
[TD]navy[/TD]
[TD]men[/TD]
[TD]29[/TD]
[TD]43[/TD]
[TD]29[/TD]
[TD]101[/TD]
[TD] $ 2.21[/TD]
[TD] $ 1,031.21[/TD]
[/TR]
</tbody>[/TABLE]






TABLE 2 WITH SHIPPED QUANTITIES:

[TABLE="width: 1213"]
<colgroup><col><col><col><col><col><col><col span="3"><col><col><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD]Carton [/TD]
[TD]Total [/TD]
[TD]Style No. [/TD]
[TD]Customs-No. [/TD]
[TD]Colour [/TD]
[TD]Lot [/TD]
[TD]Column1[/TD]
[TD]Column2[/TD]
[TD]Column3[/TD]
[TD]Pcs/Ctn [/TD]
[TD]Total Pcs [/TD]
[TD]G.W. [/TD]
[TD]N.W.[/TD]
[TD]Carton Size[/TD]
[TD]Column4[/TD]
[TD]Column5[/TD]
[TD]CBM[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]M[/TD]
[TD]L[/TD]
[TD]XL[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Length[/TD]
[TD]Width[/TD]
[TD]Height[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]14406146[/TD]
[TD] [/TD]
[TD]light navy[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]13[/TD]
[TD]12.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]32[/TD]
[TD]0.0768[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1[/TD]
[TD]14406146[/TD]
[TD] [/TD]
[TD]black[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]13[/TD]
[TD]12.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]32[/TD]
[TD]0.0768[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]1[/TD]
[TD]14406146[/TD]
[TD] [/TD]
[TD]dark beige[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]13[/TD]
[TD]12.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]32[/TD]
[TD]0.0768[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]1[/TD]
[TD]14406146[/TD]
[TD] [/TD]
[TD]light olive[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]13[/TD]
[TD]12.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]32[/TD]
[TD]0.0768[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]14406147[/TD]
[TD] [/TD]
[TD]light navy[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]14.4[/TD]
[TD]13.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]32[/TD]
[TD]0.0768[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1[/TD]
[TD]14406147[/TD]
[TD] [/TD]
[TD]black[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]14.4[/TD]
[TD]13.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]32[/TD]
[TD]0.0768[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]1[/TD]
[TD]14406147[/TD]
[TD] [/TD]
[TD]dark beige[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]14.4[/TD]
[TD]13.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]32[/TD]
[TD]0.0768[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]1[/TD]
[TD]14406147[/TD]
[TD] [/TD]
[TD]light olive[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]14.4[/TD]
[TD]13.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]32[/TD]
[TD]0.0768[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]14406148[/TD]
[TD] [/TD]
[TD]navy[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]19[/TD]
[TD]18.1[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]50[/TD]
[TD]0.12[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1[/TD]
[TD]14406148[/TD]
[TD] [/TD]
[TD]black[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]19[/TD]
[TD]18.1[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]50[/TD]
[TD]0.12[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]14406149[/TD]
[TD] [/TD]
[TD]navy[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]10.9[/TD]
[TD]10.1[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]30[/TD]
[TD]0.072[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1[/TD]
[TD]14406149[/TD]
[TD] [/TD]
[TD]black[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]10.9[/TD]
[TD]10.1[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]30[/TD]
[TD]0.072[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]14406150[/TD]
[TD] [/TD]
[TD]black[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]11[/TD]
[TD]10.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]30[/TD]
[TD]0.072[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]1[/TD]
[TD]14406150[/TD]
[TD] [/TD]
[TD]navy[/TD]
[TD]M/L/XL[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]11[/TD]
[TD]10.2[/TD]
[TD]60[/TD]
[TD]40[/TD]
[TD]30[/TD]
[TD]0.072








[/TD]
[/TR]
</tbody>[/TABLE]






Now what I want to achieve is:
1) merge the style no. to a single row of same kind on second sheet (removing colour/lot columns)
2) then relate/attach/bring the prices from the first sheet based on "Style No." right on the same row in front of it to calculate the value of actual shipped goods.

I dont know if it can be acieved with PivotTable() or Vlookup() or Match(). Can you please guide / advise.

I hope I am making sense.

Thanks,
 
You can't have a single INDEX and/or MATCH using multiple ranges so you'll have to search each in turn.

I've put tables 1,3 and 4 on one sheet just to demonstrate (so you'll need to add sheet names to the arrays) and I'm showing Style Nos and Price in different columns just for fun.

The IFERROR searching tables 1 and 2 will fall into the next search if no match is found, otherwise it returns the first Pice. If the Style number in table 2 isn't on tables 1, 3 or 4 then you'll get a #N/A error.

ABCDEFGHIJKL
TABLE 1 WITH PRICES:
Style No.Suppl. StylebrandColorSexMLXLQuantity/PcsUnit priceAmount
MR-1Molight navymen
MR-1Moblackmen
TABLE 3 WITH PRICES:
Style No.Suppl. StylebrandColorSexQuantity/PcsUnit priceAmount
Molight navymen
Moblackmen
Modark beigemen
TABLE 4 WITH PRICES:
BDLDStyle No.Suppl. StylebrandColorSexMLQuantity/PcsUnit priceAmount
Monavymen
Moblackmen
TABLE 2 WITH SHIPPED QUANTITIES:
CartonTotalValue ShippedStyle No.Extracted Price

<tbody>
[TD="align: center"]1[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]2[/TD]

[TD="align: right"][/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]14406146[/TD]

[TD="align: right"]29[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]$2.50[/TD]
[TD="align: right"]$976.67[/TD]
[TD="align: right"][/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]2222222[/TD]

[TD="align: right"]29[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]$4.22[/TD]
[TD="align: right"]$976.67[/TD]
[TD="align: right"][/TD]

[TD="align: center"]5[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]6[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]7[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]8[/TD]

[TD="align: right"]14406147[/TD]
[TD="align: right"]16203[/TD]

[TD="align: right"]101[/TD]
[TD="align: right"]$1.55[/TD]
[TD="align: right"]$1,139.28[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]

[TD="align: right"]14406147[/TD]
[TD="align: right"]16203[/TD]

[TD="align: right"]101[/TD]
[TD="align: right"]$1.55[/TD]
[TD="align: right"]$1,139.28[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]10[/TD]

[TD="align: right"]14406147[/TD]
[TD="align: right"]16203[/TD]

[TD="align: right"]101[/TD]
[TD="align: right"]$1.55[/TD]
[TD="align: right"]$1,139.28[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]11[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]12[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]13[/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]33[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]14406148[/TD]
[TD="align: right"]3015[/TD]

[TD="align: right"]29[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]$3.33[/TD]
[TD="align: right"]$1,374.61[/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]22[/TD]
[TD="align: right"]33[/TD]
[TD="align: right"]14406148[/TD]
[TD="align: right"]3015[/TD]

[TD="align: right"]29[/TD]
[TD="align: right"]43[/TD]
[TD="align: right"]101[/TD]
[TD="align: right"]$3.33[/TD]
[TD="align: right"]$1,374.61[/TD]

[TD="align: center"]16[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]17[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]18[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]19[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]20[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]21[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"]14406146[/TD]
[TD="align: right"]2.5[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]22[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"]2222222[/TD]
[TD="align: right"]4.22[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]23[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"]14406147[/TD]
[TD="align: right"]1.55[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]24[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"]14406148[/TD]
[TD="align: right"]3.33[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]25[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"]3333333[/TD]
[TD="align: right"]#N/A[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

</tbody>
Sheet1 (2)

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<tbody>[TR]
[TH]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
[TR]
[TH]E21[/TH]
[TD="align: left"]=IFERROR(INDEX($J$3:$J$4,MATCH(D21,$A$3:$A$4,0)),IFERROR(INDEX($H$8:$H$10,MATCH(D21,$B$8:$B$10,0)),INDEX($K$14:$K$15,MATCH(D21,$C$14:$C$15,0))))[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]



thanks a ton!!!!!!
 
Upvote 0

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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