+ Reply to Thread
Results 1 to 4 of 4

Warn if already entered

Hybrid View

Guest Warn if already entered 02-18-2005, 10:06 AM
Guest Re: Warn if already entered 02-18-2005, 10:06 AM
Guest Warn if already entered 02-18-2005, 10:06 AM
Guest Re: Warn if already entered 02-18-2005, 10:06 AM
  1. #1
    Pat
    Guest

    Warn if already entered

    example:

    A1 = "car" B1 =
    A2 = "lorry" B2 =
    A3 = "tractor" B3 =
    A4 = "bus" B4 =
    A5 = "tractor" B5 = "this item has already been entered"


    I need a formula to be entered into col"B" to give the message described.
    Any suggestion?

    Ta



  2. #2
    Ragdyer
    Guest

    Re: Warn if already entered

    Try this in B1, and copy down as needed:

    =IF(COUNTIF($A$1:A1,A1)>1,"This item has already been entered","")

    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "Pat" <glass_patrick@hotmail.com> wrote in message
    news:%23yYI8iMFFHA.2824@tk2msftngp13.phx.gbl...
    > example:
    >
    > A1 = "car" B1 =
    > A2 = "lorry" B2 =
    > A3 = "tractor" B3 =
    > A4 = "bus" B4 =
    > A5 = "tractor" B5 = "this item has already been entered"
    >
    >
    > I need a formula to be entered into col"B" to give the message described.
    > Any suggestion?
    >
    > Ta
    >
    >



  3. #3
    Biff
    Guest

    Warn if already entered

    Hi!

    If you enter the data from the top down all the time:

    Leave B1 empty. A1 is the top cell so nothing could have
    been "already entered", right?

    In B2 enter this formula and copy down as needed:

    =IF(COUNTIF(A$1:A2,A2)>1,"This item has already been
    entered","")

    Biff

    >-----Original Message-----
    >example:
    >
    >A1 = "car" B1 =
    >A2 = "lorry" B2 =
    >A3 = "tractor" B3 =
    >A4 = "bus" B4 =
    >A5 = "tractor" B5 = "this item has already been entered"
    >
    >
    >I need a formula to be entered into col"B" to give the

    message described.
    >Any suggestion?
    >
    >Ta
    >
    >
    >.
    >


  4. #4
    Arvi Laanemets
    Guest

    Re: Warn if already entered

    Hi

    You can use custom data validation, to restrict non-unicue entries into
    range. When an attempt to enter some value repeatedly, an error message (you
    can design it yourself, or leave the standard message unchanged) pops up,
    the user is informed about input error, and he/she is allowed to choose or
    to retry or to cancel.

    P.e. Select the range A1:A100 and then from Data menu Validation. Set Allow:
    to Custom, and into Formula field enter
    =COUNTIF(A:A,A1)<2
    Activate Error Alert tab, and into Title field enter something like:
    Input Error!
    Into Error Message field enter something like:
    Only unique entries are allowed! This entry already exist in column A!
    Press OK

    Now try to enter any double entry into range A1:A100.

    --
    When sending mail, use address arvil<at>tarkon.ee
    Arvi Laanemets


    "Pat" <glass_patrick@hotmail.com> wrote in message
    news:%23yYI8iMFFHA.2824@tk2msftngp13.phx.gbl...
    > example:
    >
    > A1 = "car" B1 =
    > A2 = "lorry" B2 =
    > A3 = "tractor" B3 =
    > A4 = "bus" B4 =
    > A5 = "tractor" B5 = "this item has already been entered"
    >
    >
    > I need a formula to be entered into col"B" to give the message described.
    > Any suggestion?
    >
    > Ta
    >
    >




+ 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