Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I display a message when a cell has a certain value??

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How do I display a message when a cell has a certain value??

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default How do I display a message when a cell has a certain value??

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!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I display a message when a cell has a certain value??

Thanks, Pete. I'm using your suggestion.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I display a message when a cell has a certain value??

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
when certain number is typed in a cell to display a message Wanna Learn Excel Discussion (Misc queries) 8 September 18th 06 02:27 PM
Display message during save operation Excelerate-nl Excel Discussion (Misc queries) 4 December 8th 05 07:27 PM
Display a message when a file is opened. Sheila New Users to Excel 4 November 15th 05 05:14 PM
Display message based on condition Pat Excel Worksheet Functions 1 March 7th 05 10:52 PM
How to display a blank cell with no error message Juco Excel Worksheet Functions 11 January 31st 05 08:24 AM


All times are GMT +1. The time now is 10:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"