Results 1 to 5 of 5

LookUp or Match Formula: MAX/MIN Value

Threaded View

  1. #1
    Forum Contributor
    Join Date
    10-05-2010
    Location
    CA
    MS-Off Ver
    Excel 365
    Posts
    539

    LookUp or Match Formula: MAX/MIN Value

    Hello,
    Can anyone help me with a creating three lookup, match, or index formulas, whichever works best for the situation?

    1.) I need a formula that looks for the MAX value in a column between two specific time periods.

    2.) I need a formula that looks for the MIN value in a column between two specific time periods.

    3.) I need a formula that finds the value of a cell in the same row but "7" spaces back but I'd also like to be able to change the number of spaces if needed.

    The first two formulas can't count cells because the time can shift and move, so it needs to look for that specific time.

    Please see example:
    OPEN HIGH LOW CLOSE
    A1: 3:00 B1: 350 C1: 50 D1: 300
    A2: 4:00 B2: 250 C2: 70 D2: 200
    A3: 5:00 B3: 200 C3: 100 D3: 300
    A4: 6:00 B4: 700 C4: 400 D4: 600
    A5: 7:00 B5: 800 C5: 300 D5: 500
    A6: 8:00 B6: 500 C6: 300 D6: 700
    A7: 4:00 B6: 700 C6: 500 D6: 600

    E7:=[MAX] Would contain the formula that would search for the MAX value between the current time "A3"/"4:00" and the 1st previous time "A5"/"5:00" appears in the cells above it only. So it would search between A3:A7 and would return "B5" or 500.

    F7:=[MIN] Would contain the formula that would search for the MIN value between the current time "A3"/"4:00" and the 1st previous time "A5"/"5:00" appears in the cells above it only. So it would search between A3:A7 and would return "C3" or 100.

    G7:=[Close] Would contain the formula that would search for the value of the cell in the same row "X" number of cells back or the close in the same row. So, "G7" would return
    cell "D6" or 600.

    Please see attached spreadsheet for a better understanding.

    Thanking you for taking the time to read this post and for any and all help you can provide on any of these formulas.
    Attached Files Attached Files
    Last edited by artiststevens; 02-19-2011 at 05:37 AM.

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