+ Reply to Thread
Results 1 to 3 of 3

List

  1. #1
    Registered User
    Join Date
    03-31-2009
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    1

    List

    I have a list of numbers. for example:

    1
    2
    3
    4
    5
    6
    4
    2
    1
    0
    3
    4
    5


    Notice the numbers go from low to high, then go back down to low, then back up to high. The first high is 6, the low that follows it is 0, and the final high is 5.

    Now, I have gazillions of data string, I just want to pick out the pivot points (meaning the highs or the lows). In other words, given the above string of numbers, the answer I want to derive at is simply 6,0 and 5. Do you know if I can do that via formulas?

    Thanks in advance!!!

  2. #2
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664

    Re: List

    Hi,

    How are you wanting your results returned? For instance, do you want everything in a single cell - i.e. 6,0,5, etc. or do you want each value in a single cell - i.e.

    6
    0
    5

    I'm thinking you can probably do something with the LARGE and SMALL formulas, but need some clarification.

    Cheers,

    SamuelT

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: List

    See attached for a suggestion.

    Suggestion uses a helper column to find the pivot points..

    then a count is done on these pivot points and another formula lists them in a column without blanks.

    Note: the formula in E2 is an array formula and must be confirmed with CTRL+SHIFT+ENTER not just ENTER to get the { } brackets...then it can be copied down as far as you want.

    Formula in B2:

    Please Login or Register  to view this content.
    copied down

    Formula in D2 to get count of pivots:
    Please Login or Register  to view this content.
    Formula in E2 to extract pivot points:

    Please Login or Register  to view this content.

    confirmed with CSE
    keys and copied down
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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