Conditionally Color a row based on the Day of the Week for that row ?

Hi,
I have a Table containing some timing entries for each day. I have been trying to format some rows depending on a value in one of the columns for that row. What I would like to achieve is color the cell background gray for every row where the Date found in the first Column isn't a Week Day.
I have been trying many things by now, but can't seem to figure it out. Does anyone have suggestions ? I have included a screenshot of what I would like to achieve :
Thanks a lot in advance,
Stefaan
Message was edited by: Stefaan Lesage

Variations on my post linked in Badunit's message here:
You'll need a second table with one column and as many rows as Table 1 (which contains the dates).
The formula for Table 2 assumes the dates are in column B of Table 1.
=OR(WEEKDAY(Table 1::B)=1,WEEKDAY(Table 1::B)=7)
Enter the formula in the same row as the first data row in Table 1, and Fill it down.
Rule for conditional formatting for all cells in Table 2: Equals TRUE
Other instructions as in the linked message.
Regards,
Barry

Similar Messages

  • How to find the Day on a Week for any given Date

    Hi..... I need your help to find out the Day on a Week for any given Date .
    Say if the Date is 31/12/2009 , what would be the Day on a Week for this Date.
    Are there any fucntions available to determine the same?
    Please let me know....Thanks in Advance
    Regards
    Smita

    Hi ,
    You can using the following peice of code to get the Day of a Week for the given date :
    Calendar now = Calendar.getInstance();   
    System.out.println("Current date : " + (now.get(Calendar.MONTH) + 1)  
         + "-" + now.get(Calendar.DATE) + "-" + now.get(Calendar.YEAR));
    //create an array of days  
    //Day_OF_WEEK starts from 1 while array index starts from 0        
    String[] strDays = new String[]{"Sunday",  "Monday", "Tuesday", "Wednesday",  "Thusday",   "Friday",  "Saturday" };   
    String day_of_week = strDays[now.get(Calendar.DAY_OF_WEEK) - 1];     
    System.out.println("Current day is : " + strDays[now.get(Calendar.DAY_OF_WEEK) - 1]  );
    Edited by: Ritushree Saha on Jun 4, 2009 1:09 PM

  • Range Partitioning for the day of the week

    I have a logging table which i want to partition into 7 partition, each one for the day of the week, eg MON,TUE, WED. I am aware and I can do a list partition by creating a parition key which stores 'DY' of the week and this means that I need to add another column to the existing table.
    I wanted to explore the option of creating a range parition based on the timestamp column that already exists. Can anyone let me know if this option is possible?
    Example
    create table test_partition
    ( log_id number,
    log_date TIMESTAMP(6),
    log_value varchar2(100)
    PARTITION BY RANGE (log_date)
    PARTITION p1_mon VALUES LESS THAN (), ---- Not sure what can be used here to create this parition.
    PARTITION p2_tue VALUES LESS THAN (),
    PARTITION p3_wed VALUES LESS THAN (),
    PARTITION p4_thu VALUES LESS THAN (),
    PARTITION p5_fri VALUES LESS THAN (),
    PARTITION p6_sat VALUES LESS THAN (),
    PARTITION p7_sun VALUES LESS THAN ()
    Any oracle guru with some suggestion for this would be highly appreciated..
    Cheers,
    VJ

    VJ,
    Here is an example of daily partitioning , let me know if this is what you want or you can modify this even to weekly, monthly, quarterly and yearly partitions.
    CREATE TABLE YY_EVENT
      PART_KEY       DATE                           NOT NULL,
      SUBPART_VALUE  NUMBER                             NULL,
      EVENT_NAME     VARCHAR2(30 BYTE)                  NULL,
      EVENT_VALUE    NUMBER                             NULL
    TABLESPACE TEST_DATA
    PARTITION BY RANGE (PART_KEY)
      PARTITION Y_EVENT_20090310 VALUES LESS THAN (TO_DATE(' 2009-03-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        LOGGING
        NOCOMPRESS
        TABLESPACE TEST_DATA, 
      PARTITION Y_EVENT_20090311 VALUES LESS THAN (TO_DATE(' 2009-03-12 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
        LOGGING
        NOCOMPRESS
        TABLESPACE TEST_DATA
    )Regards

  • Day of the week and the day of the month out of sync

    I'm not sure this is the right forum to post this, so I apologize in advance.
    When I open iCal on my iPhone 4 in day view I see Oct 29 with a W for Wednesday on top of it although below the days of the month it reads: Tuesday, October 29, 2013.
    Is anyone experiencing this problem? Any solution?
    TIA

    Thanks for replying, ChrisJ4203. It's defintely a problem with Brazilian users. Here's a workaround a countryman posted:
    I've managed to fix it:
    Go to Settings / Mail Contacts and Calendars / Start the week on
    Change from Sunday to Monday.
    It appears people in Brazil are the only ones affected.
    It's a good work-around  while apple does not fix this bug.
    Mesmo problema aqui. Como consertar:
    Ajustes / Mail contatos e calendários / Iniciar a semana em:
    Mude de "Domingo" para "Segunda"
    Parece que somente pessoas no Brasil foram afetadas.
    É uma boa forma de contornar enquanto a Apple não repara a bug.
    iPhone 5 - iOS 7.0.3

  • Cannot turn on "Show the day of the week" option in Date & Time

    OS X Lion turns "Show the day of the week" option off each time I open that preference pane and after every reboot. My region in Formats tab of Language & Text preference pane is set to "Russia (Russian)". I've noticed that the problem doesn't appear when region is set to US (I didn't try others). Is there any known workaround, except changing my region preference?

    Me too.
    And I have a workaround, until Фззду fixes it finally:
    1) Go to the ~/Library/Preferences, locate a file named com.apple.menuextra.clock.plist, open it with Plist editor (comes with XCode) or just with TextEdit.
    2) There's DateFormat key in it, change it to "EEE H:mm", save the file.
    3) Now Cmd-I (right click - Get info) on that file in Finder, and check option named "Locked" ("Защита").
    System Preferences' Date & Time pane sets the aforementioned DateFormat to "ccc H:mm" when you tick the "Show the day of the week" option, while in Russian locale. And in English it becomes "EEE H:mm". The problem is that Sys.pref and even SystemUIServer (that shows the menu) processes somehow do not like the former value and erase it. After every relaunch of SystemUIServer (after reboot or being killed) tries to change "EEE" to "ccc" again (which would be cleared to nothing next time), that is why you have to lock the plist file.

  • How do you set a calendar alarm for a specific time on the day of the event without it being an all-day event

    Does anyone know how to set a calendar alert at a specific time on the day of the event.
    So that the alert date adjusts accordingly if you were to copy and past it to another date.
    The custom alert function kind of does this, but because it is an absolute alert (not relative) it will still refer to the date you initially set it to when you copy and paste it to another date. So this creates more work where you would have to go and manually change all the custom alerts. I have potential
    Anyone know how to set this kind of calendar alert?
    Thanks in advance

    Greetings: Set the alarm to message you (on your screen) and then snooze it every day for 15 days, or, set 15 separate alarm messages. There is probably an AppleScript somewhere on the web too, try searching that way as well.

  • Is there a way to repeat an activity in the calendar monthly on the same day, i.e., the 2nd Wednesday of each month?  I can repeat on the date but not the day of the month.

    Is there a way to repeat an activity in the calendar monthly on the same day, i.e., the 2nd Wednesday of each month?  ( I can repeat on the date but not the day of the month.)

    Not with the stock calendars app.

  • CVI localtime to get the Day of the Year

    I have a vendor supplied driver that needs the day of the year (0-365), minutes, hours, seconds for their board so that it updates itself to the correct time. I am looking at the LabWindows/CVI functions time and localtime to get this information. Those calls are documented in   ...\CVI2010\include\ansi\time.h   with the code contained within  C:\windows\system32\cvirte.dll
    when I set up the module within TestStand, I get a message that states:
    This function either does not have parameter information in the DLL or user types not recognized by TestStand.
    Not a problem. I used the information within time.h to setup the parameters for the function time. That function works fine. The function localtime returns a structure with the individual time elements. I created a Custom Data Type to define the structure. I cannot seem to determine how to define the module for this action so that it will work.
    I am including the sequence file, .h file, and the dll to help you understand what I am attempting to acomplish. Perhaps I am not using the correct dll or there is a better option. Any help would be appreciated.
    NOTE: I could not attach a DLL so I renamed the extension to LLB. You will need to rename it back to DLL.
    Attachments:
    Test.seq ‏5 KB
    time.h ‏4 KB
    cvirte.llb ‏5686 KB

    Hey Bill,
    I think what might be causing issues is that you are calling directly into the CVI Run-Time Engine, which we do not publish an API for and generally do not intend to be called directly from another application. I would recommend creating a simple DLL in CVI to call the functions you want, such as localtime(). This will allow you to use the CVI function panels and other Help resources to correctly configure your function call. You can simply create a wrapper function which calls localtime and returns the value you are interested in. If you build this wrapper code into a DLL, you should be able to call it from TestStand.
    I hope this helps, and let me know if you have any more questions about it!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • How do you change the day of the week on your calender starts on

    How do you change the day of the week your calender starts on??

    You would have to change the region settings to a country whose formatting starts the week on the day you like:
    iPhone User Guide (For iOS 5.0 Software)

  • On my iPhone 5, the battery symbol and percentage won't change, even while charging or during usage throughout the day. The battery is however charging and draining properly from what I can tell.

    On my iPhone 5, the battery symbol and percentage won't change, even while charging or during usage throughout the day. The battery is however charging and draining properly from what I can tell.
    Has anyone had this issue or know of a fix?
    Thanks

    Try this
    Restart iPhone: Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for phone to restart (no data will be lost).
    Using the phone while charging doesn't create a problem.. I do it all the time

  • How can I get the day of the week to display in ical5?

    I can only see the date, e.g. 20, 21, 22 but not the day of the week, e.g. 20 Wednesday, 21 Thursday. How do change this view?  Thank you

    You need to create a stringwriter, wrap it in a printwriter, then print to the printwriter, then convert the stringwriter to a string.
    Here's an example:
    StringWriter sw = new java.io.StringWriter();
    PrintWriter pw = new java.io.PrintWriter(sw);
    e.printStackTrace(pw);
    String strError = sw.toString();
    I hope this works. I didn't test the above code. I don't think I'm leaving anything out, but it's been a while since I've done it. Either way, it should get you on the right track to get what you need.
    Hope that helps.
    Michael

  • My location service is not working from the day one the response is that (cannot able to determine the location) .What can i need to do to see my location in maps and other application even the location services is enabled in the settings?

    From the day one the response is that (cannot able to determine the location) while using ios5.1 .What can i need to do to see my location in maps and other application even the location services is enabled in the settings?.Which means that is there is any problem in my ipad ? currently running on IOS 6.

    Your location is determined from a location database which contains the MAC addresses of routers and their physical location. A MAC address is a unique number which is built-in to all network devices when manufactured. The database is built and updated by actually driving around and mapping router locations.
    Since you just moved the location of your router has not been updated in the database and when you use Maps you will see your old location.
    If you go outside your house you can be correctly located because your iPod sees other routers which are in the location database. Note that you do not need to be connected to a router for your iPod to see it and obtain its MAC address.

  • How can i say yes to automatic updates when they stop my wireless dlink to Virgin home broadband from getting on the internet and then i have to do a system restore to the day before the update to get it back to normal?!? Frustrated

    how can i say yes to automatic updates when they stop my wireless dlink to Virgin home broadband from getting on the internet and then i have to do a system restore to the day before the update to get it back to normal?!? Frustrated
    == This happened ==
    Not sure how often
    == automatic updates go on my computer, say if i click yes to update when shutting down

    You have 10.6 on that machine, I suggest you stick with it for performance, third party hardware and software reasons as long as possible.
    Consider 10.8 (not 10.7) when it's released, because 10.7 and 10.8 will require a new investment in software and newer third party hardware as it requires newer drivers the old machines won't have. (forced upgrade because of software, really nice of them)
    http://roaringapps.com/apps:table
    Far as your Safari problem do these things until it's resolved:
    1: Software Update fully under the Apple menu.
    2: Check the status of your plug-ins and update (works for all browsers) also install Firefox and see if your problems continue. You should always have at least two browsers on the machine just in case one fails.
    https://www.mozilla.org/en-US/plugincheck/
    Flash install instructions/problem resolution here if you need it.
    How to install Flash, fix problems
    3: Install Safari again from Apple's web site
    https://www.apple.com/safari/
    4: Run through this list of fixes, stopping with #16 and report back before doing #17
    Step by Step to fix your Mac

  • Position of the days and dates being on the right side of the day in the week calendar.

    I'm having a huge problem with the days and dates being on the right side of the day in the week calendar. Can I change that to the left upper side?
    it makes the whole schedule off balance you see.

    Thanks for stating that. So quickly. That *****. I also now see that more people have problems with this. Where can I complain?

  • Showing the Date (month & day) in the Menu Bar, Not just the Day of the Wee

    Since upgrading to 10.5 from 10.4, I've noticed that the menu bar no longer shows the date (month and day, it just shows the day of the week.
    Is there a way to get the menu bar to show the month and day again as it did in 10.4?

    Tiger had to be changed in the same way as Leopard.
    Start by opening the International Preferences panel, and clicking the Formats tab.
    In the Dates section, click Customize. Click the Show pop-up and select your choice of Short, Medium, etc. Now place the elements you want in the small "work area," by dragging and dropping them from the Date Elements section. Once placed, you can click on some elements to see other options (Wednesday or Wed, for instance). Once you've built the date string you want, click once in the work area, and hit Command-A then Command-C to select the string and copy it. Now click Cancel to close the window without making any changes.
    In the Times section, click Customize, and set the Show pop-up to Medium. In the small work area below the pop-up, place the curser where you want the date elements to start, and click to position the cursor. Now hit Command-V to paste the elements you just copied. You can further add characters and spaces to customize the look. If you want to remove an element (i.e. the year), click on it and use the Delete key. Click OK, and you'll see the results in the menubar.
    S.

Maybe you are looking for