Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have used conditional formatting to highlight when text in two adjacent
cells differ. Simple. Therefore, when text in cell B1 differs from that in A1, B1 goes green. UNLESS the text in A1 is longer than 255 characters. How can I get round this? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How about a couple of ways to cheat?
If you have up to 511 characters per cell: =OR(MID(A1,1,255)<MID(B1,1,255),MID(A1,256,255)< MID(B1,256,255)) (just breaking it down into groups of 255--add more if you need them) Or use another cell that looks like: =a1<b1 and use that cell as the conditional formatting rule. Hugh Murfitt wrote: I have used conditional formatting to highlight when text in two adjacent cells differ. Simple. Therefore, when text in cell B1 differs from that in A1, B1 goes green. UNLESS the text in A1 is longer than 255 characters. How can I get round this? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I *cannot* duplicate your problem using this formula in Column B:
=AND(A1<"",B1<"",A1<B1) Exactly what formula are you using? -- Regards, RD ---------------------------------------------------------------------------- ------------------- Please keep all correspondence within the Group, so all may benefit ! ---------------------------------------------------------------------------- ------------------- "Hugh Murfitt" wrote in message ... I have used conditional formatting to highlight when text in two adjacent cells differ. Simple. Therefore, when text in cell B1 differs from that in A1, B1 goes green. UNLESS the text in A1 is longer than 255 characters. How can I get round this? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Change the value in the condition1 is to "formula is" from "cell value is"
Then try the following formula in the conditional format =AND(b1<a1,LEN(a1)255) "Hugh Murfitt" wrote: I have used conditional formatting to highlight when text in two adjacent cells differ. Simple. Therefore, when text in cell B1 differs from that in A1, B1 goes green. UNLESS the text in A1 is longer than 255 characters. How can I get round this? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks a million for your help.
I used your suggestion of =a1<b1, but as the Conditional Formatting "Formula is" in cell b1. The Conditional Formatting Formula doesn't seem to affected by cell size. (My largest cell was 866 characters) Best regards Hugh "Dave Peterson" wrote: How about a couple of ways to cheat? If you have up to 511 characters per cell: =OR(MID(A1,1,255)<MID(B1,1,255),MID(A1,256,255)< MID(B1,256,255)) (just breaking it down into groups of 255--add more if you need them) Or use another cell that looks like: =a1<b1 and use that cell as the conditional formatting rule. Hugh Murfitt wrote: I have used conditional formatting to highlight when text in two adjacent cells differ. Simple. Therefore, when text in cell B1 differs from that in A1, B1 goes green. UNLESS the text in A1 is longer than 255 characters. How can I get round this? -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank you Peter, and RagDyeR.
Got a result! "Peter Ellis" wrote: Change the value in the condition1 is to "formula is" from "cell value is" Then try the following formula in the conditional format =AND(b1<a1,LEN(a1)255) "Hugh Murfitt" wrote: I have used conditional formatting to highlight when text in two adjacent cells differ. Simple. Therefore, when text in cell B1 differs from that in A1, B1 goes green. UNLESS the text in A1 is longer than 255 characters. How can I get round this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional format question | Excel Discussion (Misc queries) | |||
Format of one cell conditional on another | Excel Worksheet Functions | |||
Conditional Format based on contents of cell. | Excel Worksheet Functions | |||
Office2000: Conditional format behaves strangely | Excel Discussion (Misc queries) | |||
can't format cell - have tried unlocking and unprotecting | Excel Discussion (Misc queries) |