+ Reply to Thread
Results 1 to 5 of 5

Locating a row in a table of data based on specified parameters

Hybrid View

  1. #1
    Registered User
    Join Date
    09-13-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Locating a row in a table of data based on specified parameters

    Hi - I'm looking for some formulas in the attached template to help me locate a date in a table of data, based either on specifying which of a succession of dates I am interested in [the first, second or Nth date] OR, more complicated, to locate a row containing a particular date after specifying some conditions to consider only some of the dates in the data rather than all of them...

    Apologies for not framing this question with greater Excel specificity! Your help greatly appreciated.....

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,660

    Re: Locating a row in a table of data based on specified parameters

    first

    =MATCH(SMALL(C8:C20,3),C$1:C20,0)
    second array formula (committed with Ctrl+Shift+Enter)

    =SMALL(IF(B8:B20="A",C8:C20,""),3)
    (person A, 3rd event date)

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

    Re: Locating a row in a table of data based on specified parameters

    I would rather not hard coded anyhing
    So
    =MATCH(SMALL(C8:C20,D7),C8:C20,0)
    where C7 is your 3,or n-th value to look ap
    and
    =SMALL(IF(B8:B20=$E$7,C8:C20,""),D7)
    where D7 is the attribute.
    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

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,660

    Re: Locating a row in a table of data based on specified parameters

    Hi Robert,
    Have you had a chance to look into the attachment?
    There is everything paramerized ;-) but for the sake of readability i wrote hardcoded versions in the text.

    May be it is worth noting, that Robert's way:
    =MATCH(SMALL(C8:C20,D7),C8:C20,0)
    formula will return the number of the row within the table, while my proposition
    =MATCH(SMALL(C8:C20,3),C$1:C20,0)
    returned the sheet row number

  5. #5
    Registered User
    Join Date
    09-13-2012
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Locating a row in a table of data based on specified parameters

    Thanks to Robert and to Kaper for very clear suggested solutions which I have implemented and which work 100%. Much appreciated.

+ 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. Index & Match a table of data using multiple parameters
    By monaghanmj44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-21-2013, 01:29 AM
  2. Find out the parameters from data table
    By alee001 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-05-2012, 04:27 AM
  3. Locating data in a table
    By engrexcel in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-29-2008, 08:12 PM
  4. Locating data based on cell color & pasting to new sheet
    By riggsd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2005, 04:23 PM
  5. How to summarize data based on specific parameters
    By Water guy in forum Excel General
    Replies: 1
    Last Post: 02-07-2005, 07:06 PM

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