+ Reply to Thread
Results 1 to 4 of 4

How do I find the first occurence of a series of data in a range and return the value

Hybrid View

  1. #1
    Registered User
    Join Date
    08-19-2013
    Location
    Santa Ana, California
    MS-Off Ver
    Excel 2010
    Posts
    5

    Smile How do I find the first occurence of a series of data in a range and return the value

    I need to find the first occurrence of 3 consecutive cells in a range that contain the same # in the cell and then return the value of the header in the column with the 3rd occurrence. See spreadsheet for details.

    Any help would be appreciated!!
    Thanks
    Becky
    Attached Files Attached Files

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: How do I find the first occurence of a series of data in a range and return the value

    From the dat you provided
    =INDEX($C$1:$N$1,MAX(IF($C2:$N2=3,COLUMN($C$2:$N$2)-COLUMN($C$2)-1))+2)
    Confirm Control+Shift +Enter
    But this will work for three consecutives 3.
    Is this what you after?
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Registered User
    Join Date
    08-19-2013
    Location
    Santa Ana, California
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: How do I find the first occurence of a series of data in a range and return the value

    That's exactly what I needed!! THANK YOU VERY MUCH!!

  4. #4
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: How do I find the first occurence of a series of data in a range and return the value

    You are welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to find the annualized return from a monthly return series
    By tulasiram in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-01-2013, 05:39 AM
  2. Countif to find 2nd occurence in range
    By BHudPE in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-02-2011, 06:55 PM
  3. Find the last occurence of data in a list
    By Bernman in forum Excel General
    Replies: 5
    Last Post: 06-26-2007, 12:47 AM
  4. [SOLVED] Find first occurence of specific data in a column.
    By Ben in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-24-2005, 11:06 AM
  5. [SOLVED] Find 1st occurence of value in Range 1 in Range 2
    By Ozbobeee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-23-2005, 09:06 AM

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