+ Reply to Thread
Results 1 to 4 of 4

Need message box alert if formula result <10

  1. #1
    Registered User
    Join Date
    08-05-2014
    Location
    Virginia Beach, VA
    MS-Off Ver
    Office 2010
    Posts
    3

    Need message box alert if formula result <10

    I am working on creating a mileage log and I would like to create a pop-up alert if the mileage input is less than 10 ("Trips less than 10 miles are not reimbursable.").

    I've tried a few things and they either don't work at all, or give me a message box regardless of the value in the cell. I think the problem might be that my target (column E) is a formula that links to a lookup table on another sheet: (IFERROR((VLOOKUP9(B10,Locations!$A$1:$C$100,3,FALSE)),""). Or maybe it's something else??

    I have attached a copy of my worksheet. Thank you!
    mileage log.xlsm

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Need message box alert if formula result <10

    If this is regarding manual entry, you can use Data Validation to do this.

    See the Data Validation menu in the Data Tab, and select an Error Alert to make a popup.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,482

    Re: Need message box alert if formula result <10

    Your VBA Project is password protected. Do you want me to break in, or will you share the password or would you prefer to upload an unprotected version of the workbook?

    To save time, a Worksheet Change event will only fire if a manual change is made to the cell, or th cell is changed by code. It will not fire if the cell contains a formula, regardless of whether or not the value of the formula changes. You would either need to monitor the cell's precedents, directly or indirectly.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    08-05-2014
    Location
    Virginia Beach, VA
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Need message box alert if formula result <10

    Oops, the password is "cinnamon".

+ 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. New message alert... doesn't ALERT me very well
    By Xx7 in forum Outlook Formatting & Functions
    Replies: 6
    Last Post: 07-20-2011, 03:54 PM
  2. Message Alert
    By anwitha in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2010, 08:21 AM
  3. Formula for Alert or Message
    By tariqnaz2005 in forum Excel General
    Replies: 9
    Last Post: 12-09-2009, 04:42 AM
  4. [SOLVED] popup message if certain criteria met in formula result
    By John Davies in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  5. Alert Message
    By holbeit in forum Excel General
    Replies: 0
    Last Post: 03-10-2005, 10:51 AM

Tags for this Thread

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