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.
Select Formula Is on the drop-down then enter a formula like:=LEFT(A1,6)="Sample"
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!Thanks,Gary
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.
OnePlus 5 review
Alice Saey's mesmerising animation for Dutch singer Mark Lotterman
iPad Pro 10.5in (2017) review
Comment booster votre iPhone ?
© Copyright 2017 IDG UK. All Rights Reserved.