+ Reply to Thread
Results 1 to 8 of 8

Formula if exist same name in same range

  1. #1
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Formula if exist same name in same range

    Hi Experts,

    I have file with Name, From Date, To Date, Status columns, I want formula in Status columns if same name again coming in same range it will show" already exist"

    example: Farhan exist 2 time in same range 8/30/18

    Thanks in advance.
    Farhan
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.97.2 for Mac MS 365
    Posts
    8,708

    Re: Formula if exist same name in same range

    deleted, missed criteria
    Last edited by Sam Capricci; 09-25-2018 at 10:32 AM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.97.2 for Mac MS 365
    Posts
    8,708

    Re: Formula if exist same name in same range

    Deleted, see that you wanted to include the date too. Will redo.

  4. #4
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: Formula if exist same name in same range

    yes both dates range

  5. #5
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: Formula if exist same name in same range

    if 8/30/18 coming in "from date" and also is come on "to date" so it will exist.

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,202

    Re: Formula if exist same name in same range

    Step1: Sort Name -> A toZ

    Step2: Sort From date -> Oldest to Newest

    Try this in E2:

    =IF(A3<>A2,"",IF(B3<=C2,"Already Exist","Not Exist"))

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula if exist same name in same range

    Try this in D2:

    =IF(AND(COUNTIFS(A:A,A2,C:C,">="&B2,B:B,"<="&C2)>1,COUNTIF(A$2:A2,A2)>1),"Already Exist","Not Exist")

    This assumes that you want to look at the whole date range, not just the start and end dates.

  8. #8
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: Formula if exist same name in same range

    Hi Phucam,
    there are huge data and continuously data type daily basis, I just want when I type name with range it will show it is already exist or not, it will some confusion first sort and then formula will work.

+ 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. [SOLVED] Formula to check if any decimal exist in the range of values
    By Masa1989 in forum Excel General
    Replies: 3
    Last Post: 07-27-2015, 03:56 AM
  2. Formula IF exist in Pivot Table field and in a Named Range
    By QcSylvanio in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 04-18-2013, 02:46 PM
  3. Find text in range of cells and add to table if it does not exist in range
    By dgadler1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2013, 12:54 PM
  4. Does Named range exist?
    By Cbrehm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2011, 08:48 AM
  5. Numbers Exist/Not exist in a range
    By ElmerS in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-04-2008, 04:34 PM
  6. Replies: 4
    Last Post: 06-18-2006, 01:10 PM
  7. Compare a selected Range with a Named range and select cells that do not exist
    By PCLIVE in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2005, 03:05 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