Sum column based on adjacent column values

chrislennon

New Member
Joined
Dec 8, 2005
Messages
1
Color Amount
Blue 100
Red 200
Blue 300

I want to find the sum of the amount column given a certain'Color' value. In the above example the sum of the 'blue' color would be 400 (100 + 300), and the sum of the red color would be 200

In other words its a basic SUMIF but based on criteria from an adjacent column rather than criteria in the column iteself

I'm guessing I use the COLUMN function maybe but I can't get this to work and it's almost midnight here (New Zealand)

any help much appreciated

Chris
 

Some videos you may like

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Watch MrExcel Video

Forum statistics

Threads
1,118,081
Messages
5,570,088
Members
412,310
Latest member
mark884
Top