+ Reply to Thread
Results 1 to 7 of 7

Need formula to find which column has the highest Total

  1. #1
    Registered User
    Join Date
    03-16-2009
    Location
    South Arica
    MS-Off Ver
    Excel 2003 & 7
    Posts
    8

    Need formula to find which column has the highest Total

    Good Day

    Please can I get some help with a formula for the following question

    I have a table with 4 columns.
    I would like to find formula that sums each column then returns the column header for the column with the highest total

    I have a formula to find the highest total =MAX(SUM(G40:G49),SUM(H40:H49),SUM(I40:I49),SUM(J40:J49))
    The answer is 2.6 mil and it is the sum of range: J40:J49
    I would like the formula to return "Import"

    The headers are in row 39
    column G = Local
    column H = Regional
    column I = dummy
    column J = Import

    Thanks in Advance
    - Joe

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need formula to find which column has the highest Total

    Why not simply put a SUM() function at the top of every column, in say row 1, then use

    =INDEX(G39:J39,1,MATCH(MAX(G1:J1),G1:J1))
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-16-2009
    Location
    South Arica
    MS-Off Ver
    Excel 2003 & 7
    Posts
    8

    Re: Need formula to find which column has the highest Total

    Good Day Richard

    Thank you for your reply.
    I cannot use the sum a the top of the column as the current range selection is for the top 10 only. I may want to extend the range at some point or sum with conditions. That is why I am trying to find a formula ( I think it will be an array ) to determine which column has the highest value in the ranges that I am selecting

    Thanks

    Joe

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need formula to find which column has the highest Total

    I don't understand. When I said use a SUM() at the top of the column I meant =SUM(G$40:G49) copied across

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: Need formula to find which column has the highest Total

    Try Formula
    HTML Code: 
    OR

    HTML Code: 

  6. #6
    Registered User
    Join Date
    03-16-2009
    Location
    South Arica
    MS-Off Ver
    Excel 2003 & 7
    Posts
    8

    Re: Need formula to find which column has the highest Total

    Good Day wk9128

    Thanks very for your solution . . . It works perfectly

    Joe

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,416

    Re: Need formula to find which column has the highest Total

    You're Welcome. Glad to help . Thank You for the feedback



    If you finally get a solution please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".
    - Please click on the *Add Reputation button at the bottom left.
    Last edited by wk9128; 08-30-2021 at 08:36 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 01-07-2020, 10:14 AM
  2. [SOLVED] Max formula to return total of highest, second highest and third highest value
    By JonWilf in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2016, 08:20 AM
  3. Replies: 2
    Last Post: 02-08-2016, 05:13 PM
  4. [SOLVED] Formula to find lowest/highest value in a column and return value to that cell
    By maryren in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-25-2013, 11:21 AM
  5. Replies: 1
    Last Post: 06-10-2013, 07:08 PM
  6. [SOLVED] Formula to find the total of different items in a single column
    By hardbnaqt in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 06-08-2012, 09:13 PM
  7. Replies: 2
    Last Post: 09-19-2008, 10:22 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1