Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel 2007 - formula to display text over a range of values

Another formula creates the value of D18. In cell E18 I want to write a
formula. In that formula, if the value of cell D18 is between a set of
numbers, like between 60 & 70 then display "TEXT" in E18. If the value of
cell D18 is between 0 & 59 or between 71 & infinty, then I want
"DIFFERENTTEXT" displayed in E18.
I can get this to work on one specific # with the If formula in this example.
=If(D18=60,"TEXT",DIFFERENTTEXT")
The value of Cell D18 will be in tenths and I do not want to keep adding If
formulas for ever tenth between 60.0 and 70.0.
Any solutions?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 269
Default Excel 2007 - formula to display text over a range of values

=If(AND(D18=60,D18<=70),"TEXT",DIFFERENTTEXT")
--
If this helps, please remember to click yes.


"Malaria Man" wrote:

Another formula creates the value of D18. In cell E18 I want to write a
formula. In that formula, if the value of cell D18 is between a set of
numbers, like between 60 & 70 then display "TEXT" in E18. If the value of
cell D18 is between 0 & 59 or between 71 & infinty, then I want
"DIFFERENTTEXT" displayed in E18.
I can get this to work on one specific # with the If formula in this example.
=If(D18=60,"TEXT",DIFFERENTTEXT")
The value of Cell D18 will be in tenths and I do not want to keep adding If
formulas for ever tenth between 60.0 and 70.0.
Any solutions?

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
Excel 2007 Pivot Tables - do not display zero values Barb Reinhardt Excel Discussion (Misc queries) 2 March 12th 10 03:29 PM
Excel 2007 - how do I display formula instead of values? thanks. Trish Excel Discussion (Misc queries) 3 August 25th 08 11:12 PM
Excel 2007 Text Box Display and Printing andymchardy Excel Discussion (Misc queries) 5 November 2nd 06 07:31 PM
Excel 2007 Display value based on values in another column range ChrisM Excel Worksheet Functions 2 September 4th 06 03:32 PM
How can I display a cell range in a text box in excel? Pat Hughes Excel Discussion (Misc queries) 3 September 22nd 05 05:13 PM


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