+ Reply to Thread
Results 1 to 3 of 3

Thread: Found a maximum value with each 24 column

  1. #1
    Registered User
    Join Date
    03-04-2010
    Location
    Macau
    MS-Off Ver
    Excel 2003
    Posts
    7

    Found a maximum value with each 24 column

    I have all data in different column but in same row.

    Each 24 column represent 24 hours of one days and all have data on it, let say start from C50 to BEH 50

    My requirment is to found out the maximum value of each those 24 column and output would be stored in row 51. I input the formula at C51 = MAX(C50:Z:50) to count the first day, so i would like to how to let the next cell become i.e. C52= MAX(AA50:AX51) automatically without input the formula cell by cell.

    Thanks for any suggestion.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Found a maximum value with each 24 column

    Using your example layout:

    C51: =MAX(INDEX($C$50:$BE$50,1+24*(ROWS(C$51:C51)-1)):INDEX($C$50:$BE$50,24*ROWS(C$51:C51)))
    copied down as required

    you could also use OFFSET but though shorter & simpler in terms of syntax unlike the above it is Volatile

    C51: =MAX(OFFSET($C$50,,24*(ROWS(C$51:C51)-1),1,24))
    copied down

  3. #3
    Registered User
    Join Date
    03-04-2010
    Location
    Macau
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Found a maximum value with each 24 column

    Thanks for your help.

    You suggestion work as my exception.

    Furthermore, after founding out the maximum of each 24 column, i would like to how i could highlight those column with different color.

    Let say, the maximum volume found on the G51, AA51, after the use of new formula or function, whole Column G and AA would be highlight with different color.

    Thanks for any further suggestion.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0