I have 2 sheets.
The first sheet has the data and the second is basically a summary sheet.
Here's what I need to do:
SHEET 1: DATA SHEET
[TABLE="width: 1018"]
<tbody>[TR]
[TD]Model Code[/TD]
[TD]Model Description[/TD]
[TD]EBQ Code[/TD]
[TD]EBQ Description[/TD]
[TD]QTY[/TD]
[TD]Export[/TD]
[TD]Total[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 5"]LIGHT FITTINGS:[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0050[/TD]
[TD]Light - T5 Recessed Fixture 2x28W[/TD]
[TD][/TD]
[TD]1200 x 600 LBR -RCO(2*54W) Recessed - white[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0050[/TD]
[TD]Light - T5 Recessed Fixture 2x28W[/TD]
[TD][/TD]
[TD]T5 54W Flourescent lamps 840 (including 4 spare)[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]46[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0056[/TD]
[TD]Light - Shopfront 3m Track with 3 Spotlights[/TD]
[TD]EBQ000183[/TD]
[TD]Shopfront window display (21W LED track spots)[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0056[/TD]
[TD]Light - Shopfront 3m Track with 3 Spotlights[/TD]
[TD]EBQ000184[/TD]
[TD]Shopfront window display - track (3m track)[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0056[/TD]
[TD]Light - Shopfront 3m Track with 3 Spotlights[/TD]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - black[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0057[/TD]
[TD]Light - Perimeter wall washer[/TD]
[TD][/TD]
[TD]T5 54W Flourescent lamps 840 (including 4 spare)[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0057[/TD]
[TD]Light - Perimeter wall washer[/TD]
[TD][/TD]
[TD]Perimeter wall washer -Raw 254(1200*200) - white[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0058[/TD]
[TD]Light - Shopfront 3m Track with 4 Spotlights[/TD]
[TD]EBQ000183[/TD]
[TD]Shopfront window display (21W LED track spots)[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0058[/TD]
[TD]Light - Shopfront 3m Track with 4 Spotlights[/TD]
[TD]EBQ000184[/TD]
[TD]Shopfront window display - track (3m track)[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0058[/TD]
[TD]Light - Shopfront 3m Track with 4 Spotlights[/TD]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - black[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0059[/TD]
[TD]Light - Shopfront 3m Track with 5 Spotlights[/TD]
[TD]EBQ000183[/TD]
[TD]Shopfront window display (21W LED track spots)[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0059[/TD]
[TD]Light - Shopfront 3m Track with 5 Spotlights[/TD]
[TD]EBQ000184[/TD]
[TD]Shopfront window display - track (3m track)[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0059[/TD]
[TD]Light - Shopfront 3m Track with 5 Spotlights[/TD]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - black[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
SHEET 2: SUMMARY SHEET
[TABLE="width: 614"]
<tbody>[TR]
[TD]Item Code[/TD]
[TD]Item Description[/TD]
[TD]Price[/TD]
[TD]QTY[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD="colspan: 5"]LIGHT FITTINGS:[/TD]
[/TR]
[TR]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - white[/TD]
[TD="align: right"]28.86[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - black[/TD]
[TD="align: right"]28.86[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD]EBQ000101[/TD]
[TD]T5 Lighting bracket for wall washer[/TD]
[TD="align: right"]16.24[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD]EBQ000183[/TD]
[TD]Shopfront window display (21W LED track spots)[/TD]
[TD="align: right"]864.92[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD]EBQ000184[/TD]
[TD]Shopfront window display - track (3m track)[/TD]
[TD="align: right"]345.98[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
</tbody>[/TABLE]
So what I want to do is to create a formula in (SHEET 2) QTY column that will tell me the total amount of "EBQ000091 Light downlight holder - black" I need to order in total (Total column in SHEET 1)
=SUMIF(range,"<>N/A") doesn't work because its not looking for the total of one EBQ code
The first sheet has the data and the second is basically a summary sheet.
Here's what I need to do:
SHEET 1: DATA SHEET
[TABLE="width: 1018"]
<tbody>[TR]
[TD]Model Code[/TD]
[TD]Model Description[/TD]
[TD]EBQ Code[/TD]
[TD]EBQ Description[/TD]
[TD]QTY[/TD]
[TD]Export[/TD]
[TD]Total[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="colspan: 5"]LIGHT FITTINGS:[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0050[/TD]
[TD]Light - T5 Recessed Fixture 2x28W[/TD]
[TD][/TD]
[TD]1200 x 600 LBR -RCO(2*54W) Recessed - white[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0050[/TD]
[TD]Light - T5 Recessed Fixture 2x28W[/TD]
[TD][/TD]
[TD]T5 54W Flourescent lamps 840 (including 4 spare)[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]46[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0056[/TD]
[TD]Light - Shopfront 3m Track with 3 Spotlights[/TD]
[TD]EBQ000183[/TD]
[TD]Shopfront window display (21W LED track spots)[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0056[/TD]
[TD]Light - Shopfront 3m Track with 3 Spotlights[/TD]
[TD]EBQ000184[/TD]
[TD]Shopfront window display - track (3m track)[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0056[/TD]
[TD]Light - Shopfront 3m Track with 3 Spotlights[/TD]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - black[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0057[/TD]
[TD]Light - Perimeter wall washer[/TD]
[TD][/TD]
[TD]T5 54W Flourescent lamps 840 (including 4 spare)[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0057[/TD]
[TD]Light - Perimeter wall washer[/TD]
[TD][/TD]
[TD]Perimeter wall washer -Raw 254(1200*200) - white[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0058[/TD]
[TD]Light - Shopfront 3m Track with 4 Spotlights[/TD]
[TD]EBQ000183[/TD]
[TD]Shopfront window display (21W LED track spots)[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0058[/TD]
[TD]Light - Shopfront 3m Track with 4 Spotlights[/TD]
[TD]EBQ000184[/TD]
[TD]Shopfront window display - track (3m track)[/TD]
[TD="align: right"]1[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0058[/TD]
[TD]Light - Shopfront 3m Track with 4 Spotlights[/TD]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - black[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: center"]#N/A[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]PS0059[/TD]
[TD]Light - Shopfront 3m Track with 5 Spotlights[/TD]
[TD]EBQ000183[/TD]
[TD]Shopfront window display (21W LED track spots)[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0059[/TD]
[TD]Light - Shopfront 3m Track with 5 Spotlights[/TD]
[TD]EBQ000184[/TD]
[TD]Shopfront window display - track (3m track)[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD]PS0059[/TD]
[TD]Light - Shopfront 3m Track with 5 Spotlights[/TD]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - black[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
SHEET 2: SUMMARY SHEET
[TABLE="width: 614"]
<tbody>[TR]
[TD]Item Code[/TD]
[TD]Item Description[/TD]
[TD]Price[/TD]
[TD]QTY[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD="colspan: 5"]LIGHT FITTINGS:[/TD]
[/TR]
[TR]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - white[/TD]
[TD="align: right"]28.86[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD]EBQ000091[/TD]
[TD]Light downlight holder - black[/TD]
[TD="align: right"]28.86[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD]EBQ000101[/TD]
[TD]T5 Lighting bracket for wall washer[/TD]
[TD="align: right"]16.24[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD]EBQ000183[/TD]
[TD]Shopfront window display (21W LED track spots)[/TD]
[TD="align: right"]864.92[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
[TR]
[TD]EBQ000184[/TD]
[TD]Shopfront window display - track (3m track)[/TD]
[TD="align: right"]345.98[/TD]
[TD][/TD]
[TD="align: right"]0.00[/TD]
[/TR]
</tbody>[/TABLE]
So what I want to do is to create a formula in (SHEET 2) QTY column that will tell me the total amount of "EBQ000091 Light downlight holder - black" I need to order in total (Total column in SHEET 1)
=SUMIF(range,"<>N/A") doesn't work because its not looking for the total of one EBQ code