How to sum a column or multiple columns based on header name in Excel?

As the below screenshot shown, if a header name is “Mar” in the data range, then return the total value of this column, how to get it done? The method in this article can do you a favor.

Sum a column or multiple columns based on header name with formula
Easily sum a column or multiple columns based on header name with an amazing tool

More tutorials for Sum...

Sum a column or multiple columns based on header name with formula

The formulas in this section will help you sum a column or multiple columns based on specific header name in Excel.

Sum a column based on header name

1. Select a blank cell to output the result, then, copy and paste the below formula into it and press the Enter key to get the result.


Sum two or more columns based on header name

If you want to return the sum of two or more related columns based on a specific header name, you can apply the below formula.

1. Select a blank cell, copy and paste the below formula into it and press the Enter key to get the result.


Note: In the above formulas, B2:I7 is the data range that you want to use; B9 contains the header name you will sum the column numbers based on; B1:I1 is the range of cells that contains the header name you are searching for. Please change them to meet your needs.

Easily sum a column or multiple columns based on header name with an amazing tool

Besides, for making work more efficient, you can try the LOOKUP and Sum feature of Kutools for Excel. With this feature, you can easily sum a column or multiple columns based on certain header name with only clicks. Please do as follows.

Before applying Kutools for Excel, please download and install it firstly.

1. Click Kutools > Super LOOKUP > LOOKUP and Sum.

2. In the LOOKUP and Sum dialog box, please configure as follows.

  • 2.1 Select Lookup and sum matched value(s) in column(s) option in the Lookup and Sum Type section;
  • 2.2 Specify the lookup data, output range and the data table range in the Select Range section;
  • 2.3 In the Options section, if you only want to sum a column for the first matched value, please check the Return the sum of the first matched value option;
    If you want to sum multiple columns for all matched values, choose the Return the sum of all matched values option;
  • 2.4 Click the OK button.

Then you will get the result immediately based on your settings.
A formula will created at the same time, when changing the original values, the result will update automatically.

  If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps.

Related articles

Sum values between two dates range in Excel
When there are two lists in your worksheet, one is the list of dates, the other is the list of the values. And you want to sum up the values between two dates range only, for instance, sum up the values between 3/4/2014 and 5/10/2014, how can you calculate them quickly? Here this article introduces a formula for you to sum up them in Excel.

Sum values based on criteria in another column in Excel
Sometimes you want to sum the values based on criteria in another column, for instance, here I only want to sum up the "Sale Volume" column where the corresponding "Product" column equals "A" as show as below, how can you do it? Of course, you can sum them one by one, but here I introduce some simple methods for you to sum the values in Excel.

Use vlookup and sum in Excel
Using vlookup and sum function helps you quickly find out the specified criteria and sum the corresponding values at the same time. This article showa you how to combine the vlookup and sum in the formula and then use it to vlookup and sum all matches in columns or rows.

Sum multiple columns based on single criteria in Excel
In Excel, you may always need to sum multiple columns based on one criteria. For example, you have a range of date cells, and you want to get the total values of KTE in three months - Jan, Feb and Mar, How can you do? The methods in this article will do you a favor.

More tutorials for Sum...

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.