Excel formula - request assistance

S

srain001

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
 
C

CLR

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
 
G

Gord Dibben

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Formula help 11
Formula Assistance 7
Formula Question 2
Formula help 13
Excel formula 1
Excell Lookup formula question, 2 criteria 2
Excel Formula 8
Excel 2003 - fill down error 1

Top