Stuck with a SUMIF formula - Adding Column B based on Column A criteria.

jaywizz

New Member
Joined
Apr 16, 2007
Messages
5
OK so I have:
* column A which defines unit type
* column B which defines 2 criteria (OPEX or CAPEX)
* column C and onwards represents each calendar month and each line defines the amount of money that was spent

I want to be able to record the total amount for each type of spend each month:

i.e.

A B C
Unit Type November
Paint Capex $50.25
Sand Capex $25.50
Staff Opex $80.00
Summary Capex $75.75
Summary Opex $80.00




I can't seem to get the formula to work.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Two other options:
1. Create a pivot table that auto calculates the sums for you.
2. Create a dynamic range for the Type and Month columns, so that you don't have to continuously update the range.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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