+ Reply to Thread
Results 1 to 7 of 7

Find first data in a row

  1. #1
    Registered User
    Join Date
    02-04-2015
    Location
    baku
    MS-Off Ver
    2013
    Posts
    6

    Smile Find first data in a row

    Hi.

    I need to find first and last day number of each category.

    For Example: in 1st row if I choose Pear, i want to return me last day Day15 and first day in a row Day12 NOT Day3.

    in 2nd row if I choose Dog, i want to return me last day Day9 and first day in a row Day6 NOT Day2.

    File I have attached.


    I highly appreciate your help.

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Find first data in a row

    welcome to the forum. try:
    =LOOKUP(2,1/(C3:Q3="Pear"),$C$2:$Q$2)

    or if pear is in a cell like A6 for eg:
    =LOOKUP(2,1/(C3:Q3=A6),$C$2:$Q$2)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    02-04-2015
    Location
    baku
    MS-Off Ver
    2013
    Posts
    6

    Re: Find first data in a row

    Thanks.

    But formula shows only latest date. But I need first date of row.

  4. #4
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Find first data in a row

    See attached workbook.
    Type a categorie in column R.
    Attached Files Attached Files
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,605

    Re: Find first data in a row

    Try this simple formulas
    For First day
    Please Login or Register  to view this content.
    For Last Day
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 10-05-2018 at 07:32 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Registered User
    Join Date
    02-04-2015
    Location
    baku
    MS-Off Ver
    2013
    Posts
    6

    Re: Find first data in a row

    Thank you so much.

    Formula is super.

  7. #7
    Registered User
    Join Date
    02-04-2015
    Location
    baku
    MS-Off Ver
    2013
    Posts
    6

    Re: Find first data in a row

    Thank you. Awesome

+ 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. Loop through column to find EID then find date and paste corresponding data
    By CieloSalas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-01-2017, 06:33 PM
  2. Large Data base, need to sift through and find duplicates to find x.
    By granger42.t in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-19-2015, 03:09 AM
  3. Large Data base, need to sift through and find duplicates to find x.
    By granger42.t in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-18-2015, 10:32 PM
  4. [SOLVED] How to code the selection.find not to crash when the data to find is blank
    By evertjvr in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-25-2012, 03:04 PM
  5. Find Macro With Userform - To find a data across multiple tabs in excel
    By Testify in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-15-2012, 04:49 PM
  6. [SOLVED] Despite data existing in Excel 2002 spreadsheet Find doesn't find
    By AnnieB in forum Excel General
    Replies: 1
    Last Post: 06-15-2006, 09:15 PM
  7. [SOLVED] FIND DATA WITHIN DATA (V-OR-H LOOKUP/FIND/MATCH?)
    By Jaladino in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-22-2005, 08:06 PM

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