Everything is Broken

Spreadsheet Conditional formatting to mark weekends.

This is a short post but it took me a while to figure it out, so I thought I’d post it. I have a long list of dates in a spreadsheet, and wanted to have Saturdays and Sundays formatted differently so that they stood out. I tried a number of things in Conditional Formatting, until I hit on this one.

Highlight the column you want to apply this to and bring up the Conditional Formatting dialog from the Format menu. Set a style in the Style dropdown (I chose 10% grey background for eg, and called it ‘greyed’. Change the other dropdown to “Formula Is”, and put this in the box:

OR(WEEKDAY(CELL(“contents”))=1, WEEKDAY(CELL(“contents”))=7)

That’s basically it. This works in LibreOffice and OpenOffice, and should also work in Excel too, as the functions are the same.

This entry was posted on Saturday, August 20th, 2011 at 3:18 pm and is filed under General IT. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

« Cleaning a virus off a Samba Share.
Ubuntu 11.10, Unity, Gnome 3 and the whole mess »

Leave a Reply

CAPTCHA Image
Refresh Image
*
  • Recent Posts

    • Munin, nginx, mysql on Ubuntu 11.04: Great tool. Poorly explained.
    • Ubuntu 11.10, Unity, Gnome 3 and the whole mess
    • Spreadsheet Conditional formatting to mark weekends.
    • Cleaning a virus off a Samba Share.
    • Bandwidth Saving apt-get upgrade
  • Sing for your supper

  • Static

    • About
    • Privacy Policy
  • Tags

    apathy apple calendar chkconfig collanos cross-platform eee evolution firmware google grub hotspot id card lightning Linux Mandriva notebook partitioning pclinuxos pclinuxos 2008 Philippines power management re-install sane scanner scheduleworld script Security slow sysv-rc-conf thinkpad thunderbird trust ubuntu ultraportable usb virtualisation vmware vpn wifi wireless workspace sharing xsane yahoo zombie
  • Blogroll

    • Datalude
    • Digital Life
    • Engage the World
  • Archives

    • January 2012
    • October 2011
    • August 2011
    • July 2011
    • March 2011
    • January 2011
    • May 2010
    • April 2010
    • March 2010
    • November 2009
    • October 2009
    • June 2009
    • May 2009
    • April 2009
    • February 2009
    • January 2009
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • April 2008
    • March 2008
    • February 2008

Everything is Broken runs on WordPress. Theme by Bob. All content Copyright © Datalude 2008+.