Conditional Formatting in MS Excel

  Gary Wood 09:34 28 Oct 05

I am creating a in which I want the background of a cell to be conditionally formatted to turn green when the cell contents begin with certain text but are followed by any other text.

For example, I want all cells that being with "sample" to be highlighted green, regardless of whether the cell says "sample 1", "sample 2" or "sample X".

Can anyone tell me how to do this? I'm using Excel 2000 and tried entering conditional formatting of cell value = "sample *" but this doesn't work.

  VoG II 09:50 28 Oct 05

Select Formula Is on the drop-down then enter a formula like:


  Gary Wood 10:06 28 Oct 05

Many thanks VoG.
That worked perfectly. Just out of interest, where did you get this formula from? I spent a long time looking at help files and searching the internet before posting!



  VoG II 10:16 28 Oct 05

If you click on 'fx', and select the Text category you should find it.

If you click here and scroll right to the bottom you can download an excellent Excel Function Dictionary.

This thread is now locked and can not be replied to.

Sony Xperia XZ Premium review: Hands-on with the new 4K HDR phone with Motion Eye camera and Snapdr5…

1995-2015: How technology has changed the world in 20 years

Best laptop for design and art 2017: we test Apple, Dell, HP, Lenovo and Microsoft's best models…

CarPlay tips & troubleshooting guide: CarPlay tips & troubleshooting guide: Get the most from…