Hi
I want an Excel formula that will allow
1) match the Year in Row1, and match the Sales or Profit in Row 2
2) sum all the rows in the matched column
EG, I want Year=2001 & Sales, so the formula will sum = 8559 + 4560 +1520 +1563
Thank you!
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]2001
[/TD]
[TD]2001
[/TD]
[TD]2002
[/TD]
[TD]2002
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sales
[/TD]
[TD]Profit
[/TD]
[TD]Sales
[/TD]
[TD]Profit
[/TD]
[/TR]
[TR]
[TD]James
[/TD]
[TD]1000
[/TD]
[TD]690
[/TD]
[TD]8559
[/TD]
[TD]1895
[/TD]
[/TR]
[TR]
[TD]Peter
[/TD]
[TD]2000
[/TD]
[TD]756
[/TD]
[TD]4560
[/TD]
[TD]1596
[/TD]
[/TR]
[TR]
[TD]Tom
[/TD]
[TD]3000
[/TD]
[TD]56
[/TD]
[TD]1520
[/TD]
[TD]3698
[/TD]
[/TR]
[TR]
[TD]Edwin
[/TD]
[TD]4000
[/TD]
[TD]56
[/TD]
[TD]1563
[/TD]
[TD]4563
[/TD]
[/TR]
</tbody>[/TABLE]
I want an Excel formula that will allow
1) match the Year in Row1, and match the Sales or Profit in Row 2
2) sum all the rows in the matched column
EG, I want Year=2001 & Sales, so the formula will sum = 8559 + 4560 +1520 +1563
Thank you!
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]2001
[/TD]
[TD]2001
[/TD]
[TD]2002
[/TD]
[TD]2002
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Sales
[/TD]
[TD]Profit
[/TD]
[TD]Sales
[/TD]
[TD]Profit
[/TD]
[/TR]
[TR]
[TD]James
[/TD]
[TD]1000
[/TD]
[TD]690
[/TD]
[TD]8559
[/TD]
[TD]1895
[/TD]
[/TR]
[TR]
[TD]Peter
[/TD]
[TD]2000
[/TD]
[TD]756
[/TD]
[TD]4560
[/TD]
[TD]1596
[/TD]
[/TR]
[TR]
[TD]Tom
[/TD]
[TD]3000
[/TD]
[TD]56
[/TD]
[TD]1520
[/TD]
[TD]3698
[/TD]
[/TR]
[TR]
[TD]Edwin
[/TD]
[TD]4000
[/TD]
[TD]56
[/TD]
[TD]1563
[/TD]
[TD]4563
[/TD]
[/TR]
</tbody>[/TABLE]