Creating a popup box if certain cells remain empty

andrewb90

Well-known Member
Joined
Dec 16, 2009
Messages
1,077
Hello all,

Is it possible to add some conditional formatting to a group of cells to have a popup box appear with a message in it if a certain cell (on a different sheet) does not have any data entered into it? Additionally can I make a popup appear if the numerical value of a cell exceeds or falls below a certain amount?

Thanks,

Andrew
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Excel Help will explain how to generate messages if certain cells don't meet the conditions that you specify.

One thing it might not mention is that if you are going to be using cells in different sheets for your Validation, those cells have to be Named Ranges.
 
Upvote 0
I notice that on the settings option in Data validation there is a spot to input a custom formula. Cell 'D1' needs to be a value of 1-12 and if it is less than 1 or more than 12 or nothing at all, then when any of the cells A2:D10 on the Monday sheet are clicked on a popup needs to appear.
When I enter in that info the popup appears in the cell if the data is wrong, which won't help if the cell gets looked over and nothing is ever entered.

- Andrew
 
Upvote 0
I notice that on the settings option in Data validation there is a spot to input a custom formula. Cell 'D1' needs to be a value of 1-12 and if it is less than 1 or more than 12 or nothing at all, then when any of the cells A2:D10 on the Monday sheet are clicked on a popup needs to appear.
When I enter in that info the popup appears in the cell if the data is wrong, which won't help if the cell gets looked over and nothing is ever entered.

- Andrew

I always use the spreadsheet to test formulas before popping them into the 'validation' of a cell as I can see what is working right away - just a tip.

For example:

Data validation in cell A2 of Monday

=IF(SheetName!D1="",FALSE,IF(OR(SheetName!SheetName!D1<1,SheetName!D1>12),FALSE,TRUE))

Select Data Validation, Custom, uncheck 'ignore blanks' and type in your formula and it should do the trick.

*SheetName will need to be the name of the sheet that D1 is on
 
Upvote 0
So I changed all of the sheet names to Welcome and I tried to apply it to a cell on my monday sheet and I came up with an error. What am I doing wrong?

Thanks,

Andrew
 
Upvote 0
So I changed all of the sheet names to Welcome and I tried to apply it to a cell on my monday sheet and I came up with an error. What am I doing wrong?

Thanks,

Andrew


Not sure, that sounds odd as it worked for me here... So your formula now looks like this?

=IF(Welcome!D1="",FALSE,IF(OR(Welcome!SheetName!D1<1,Welcome!D1>12),FALSE,TRUE))

Did you remove the ! at the end of SheetName? For example your code reads =IF(WelcomeD1..?
 
Upvote 0
Yea, I am in the custom setting with ignore blanks unchecked. Am I supposed to be doing this to a specific cell or can it be any cell?
 
Upvote 0
Yea, I am in the custom setting with ignore blanks unchecked. Am I supposed to be doing this to a specific cell or can it be any cell?

It can be any cell.. But for the mo try in just one cell, say A1 and add the validation in as the below, with ignore blanks unchecked
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
=IF(Welcome!D1="",FALSE,IF(OR(Welcome!D1<1,Welcome!D1>12),FALSE,TRUE))<o:p></o:p>
<o:p> </o:p>
This should then work. If D1 is blank, 0 or 13+ it should come up with a prompt
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top