+ Reply to Thread
Results 1 to 2 of 2

Missing or Duplicate Data

  1. #1
    Registered User
    Join Date
    09-06-2005
    Posts
    1

    Missing or Duplicate Data

    I have a simple spreadsheet of 30 columns and 10 rows. Each column should have one cell containing letter "A" one cell containg letter "B" etc to "D" somewhere in the column. The remaining cells will have a dash or fwd slash. The letters will be in different rows in each column. I need to be warned at the base of each column if one of the 5 letters is missing or repeated. Thanks.

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    You can enter the following in row 11 of Column A, copy to the right as far as needed:

    =IF(OR(COUNTIF(A1:A10,"A")<>1,COUNTIF(A1:A10,"B")<>1,COUNTIF(A1:A10,"C")<>1,COUNTIF(A1:A10,"D")<>1),"ERROR","OK")

    If one of the letters is missing or duplicated, "ERROR" will be returned, else "OK" will appear in each cell of row 11.

    HTH

    Bruce
    Bruce
    The older I get, the better I used to be.
    USA

+ 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