Hi, I want to color same values in a 20000 rows of changing values red and blue alternatively.
I 've attached the file and the the result I 'm trying to achieve. Finding the solution for this is driving me crazy.
Big thanks in advance.
Hi, I want to color same values in a 20000 rows of changing values red and blue alternatively.
I 've attached the file and the the result I 'm trying to achieve. Finding the solution for this is driving me crazy.
Big thanks in advance.
Last edited by Hajik; 02-06-2012 at 01:24 PM. Reason: NBVC solved the case. Case Closed. :)
In a helper column, try:
=MOD(B1+(A1<>A2),2)
copied down
Then select the range to colour and invoke conditional formatting>> use a formula to determine which cells to format:
=B2=1 formatted with pink
then add another condition
=B2=0 formatted with blue.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Hmmm....
Try this one in B2:
=MOD(OFFSET($B2,-1,0) --(A2<>OFFSET(A2,-1,0)),2)
copied down
In your file, I put the formula in B1 and copied down. I don't see what you are seeing....
Note: I placed a 2 in B1 so that I conditionally format whole column A without highlighting the column header.... that doesn't effect the formula outcome though...
It worked!! It seems I was entering your formula in the wrong cell!! Oh God MY MISTAKE!!!
I've been struggling to find the answer for more than 12 hours.You did me a big favor. I really don't know how to thank u.
:X
BTW How can I put a [SOLVED] next to the title of the topic.
Last edited by Hajik; 02-06-2012 at 01:11 PM. Reason: adding BTW
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks