PC Review


Reply
Thread Tools Rate Thread

How do I display a text message when a cell has a certain value??

 
 
laureny55@aol.com
Guest
Posts: n/a
 
      28th Mar 2007
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!

 
Reply With Quote
 
 
 
 
RagDyeR
Guest
Posts: n/a
 
      28th Mar 2007
Why not just enter the text itself?

The value entered by the user will displace (replace) it.

This should work if the form is a template.
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
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!


 
Reply With Quote
 
laureny55@aol.com
Guest
Posts: n/a
 
      28th Mar 2007
Thanks for your response, RD... However, I want it to be so that
whenever someone enters 0 as a value, the message appears.

On Mar 28, 9:54 am, "RagDyeR" <ragd...@cutoutmsn.com> wrote:
> Why not just enter the text itself?
>
> The value entered by the user will displace (replace) it.
>
> This should work if the form is a template.
> --
>
> HTH,
>
> RD


 
Reply With Quote
 
Beege
Guest
Posts: n/a
 
      28th Mar 2007
(E-Mail Removed) wrote:
> Thanks for your response, RD... However, I want it to be so that
> whenever someone enters 0 as a value, the message appears.
>
> On Mar 28, 9:54 am, "RagDyeR" <ragd...@cutoutmsn.com> wrote:
>> Why not just enter the text itself?
>>
>> The value entered by the user will displace (replace) it.
>>
>> This should work if the form is a template.
>> --
>>
>> HTH,
>>
>> RD

>


laureny55

Have you looked at data/validation? It can "alert" the user when 0 is
used to use a different value...

Beege
 
Reply With Quote
 
RagDyeR
Guest
Posts: n/a
 
      28th Mar 2007
You could try "Data Validation"

Couple of approaches:

For a "one time shot",
Enter the text "Enter Value Here" in the cell, *then* click back in the cell
and hit:
<Data> <Validation>
In the "ALLOW" window choose "decimal",
In the "DATA" window choose "greater then",
In the "MINIMUM" window choose 0 (zero).

Click on the "Error Alert" tab, and in the "error" window type:
"Value must be greater then 0"
Then <OK>

The text will *only* display in the cell until a correct entry is made.
It will continue to be visible as long as *incorrect* entries are attempted.

OR

More enduring:

With cell empty, click on:
<Data> <Validation>
In the "ALLOW" window choose "decimal",
In the "DATA" window choose "greater then",
In the "MINIMUM" window choose 0 (zero).

Click on the "Input Message" tab, and in the "Message" window enter:
"Enter Value Here"

Click on the "Error Alert" tab, and in the "error" window type:
"Value must be greater then 0"
Then <OK>

NOW, clicking in the empty cell will bring up the input message, and an
incorrect entry will display the error message.
You could color this cell in order to emphasize it.

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Thanks for your response, RD... However, I want it to be so that
whenever someone enters 0 as a value, the message appears.

On Mar 28, 9:54 am, "RagDyeR" <ragd...@cutoutmsn.com> wrote:
> Why not just enter the text itself?
>
> The value entered by the user will displace (replace) it.
>
> This should work if the form is a template.
> --
>
> HTH,
>
> RD



 
Reply With Quote
 
laureny55@aol.com
Guest
Posts: n/a
 
      28th Mar 2007
Thank you!! Those were all great suggestions!

 
Reply With Quote
 
Francis Hookham
Guest
Posts: n/a
 
      28th Mar 2007
Assuming you are expecting numeric entries you could Custom Format the cells
something like this (depending on how you want the numerals to be
displayed):

#,##0;-#,##0;"Enter your value here"

(You could even format like this #,##0;-#,##0;[Red]"Enter your value
here")!!!!!!!

Nothing will appear until a positive or negative number or zero is entered
so, if you want to indicate the cells where entries are required, type in
"Enter your valve here" and right align the cell.

Francis Hookham


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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!
>



 
Reply With Quote
 
Ragdyer
Guest
Posts: n/a
 
      29th Mar 2007
You're welcome, and appreciate the feed-back.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thank you!! Those were all great suggestions!
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emails forwarded as text to cell do not display all of message =?Utf-8?B?U2hlcmk=?= Microsoft Outlook 0 30th Oct 2007 02:15 PM
display text in one cell as a number in an adjacent cell in excel =?Utf-8?B?RGVubm8=?= Microsoft Excel New Users 1 16th Nov 2006 06:13 PM
have one cell display text which reflects a number in another cell =?Utf-8?B?ZXhjZWxyb29raWU=?= Microsoft Excel Misc 3 25th Sep 2006 06:49 PM
Display contents of cell in another cell as part of text string? mschmidt@carolina.rr.com Microsoft Excel New Users 3 8th Jul 2006 08:44 PM
large text amount in cell will not display in the cell =?Utf-8?B?ZGJlbGNoMDE=?= Microsoft Excel Misc 3 15th Jun 2005 04:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:24 PM.