+ Reply to Thread
Results 1 to 5 of 5

Formula for finding Start, Stop, Highest and Lowest value

  1. #1
    Registered User
    Join Date
    11-24-2014
    Location
    norway
    MS-Off Ver
    2010
    Posts
    37

    Formula for finding Start, Stop, Highest and Lowest value

    Dear Excel pros!

    I want to find and extract the following information from a matrix:

    - The first registered value within a specific date ("Start")
    - The last registered value within a specific date ("Stop")
    - The highest registered value within a specific date
    - The lowest registered value within a specific date

    (This will look very much like a table of stock values).

    So I need the four formulas to find this information within a table ("'Table 1") and copy the data to a new table ("Table 2").

    Please see the attached file for more information.

    Thank you in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    12,845

    Re: Formula for finding Start, Stop, Highest and Lowest value

    e5=if(countif($B$5:$B5,$B5)=1,C5,"") and drag down

    f5=if(countif($B$5:$B5,$B5)=countif($B$5:$B11,$B5),D5,"")

    after that a pivot table.

    see the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2010
    Posts
    4,141

    Re: Formula for finding Start, Stop, Highest and Lowest value

    Try in...

    G5=INDEX(Tabell1[Start],MATCH([@Date],Tabell1[Date],0))

    H5=LOOKUP([@Date],Tabell1[Date],Tabell1[Stop])

    I5=MAX(OFFSET(Tabell1[[#Headers],[Start]],MATCH([@Date],Tabell1[Date],0),,COUNTIF(Tabell1[Date],[@Date]),2))

    J5=MIN(OFFSET(Tabell1[[#Headers],[Start]],MATCH([@Date],Tabell1[Date],0),,COUNTIF(Tabell1[Date],[@Date]),2))

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2013
    Posts
    7,486

    Re: Formula for finding Start, Stop, Highest and Lowest value

    g5
    Please Login or Register  to view this content.
    h5
    Please Login or Register  to view this content.
    i5
    Please Login or Register  to view this content.
    j5
    Please Login or Register  to view this content.
    try the above and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Expert Josť Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,114

    Re: Formula for finding Start, Stop, Highest and Lowest value

    Or try this
    Please Login or Register  to view this content.

+ 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