Sum a column by the header name

kevin440red

New Member
Joined
May 23, 2011
Messages
26
Office Version
  1. 2019
How can I sum a column header by it's name? The column header will move to different columns from time to time.
The formulas I will use is below

=MAX(U10:U32)
{=MIN(IF($U$10:$U$32>0,$U$10:$U$32))}
=MAX(U10:U32)

Thanks
 

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
If your data is in a structured table you can use
+Fluff v2.xlsm
ABCDE
1namescore
2a0Max16
3b-3Min5
4c6
5d7
6e15
7f-4
8g-2
9h0
10i11
11j0
12k10
13l5
14m13
15n-1
16o15
17p8
18q16
19r-3
20s-4
Sheet1
Cell Formulas
RangeFormula
E2E2=MAX(Table1[score])
E3E3=MIN(IF(Table1[score]>0,Table1[score]))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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