#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Automatic text

Is it possible to make the sheet write pre-set comments to numbers which
follows specific parameters.

fx.
0-50
The value shows...
51-80
This above average value reveals...
81-100
Perfection

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Automatic text

Try this:

With
A1: (a numeric value)

Then
B1: =LOOKUP(A1,{0,51,81},{"The value shows...","This above average value
reveals...","Perfection"})

Or...slightly more robust:
B1: =IF(ISNUMBER(A1),LOOKUP(A1,{0,51,81},{"The value shows","This above
average value reveals..","Perfection"}),"")

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"Thor" wrote:

Is it possible to make the sheet write pre-set comments to numbers which
follows specific parameters.

fx.
0-50
The value shows...
51-80
This above average value reveals...
81-100
Perfection

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Automatic text

On Sun, 12 Nov 2006 05:45:01 -0800, Thor <Thor @discussions.microsoft.com
wrote:

Is it possible to make the sheet write pre-set comments to numbers which
follows specific parameters.

fx.
0-50
The value shows...
51-80
This above average value reveals...
81-100
Perfection

Thank you


One way to do this is with custom formatting.

I'm not sure exactly what you want to display, but you can set several
conditions under Format/Cells/Number/Custom Type:

For example:

[<=50]"The value "0" shows blah";[<=80]"The value "0" is above average";0" This
value shows perfection"

all typed in the Type box

Obviously, you can alter the text before and after the displayed number to be
what you wish.


--ron
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
automatic links from onwe worksheet to another, depending on text gareth93 Excel Discussion (Misc queries) 3 June 15th 06 12:29 PM
Inserting automatic text in Excel [email protected] Excel Worksheet Functions 1 June 8th 06 12:21 PM
How can I get automatic row height for merged cells with text wra. ConfusedLady Excel Worksheet Functions 1 April 23rd 05 02:49 AM
Automatic colors for text mogravy Excel Discussion (Misc queries) 1 April 19th 05 05:46 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 03:52 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"