+ Reply to Thread
Results 1 to 3 of 3

Displaying an Automatic Error Message

  1. #1
    Registered User
    Join Date
    04-19-2007
    Posts
    1

    Displaying an Automatic Error Message

    I'm attempting to have an error message automatically display in a cell. The error message should display when a group of cells with percentages in them do not add up to 100%. How is this done?

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    HI

    One way is to use an IF statement to show the error message when the sum is not 100%, and use conditional formatting to make the cell obvious.

    Put a formula like
    =if(sum(yourrange) <> 1, "PROBLEM HERE","")
    in a cell (say C1) then use conditional formatting on C1 to highlight the cell when the result is PROBLEM HERE.


    HTH

    rylo

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480
    try out data validation
    select the range you want data validation

    goto data, validation, work with the conditions there.....

    also, search the internet on
    data validation excel

+ 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