+ Reply to Thread
Results 1 to 3 of 3

Thread: Need to find duplicates based on criteria in two columns

  1. #1
    Registered User
    Join Date
    07-29-2011
    Location
    San Cristobal, Galapagos
    MS-Off Ver
    Excel for Mac 2010
    Posts
    4

    Need to find duplicates based on criteria in two columns

    I need a formula to look at two columns and alert me if there are duplicates. Column M is the DATE and the Column P is the HOTEL NAME. I need to know if I have double booked the same hotel on the same date.

  2. #2
    Registered User
    Join Date
    09-26-2010
    Location
    A, A
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Need to find duplicates based on criteria in two columns

    =sumproduct(($m$2:$m$27=m2)*($n$2:$n$27=n2))

  3. #3
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Need to find duplicates based on criteria in two columns

    Hi

    Ranges in the example= MI:M8 & P1:P8

    Then try this.

    =IF(COUNTIF($M$1:$M$8;M1)/COUNTIF($P$1:$P$8;P1)=0,4;"Doumble booked";"OK!!"))

    Pull down to Row 8.

    Hope to helps you.
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

+ 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.2.0