Sum multiple column if the header contains certain word

seeker123

Board Regular
Joined
Oct 8, 2011
Messages
84
Hi everyone

I have a very large database like below in every row I want to have the sum of budget,Actual and remaining man hour of all departments.
In other words i want to write a sumif based on header containing specific word.
how can I do that?

Thanks a lot.

ProjectBudget DevActual DevRemaining DevBudget DesignActual DesignRemaining DesignBudget DesignActual DesignRemaining DesignTotal BudgetTotal ActualTotal Remaining
Project1201010301515402020 Some of all budgetsSome of all ActualsSome of all Remainings
Project2502030601050201010 Some of all budgetsSome of all ActualsSome of all Remainings
Project3

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col span="2"><col></colgroup><tbody>
</tbody>
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,215,873
Messages
6,127,451
Members
449,383
Latest member
DonnaRisso

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