+ Reply to Thread
Results 1 to 2 of 2

Formula Question:search the entire grid

Hybrid View

  1. #1
    Registered User
    Join Date
    07-29-2006
    Posts
    85

    Formula Question:search the entire grid

    I have a payment grid where there may be some duplicate payments. I want to weed out the duplicates so I can research them. What I need is a formula that will look at a line, then it will search the entire grid and see if there any othe rows with the same job number in column A and then also the same payment in column M. If both conditions are true it will put a "Yes" in column N and if not then it will put a "No". That way I should be able to sort the grid and take out all the duplicates so I don't have to go through all 4500 rows of the grid.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    An easy way to do this is to create an extra column which contains the values in columns A and M concatenated together.

    e.g.

    = A1 & "/" & M1

    in row 1 of the new column and copied down.

    In a second additional column, you can use the COUNTIF function to count how many times that combination appears. If you have a duplicate, you'll get a figure greater than 1

    e.g. (assuming that your first extra column is P), type this into Q1 and copy down

    = COUNTIF(P:P,P1)

    or if you just want a YES then

    = IF(COUNTIF(P:P,P1)> 1, "YES","")
    Martin

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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