+ Reply to Thread
Results 1 to 10 of 10

Alert in Excel???

Hybrid View

Guest Alert in Excel??? 01-21-2006, 10:55 AM
Guest RE: Alert in Excel??? 01-21-2006, 11:10 AM
Guest RE: Alert in Excel??? 01-21-2006, 12:15 PM
Guest RE: Alert in Excel??? 01-21-2006, 12:45 PM
Guest RE: Alert in Excel??? 01-22-2006, 06:40 AM
  1. #1
    peaspud
    Guest

    Alert in Excel???

    HI,
    Is there a function in excel that alerts you if you have entered a number
    (or word!) more than an agreed amount of times??
    e.g. If you have agreed not to input the number 7 more than 3 times in a
    selected range, but then do so, will excel inform you??
    I know it sounds weird but im doing a dream team at work and i need as much
    help as i can get!!
    Thanks

  2. #2
    Ron Coderre
    Guest

    RE: Alert in Excel???

    Try this:

    For cells A1:A10

    Select A1:A10 (with A1 as the active cell)
    Data>Validation
    Allow: Custom
    Formula: =COUNTIF($A$1:$A$10,A1)<=3
    Click the [OK] button

    That will allow the same entry in that range a maximum of 3 times.

    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "peaspud" wrote:

    > HI,
    > Is there a function in excel that alerts you if you have entered a number
    > (or word!) more than an agreed amount of times??
    > e.g. If you have agreed not to input the number 7 more than 3 times in a
    > selected range, but then do so, will excel inform you??
    > I know it sounds weird but im doing a dream team at work and i need as much
    > help as i can get!!
    > Thanks


  3. #3
    peaspud
    Guest

    RE: Alert in Excel???

    Thank for your advice ron,but now that i have put in the suggest formula, it
    wont let me put anything in those cells. "A user has restricted values that
    can be enterd in this cell" error message appears?? im sure i have entered it
    correctly??
    Thanks

    "Ron Coderre" wrote:

    > Try this:
    >
    > For cells A1:A10
    >
    > Select A1:A10 (with A1 as the active cell)
    > Data>Validation
    > Allow: Custom
    > Formula: =COUNTIF($A$1:$A$10,A1)<=3
    > Click the [OK] button
    >
    > That will allow the same entry in that range a maximum of 3 times.
    >
    > Does that help?
    >
    > ***********
    > Regards,
    > Ron
    >
    > XL2002, WinXP-Pro
    >
    >
    > "peaspud" wrote:
    >
    > > HI,
    > > Is there a function in excel that alerts you if you have entered a number
    > > (or word!) more than an agreed amount of times??
    > > e.g. If you have agreed not to input the number 7 more than 3 times in a
    > > selected range, but then do so, will excel inform you??
    > > I know it sounds weird but im doing a dream team at work and i need as much
    > > help as i can get!!
    > > Thanks


  4. #4
    Ron Coderre
    Guest

    RE: Alert in Excel???

    You should only get that message if the same value is already in the
    referenced range 3 or more times. If that is not the case, then the
    validation formula needs to be adjusted.

    However, if you only want the user to be warned, but still allowed to enter
    the value then:

    Select the range to be validated.
    Data>Validation
    (adjust your validation constraints, if necessary)
    Select the "Error Alert" tab
    Set the Style to either Warning or Information.
    Click the [OK] button.

    Now, if users enter a value for the 4th time...they will only be notified of
    the situation, but still allowed to enter the same value.

    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "peaspud" wrote:

    > Thank for your advice ron,but now that i have put in the suggest formula, it
    > wont let me put anything in those cells. "A user has restricted values that
    > can be enterd in this cell" error message appears?? im sure i have entered it
    > correctly??
    > Thanks
    >
    > "Ron Coderre" wrote:
    >
    > > Try this:
    > >
    > > For cells A1:A10
    > >
    > > Select A1:A10 (with A1 as the active cell)
    > > Data>Validation
    > > Allow: Custom
    > > Formula: =COUNTIF($A$1:$A$10,A1)<=3
    > > Click the [OK] button
    > >
    > > That will allow the same entry in that range a maximum of 3 times.
    > >
    > > Does that help?
    > >
    > > ***********
    > > Regards,
    > > Ron
    > >
    > > XL2002, WinXP-Pro
    > >
    > >
    > > "peaspud" wrote:
    > >
    > > > HI,
    > > > Is there a function in excel that alerts you if you have entered a number
    > > > (or word!) more than an agreed amount of times??
    > > > e.g. If you have agreed not to input the number 7 more than 3 times in a
    > > > selected range, but then do so, will excel inform you??
    > > > I know it sounds weird but im doing a dream team at work and i need as much
    > > > help as i can get!!
    > > > Thanks


  5. #5
    peaspud
    Guest

    RE: Alert in Excel???

    Thanks ron,
    that has helped.i now understand how it works. One more question (sorry for
    being so cheeky) if i wanted to do the same with words rather than
    numbers,how would i correct the foumula.
    e.g. If the word "Dad" was used more than twice.
    Thanks again for your help.
    Greg.Nixon

    "Ron Coderre" wrote:

    > You should only get that message if the same value is already in the
    > referenced range 3 or more times. If that is not the case, then the
    > validation formula needs to be adjusted.
    >
    > However, if you only want the user to be warned, but still allowed to enter
    > the value then:
    >
    > Select the range to be validated.
    > Data>Validation
    > (adjust your validation constraints, if necessary)
    > Select the "Error Alert" tab
    > Set the Style to either Warning or Information.
    > Click the [OK] button.
    >
    > Now, if users enter a value for the 4th time...they will only be notified of
    > the situation, but still allowed to enter the same value.
    >
    > Does that help?
    >
    > ***********
    > Regards,
    > Ron
    >
    > XL2002, WinXP-Pro
    >
    >
    > "peaspud" wrote:
    >
    > > Thank for your advice ron,but now that i have put in the suggest formula, it
    > > wont let me put anything in those cells. "A user has restricted values that
    > > can be enterd in this cell" error message appears?? im sure i have entered it
    > > correctly??
    > > Thanks
    > >
    > > "Ron Coderre" wrote:
    > >
    > > > Try this:
    > > >
    > > > For cells A1:A10
    > > >
    > > > Select A1:A10 (with A1 as the active cell)
    > > > Data>Validation
    > > > Allow: Custom
    > > > Formula: =COUNTIF($A$1:$A$10,A1)<=3
    > > > Click the [OK] button
    > > >
    > > > That will allow the same entry in that range a maximum of 3 times.
    > > >
    > > > Does that help?
    > > >
    > > > ***********
    > > > Regards,
    > > > Ron
    > > >
    > > > XL2002, WinXP-Pro
    > > >
    > > >
    > > > "peaspud" wrote:
    > > >
    > > > > HI,
    > > > > Is there a function in excel that alerts you if you have entered a number
    > > > > (or word!) more than an agreed amount of times??
    > > > > e.g. If you have agreed not to input the number 7 more than 3 times in a
    > > > > selected range, but then do so, will excel inform you??
    > > > > I know it sounds weird but im doing a dream team at work and i need as much
    > > > > help as i can get!!
    > > > > Thanks


  6. #6
    Ron Coderre
    Guest

    RE: Alert in Excel???

    If you mean that you only want to ensure that the word "Dad" is not entered
    more than twice, then try this formula in the Data Validation:

    Formula: =COUNTIF($A$1:$A$10,"Dad")<=2

    I hope that helps?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "peaspud" wrote:

    > Thanks ron,
    > that has helped.i now understand how it works. One more question (sorry for
    > being so cheeky) if i wanted to do the same with words rather than
    > numbers,how would i correct the foumula.
    > e.g. If the word "Dad" was used more than twice.
    > Thanks again for your help.
    > Greg.Nixon
    >
    > "Ron Coderre" wrote:
    >
    > > You should only get that message if the same value is already in the
    > > referenced range 3 or more times. If that is not the case, then the
    > > validation formula needs to be adjusted.
    > >
    > > However, if you only want the user to be warned, but still allowed to enter
    > > the value then:
    > >
    > > Select the range to be validated.
    > > Data>Validation
    > > (adjust your validation constraints, if necessary)
    > > Select the "Error Alert" tab
    > > Set the Style to either Warning or Information.
    > > Click the [OK] button.
    > >
    > > Now, if users enter a value for the 4th time...they will only be notified of
    > > the situation, but still allowed to enter the same value.
    > >
    > > Does that help?
    > >
    > > ***********
    > > Regards,
    > > Ron
    > >
    > > XL2002, WinXP-Pro
    > >
    > >
    > > "peaspud" wrote:
    > >
    > > > Thank for your advice ron,but now that i have put in the suggest formula, it
    > > > wont let me put anything in those cells. "A user has restricted values that
    > > > can be enterd in this cell" error message appears?? im sure i have entered it
    > > > correctly??
    > > > Thanks
    > > >
    > > > "Ron Coderre" wrote:
    > > >
    > > > > Try this:
    > > > >
    > > > > For cells A1:A10
    > > > >
    > > > > Select A1:A10 (with A1 as the active cell)
    > > > > Data>Validation
    > > > > Allow: Custom
    > > > > Formula: =COUNTIF($A$1:$A$10,A1)<=3
    > > > > Click the [OK] button
    > > > >
    > > > > That will allow the same entry in that range a maximum of 3 times.
    > > > >
    > > > > Does that help?
    > > > >
    > > > > ***********
    > > > > Regards,
    > > > > Ron
    > > > >
    > > > > XL2002, WinXP-Pro
    > > > >
    > > > >
    > > > > "peaspud" wrote:
    > > > >
    > > > > > HI,
    > > > > > Is there a function in excel that alerts you if you have entered a number
    > > > > > (or word!) more than an agreed amount of times??
    > > > > > e.g. If you have agreed not to input the number 7 more than 3 times in a
    > > > > > selected range, but then do so, will excel inform you??
    > > > > > I know it sounds weird but im doing a dream team at work and i need as much
    > > > > > help as i can get!!
    > > > > > Thanks


+ 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