Sheet 1
[TABLE="width: 150"]
<colgroup><col width="64" style="width: 48pt;" span="3"><tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Client
[/TD]
[TD="width: 64, bgcolor: white"]Sales
[/TD]
[TD="width: 64, bgcolor: white"]Returns
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] A01
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 150"]
<colgroup><col width="64" style="width: 48pt;" span="3"><tbody>[TR]
[TD="width: 64, bgcolor: #D7E4BC"]Product
[/TD]
[TD="width: 64, bgcolor: transparent"]Client
[/TD]
[TD="width: 64, bgcolor: white"]Sales
[/TD]
[TD="width: 64, bgcolor: white"]Product
[/TD]
[TD="width: 64, bgcolor: white"]Client
[/TD]
[TD="width: 64, bgcolor: white"]Sales
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A01
[/TD]
[TD="bgcolor: transparent"]51
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A02
[/TD]
[TD="bgcolor: transparent"]32
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"]895
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A01
[/TD]
[TD="bgcolor: transparent"]947
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A01
[/TD]
[TD="bgcolor: transparent"]256
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A02
[/TD]
[TD="bgcolor: transparent"]367
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A01-5
[/TD]
[TD="bgcolor: transparent"]226
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A02
[/TD]
[TD="bgcolor: transparent"]458
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"]1005
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A01
[/TD]
[TD="bgcolor: transparent"]2568
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"]3
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A01-5
[/TD]
[TD="bgcolor: transparent"]66
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A01-5
[/TD]
[TD="bgcolor: transparent"]626
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A02
[/TD]
[TD="bgcolor: transparent"]749
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"]189
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A01-5
[/TD]
[TD="bgcolor: transparent"]301
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 384"]
<colgroup><col width="64" style="width: 48pt;" span="8"> <tbody>[TR]
[TD="width: 448, bgcolor: transparent, colspan: 7"]In sheet 1 I want to sum sales of products by client, so I need my sum formula to:
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, colspan: 8"](a) look in col B and E (sheet 2) to find the client (they never change and always contain text)
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, colspan: 6"](b) treat clients A01 and A01-5 as if they are the same (row 1 Sheet 1)
Any suggestions for a solution much appreciated.
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 150"]
<colgroup><col width="64" style="width: 48pt;" span="3"><tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Client
[/TD]
[TD="width: 64, bgcolor: white"]Sales
[/TD]
[TD="width: 64, bgcolor: white"]Returns
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] A01
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="width: 150"]
<colgroup><col width="64" style="width: 48pt;" span="3"><tbody>[TR]
[TD="width: 64, bgcolor: #D7E4BC"]Product
[/TD]
[TD="width: 64, bgcolor: transparent"]Client
[/TD]
[TD="width: 64, bgcolor: white"]Sales
[/TD]
[TD="width: 64, bgcolor: white"]Product
[/TD]
[TD="width: 64, bgcolor: white"]Client
[/TD]
[TD="width: 64, bgcolor: white"]Sales
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A01
[/TD]
[TD="bgcolor: transparent"]51
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A02
[/TD]
[TD="bgcolor: transparent"]32
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"]895
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A01
[/TD]
[TD="bgcolor: transparent"]947
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A01
[/TD]
[TD="bgcolor: transparent"]256
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A02
[/TD]
[TD="bgcolor: transparent"]367
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A01-5
[/TD]
[TD="bgcolor: transparent"]226
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A02
[/TD]
[TD="bgcolor: transparent"]458
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"]1005
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A01
[/TD]
[TD="bgcolor: transparent"]2568
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"]3
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A01-5
[/TD]
[TD="bgcolor: transparent"]66
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A01-5
[/TD]
[TD="bgcolor: transparent"]626
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A02
[/TD]
[TD="bgcolor: transparent"]749
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] Blue
[/TD]
[TD="bgcolor: transparent"] A02
[/TD]
[TD="bgcolor: transparent"]189
[/TD]
[TD="bgcolor: transparent"]Red
[/TD]
[TD="bgcolor: transparent"]A01-5
[/TD]
[TD="bgcolor: transparent"]301
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 384"]
<colgroup><col width="64" style="width: 48pt;" span="8"> <tbody>[TR]
[TD="width: 448, bgcolor: transparent, colspan: 7"]In sheet 1 I want to sum sales of products by client, so I need my sum formula to:
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, colspan: 8"](a) look in col B and E (sheet 2) to find the client (they never change and always contain text)
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent, colspan: 6"](b) treat clients A01 and A01-5 as if they are the same (row 1 Sheet 1)
Any suggestions for a solution much appreciated.
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]