+ Reply to Thread
Results 1 to 4 of 4

Alert when conditions are met

  1. #1
    KingKarl
    Guest

    Alert when conditions are met

    I'm wondering if it is possible to get Excel to alert the user if a cell that
    contains a formula exceeds a restriction? In my case: cell B1:B12 are inputs,
    B13 is the sum and B14 is the upper limit for B13. I'm using Conditional
    Formatting, but it only turns the cell red. I want Excel to alert me with a
    text-box when B13 exceeds B14. Is this possible? Thanx in advance...

  2. #2
    Tom Ogilvy
    Guest

    Re: Alert when conditions are met

    Use the calculate event to check

    See Chip Pearson's site for information on events
    http://www.cpearson.com/excel/events.htm

    --
    Regards
    Tom Ogilvy


    "KingKarl" <[email protected]> wrote in message
    news:[email protected]...
    > I'm wondering if it is possible to get Excel to alert the user if a cell

    that
    > contains a formula exceeds a restriction? In my case: cell B1:B12 are

    inputs,
    > B13 is the sum and B14 is the upper limit for B13. I'm using Conditional
    > Formatting, but it only turns the cell red. I want Excel to alert me with

    a
    > text-box when B13 exceeds B14. Is this possible? Thanx in advance...




  3. #3
    Stevie_mac
    Guest

    Re: Alert when conditions are met

    There are several ways.
    1 possible way is to use Validation.

    Select cells B1:B12 , Click menu Data, Validation. Select 'Custom' from droplist and enter =$B$13<=$B$14 in the
    formula.

    Now when a user enters a value in B1 ~ B12 that makes B13 exceed B14, a Retry/Cancel box will appear.

    The user will have little clue why though, unless you specify a custom message (you do this on the 'Error Alert' tab
    when setting up the validation rule!)

    Let us know if this is no good & I or someone else will show you another way.

    NOTE: although this works for typed values, pasted values are not covered (you would need to handle this differently)

    Regards - Steve.

    "KingKarl" <[email protected]> wrote in message
    news:[email protected]...
    > I'm wondering if it is possible to get Excel to alert the user if a cell that
    > contains a formula exceeds a restriction? In my case: cell B1:B12 are inputs,
    > B13 is the sum and B14 is the upper limit for B13. I'm using Conditional
    > Formatting, but it only turns the cell red. I want Excel to alert me with a
    > text-box when B13 exceeds B14. Is this possible? Thanx in advance...




  4. #4
    KingKarl
    Guest

    Re: Alert when conditions are met

    Worked perfectly well :-) thanx

    Stevie_mac skrev:

    > There are several ways.
    > 1 possible way is to use Validation.
    >
    > Select cells B1:B12 , Click menu Data, Validation. Select 'Custom' from droplist and enter =$B$13<=$B$14 in the
    > formula.
    >
    > Now when a user enters a value in B1 ~ B12 that makes B13 exceed B14, a Retry/Cancel box will appear.
    >
    > The user will have little clue why though, unless you specify a custom message (you do this on the 'Error Alert' tab
    > when setting up the validation rule!)
    >
    > Let us know if this is no good & I or someone else will show you another way.
    >
    > NOTE: although this works for typed values, pasted values are not covered (you would need to handle this differently)
    >
    > Regards - Steve.
    >
    > "KingKarl" <[email protected]> wrote in message
    > news:[email protected]...
    > > I'm wondering if it is possible to get Excel to alert the user if a cell that
    > > contains a formula exceeds a restriction? In my case: cell B1:B12 are inputs,
    > > B13 is the sum and B14 is the upper limit for B13. I'm using Conditional
    > > Formatting, but it only turns the cell red. I want Excel to alert me with a
    > > text-box when B13 exceeds B14. Is this possible? Thanx in advance...

    >
    >
    >


+ 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