+ Reply to Thread
Results 1 to 3 of 3

Function to seach a max value from ddmmyyhh

  1. #1
    Registered User
    Join Date
    11-22-2006
    Posts
    19

    Function to seach a max value from ddmmyyhh

    Hi there

    Now i'm using a max(num1,num2) to seach a max value from ddmmyyhh, if i have more data, then is a bit slow,, due to manual clicking

    it's anyother function to do same method?. I'm attached the sample of one data with date and value.

    thanks

    br, mohsin
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,621
    A quick solution:
    1. Insert a new column between the DATE & VALUE columns; call it DAY.
    2. Enter the formula:
    =LEFT(B2,8) "replace B2 with whichever column has the yyyymmddhh formatted date"
    in the second row of the new column (C) and copy down (this will extract the date from your date-time value)
    3. Select the entire Day and Value columns.
    4. Menubar- Data>Subtotal:
    • For each change in: DAY
    • Use function: MAX
    • Add subtotal to: Value
    • Summary below data



    Last edited by protonLeah; 12-14-2006 at 01:50 AM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    11-22-2006
    Posts
    19
    Hi proton,

    Thanks for the answer, Here i don't want to change the date format.
    Objective here is to return the max value from one day. That's why i'm using max function to check the max value from the table.

    br, mohsin

+ 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.6.0 RC 1