ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel formula - request assistance (https://www.excelbanter.com/excel-discussion-misc-queries/169229-excel-formula-request-assistance.html)

srain001

Excel formula - request assistance
 
Hi,

I'm looking for a way to make a "pop-up" appear when a particular cell is
left blank.

For example,

If cell 1 in Column A is filled with the term "Collateral" (picked from
dropdown), then cell 1 in Column D must be filled. I'm looking for a formula
or macro to make this mandatory so that people filling out the spreadsheet
cannot ignore column D when that specific entry is used in column A.

Any help would b great. Tnx!
srain

CLR

Excel formula - request assistance
 
You can't make a Pop-up appear with just a formula........you need VBA for
that. What you could do is just do Conditional Formatting on the cell to
turn it Bright RED if the first cell contains "collateral" and this one is
not yet populated.

Vaya con Dios,
Chuck, CABGx3



"srain001" wrote:

Hi,

I'm looking for a way to make a "pop-up" appear when a particular cell is
left blank.

For example,

If cell 1 in Column A is filled with the term "Collateral" (picked from
dropdown), then cell 1 in Column D must be filled. I'm looking for a formula
or macro to make this mandatory so that people filling out the spreadsheet
cannot ignore column D when that specific entry is used in column A.

Any help would b great. Tnx!
srain


srain001

Excel formula - request assistance
 
Hi,

Sorry, I meant either VBA or formula. How would I do either?

Thanx
Srain

"srain001" wrote:

Hi,

I'm looking for a way to make a "pop-up" appear when a particular cell is
left blank.

For example,

If cell 1 in Column A is filled with the term "Collateral" (picked from
dropdown), then cell 1 in Column D must be filled. I'm looking for a formula
or macro to make this mandatory so that people filling out the spreadsheet
cannot ignore column D when that specific entry is used in column A.

Any help would b great. Tnx!
srain


Gord Dibben

Excel formula - request assistance
 
Here is your pop-up.

Enforcement would take much more, like locking all cells except D1 so user has
to enter something in D1 before going any further.

Option Compare Text
Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo stoppit
Application.EnableEvents = False
If Me.Range("A1").Value = "Collateral" Then
MsgBox "Please be advised that D1 must be filled."
End If
stoppit:
Application.EnableEvents = True
End Sub


Gord Dibben MS Excel MVP

On Fri, 14 Dec 2007 06:32:01 -0800, srain001
wrote:

Hi,

Sorry, I meant either VBA or formula. How would I do either?

Thanx
Srain

"srain001" wrote:

Hi,

I'm looking for a way to make a "pop-up" appear when a particular cell is
left blank.

For example,

If cell 1 in Column A is filled with the term "Collateral" (picked from
dropdown), then cell 1 in Column D must be filled. I'm looking for a formula
or macro to make this mandatory so that people filling out the spreadsheet
cannot ignore column D when that specific entry is used in column A.

Any help would b great. Tnx!
srain




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

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