+ Reply to Thread
Results 1 to 7 of 7

Pop-up message if condition not met

  1. #1
    Registered User
    Join Date
    03-23-2018
    Location
    Montreal, Canada
    MS-Off Ver
    10
    Posts
    14

    Pop-up message if condition not met

    I need help, please.
    I would like to assign "weights" to certain conditions in a column. The total should add to 100. I would like to trigger a message box, warning that the condition is not met, and the difference between the sum of the amounts entered and 100.
    Thanks!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Pop-up message if condition not met

    Dont really need a message box for this (which would require VBA), you could just put something in a cell that says something like...
    =if(sum(your-range)<>100,"TARGET Not Reached Yet","")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-23-2018
    Location
    Montreal, Canada
    MS-Off Ver
    10
    Posts
    14

    Re: Pop-up message if condition not met

    I am OK using VBA, but I don’t know how to trigger the appearance of a message when a cell becomes active.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Pop-up message if condition not met

    Did you consider using something like the formula I suggested?

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Pop-up message if condition not met

    .
    Paste in the sheet level module :

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-23-2018
    Location
    Montreal, Canada
    MS-Off Ver
    10
    Posts
    14

    Re: Pop-up message if condition not met

    Yes, thank you, It’s a possibility.

  7. #7
    Registered User
    Join Date
    03-23-2018
    Location
    Montreal, Canada
    MS-Off Ver
    10
    Posts
    14

    Re: Pop-up message if condition not met

    I will try it, thank you,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Re: Excel VBA : To create a pop up message whenever a certain condition is met
    By laxmikan74 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2017, 10:53 PM
  2. Multiple condition message box
    By Sephaerius in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-19-2013, 10:22 AM
  3. Message box and stoping macro until condition met
    By jimstrongy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-13-2012, 10:39 PM
  4. Testing a condition and generating a message box
    By Rynofasho in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-09-2010, 12:40 PM
  5. creation of message box as per mentioned condition
    By ss_bb_24 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-21-2008, 05:57 AM
  6. Printing on message box condition?
    By Simon Lloyd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2005, 08:05 AM
  7. Display message based on condition
    By Pat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2005, 07:06 PM

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