Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 226
Default Using string in Conditional field formula

I am trying to apply a conditional formula to a range of cells. I want rows
to have a different color if the contents of the cell in column H has the
word Done in it. Is there a way to do this, or does the conditional formula
have to reference a numeric value? Using 'Formula is =$H2=Done' does
nothing. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Using string in Conditional field formula

=$H2="Done"

You need quotes around any text string.
--
David Biddulph

"Roger" wrote in message
...
I am trying to apply a conditional formula to a range of cells. I want
rows
to have a different color if the contents of the cell in column H has the
word Done in it. Is there a way to do this, or does the conditional
formula
have to reference a numeric value? Using 'Formula is =$H2=Done' does
nothing. Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Using string in Conditional field formula

How about just using
Cell Value is:
equal to:
="done"

If you really meant that cell can contain Done and other text:

Formula is:
=countif(a1,"*done*")0

With A1 the activecell.



Roger wrote:

I am trying to apply a conditional formula to a range of cells. I want rows
to have a different color if the contents of the cell in column H has the
word Done in it. Is there a way to do this, or does the conditional formula
have to reference a numeric value? Using 'Formula is =$H2=Done' does
nothing. Thanks!


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 57
Default Using string in Conditional field formula

Formula is =$H2="Done"


--
Anything is possible if you don''t know what you''re talking about.


"Roger" wrote:

I am trying to apply a conditional formula to a range of cells. I want rows
to have a different color if the contents of the cell in column H has the
word Done in it. Is there a way to do this, or does the conditional formula
have to reference a numeric value? Using 'Formula is =$H2=Done' does
nothing. Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 226
Default Using string in Conditional field formula

Thanks, guys. Can't believe I didn't think of double-quotes. I'm so used to
using single quotes in sql statements. Make things too hard sometimes.
Thanks, again.

"David Biddulph" wrote:

=$H2="Done"

You need quotes around any text string.
--
David Biddulph

"Roger" wrote in message
...
I am trying to apply a conditional formula to a range of cells. I want
rows
to have a different color if the contents of the cell in column H has the
word Done in it. Is there a way to do this, or does the conditional
formula
have to reference a numeric value? Using 'Formula is =$H2=Done' does
nothing. Thanks!




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
Conditional string calculations Marie1uk Excel Worksheet Functions 4 May 28th 06 12:11 AM
String Comparison & Conditional Formatting Blobbies Excel Discussion (Misc queries) 3 April 18th 06 07:43 AM
Conditional formatting for lowest number in a string Phil Lewis Excel Worksheet Functions 5 March 23rd 06 09:44 PM
create formula. 1 field constant and another field varies by inpu. telnettech Setting up and Configuration of Excel 2 February 2nd 06 11:09 PM
Extract sub-string of number from field of long series of numbers ExcelExtrator Excel Worksheet Functions 3 December 27th 05 10:56 PM


All times are GMT +1. The time now is 01:13 PM.

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

About Us

"It's about Microsoft Excel"