Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I have a cell where if the cell is empty (A1=0), then I would like the cell to display "Enter your value here." Otherwise, I would like the cell to display the value a person enters. I have tried using an if/then/else statement and, understandably, I get a circular reference error: =IF(A1=0,"Enter your value here",A1) Does anyone have a suggestion? Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You would need some VBA code to do this. However, you could put this
formula in B1: =IF(A1="","<--- Enter your value here","") which is pointing out to the User that the value should go into A1 (the message disappears when there is something in A1). Or you could think about using Data | Validation on cell A1, with an Input Message which shows when A1 is selected. This would also allow you to restrict what is entered into A1. Hope this helps. On Mar 28, 3:33 pm, wrote: Hi, I have a cell where if the cell is empty (A1=0), then I would like the cell to display "Enter your value here." Otherwise, I would like the cell to display the value a person enters. I have tried using an if/then/else statement and, understandably, I get a circular reference error: =IF(A1=0,"Enter your value here",A1) Does anyone have a suggestion? Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks, Pete. I'm using your suggestion.
|
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe with a custom number format e.g.:
General;General;"Enter your value here" On 28 Mar, 15:33, wrote: Hi, I have a cell where if the cell is empty (A1=0), then I would like the cell to display "Enter your value here." Otherwise, I would like the cell to display the value a person enters. I have tried using an if/then/else statement and, understandably, I get a circular reference error: =IF(A1=0,"Enter your value here",A1) Does anyone have a suggestion? Thanks! |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm sorry Lori, I don't think I understand what you mean.
What should I enter in the 'General' field?? General;General;"Enter your value here" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
when certain number is typed in a cell to display a message | Excel Discussion (Misc queries) | |||
Display message during save operation | Excel Discussion (Misc queries) | |||
Display a message when a file is opened. | New Users to Excel | |||
Display message based on condition | Excel Worksheet Functions | |||
How to display a blank cell with no error message | Excel Worksheet Functions |