+ Reply to Thread
Results 1 to 5 of 5

Calculate the maximum values of all their cells and then sum them.

  1. #1
    Registered User
    Join Date
    06-25-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Calculate the maximum values of all their cells and then sum them.

    Hello everyone, I just signed up and I always rarely used Excel (so I know very few things), but recently I've been trying to finish a series of worksheets that I think is too long to be done manually so I decided to ask for help . Here is the situation: I have four columns and what I want to do is to calculate the maximum values of all their cells and then sum them. http://s2.postimg.org/7vnl9y3jd/Excel_Example.png

    But here it's still quite easy even for me, the problem instead is that I have a higher number of columns (almost 5000) from which I want to obtain again the maximum values of the cells and the sum of the maximum values, and all this done always considering four columns at a time.
    http://s2.postimg.org/7vnl9y3jd/Excel_Example.png http://s9.postimg.org/z2x6swydr/Excel_Example1.png

    Here there are only the first eight columns, but, since are many more, is there a way speed up the whole process instead of replacing them all the times?

    Thank you in advance.
    Attached Images Attached Images
    Last edited by 18_types; 06-25-2013 at 08:43 PM. Reason: attached files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Can the process be shortened?

    cannot open your attached file
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    08-28-2012
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2010
    Posts
    57

    Re: Can the process be shortened?

    Hi

    if you post a sample excel sheet it will be ease to solve your probblem.

  4. #4
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Calculate the maximum values of all their cells and then sum them.

    Try,

    =SUMPRODUCT(SUBTOTAL(4,OFFSET(A2:D2,ROW(A2:A100)-ROW(A2),)))

    Adjust Red color with all columns in the range
    Adjust Blue color with Length of the range.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  5. #5
    Registered User
    Join Date
    06-25-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Calculate the maximum values of all their cells and then sum them.

    Thanks, that seems to work!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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