ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula Pop Up Error Msgs (https://www.excelbanter.com/excel-discussion-misc-queries/22618-formula-pop-up-error-msgs.html)

TW

Formula Pop Up Error Msgs
 
Hi,

This should be an easy one. I want to display an error message when the
cell that has the speed formula (Miles / Hours) exceeds 515 mph or is below
440 mph. I have not had success with the data validation route. With IF
statements I can get error messages in the cell, but Id really like and
error dialog box to pop up so the user is forced to correct the error or give
rational for the unusual speed.

Im a novice that doesnt know VBA, so I pretty much need step by step
instructions.

Thanks In Advance,




Jason Morin

With Validation, you could use:

Allow:
Custom
Formula:
=AND(A1=440,A1<=515)

HTH
Jason
Atlanta, GA


"TW" wrote:

Hi,

This should be an easy one. I want to display an error message when the
cell that has the speed formula (Miles / Hours) exceeds 515 mph or is below
440 mph. I have not had success with the data validation route. With IF
statements I can get error messages in the cell, but Id really like and
error dialog box to pop up so the user is forced to correct the error or give
rational for the unusual speed.

Im a novice that doesnt know VBA, so I pretty much need step by step
instructions.

Thanks In Advance,





All times are GMT +1. The time now is 05:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com