+ Reply to Thread
Results 1 to 5 of 5

Value in one cell based on day of week referenced by a date in another cell

  1. #1
    Registered User
    Join Date
    08-02-2012
    Location
    Indianapolis, IN
    MS-Off Ver
    2007
    Posts
    68

    Question Value in one cell based on day of week referenced by a date in another cell

    I have a worksheet where column C contains dates and column G is a number. How do I make cell G1 a certain value if the date in C1 is a Saturday, and a different value if C1 is any other day?

  2. #2
    Forum Contributor
    Join Date
    07-16-2013
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2013
    Posts
    176

    Re: Value in one cell based on day of week referenced by a date in another cell

    =if(text(c1,"ddd")="sat",enter your value here if true, enter your value here if false)

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Value in one cell based on day of week referenced by a date in another cell

    There are several ways...

    Can you be more specific...
    What exactly do you want G to be based on Which Day's in C ?

  4. #4
    Registered User
    Join Date
    08-02-2012
    Location
    Indianapolis, IN
    MS-Off Ver
    2007
    Posts
    68

    Re: Value in one cell based on day of week referenced by a date in another cell

    Quote Originally Posted by igoodable View Post
    =if(text(c1,"ddd")="sat",enter your value here if true, enter your value here if false)
    This worked like a charm. Thanks igoodable!

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Value in one cell based on day of week referenced by a date in another cell

    another way..

    =IF(WEEKDAY(A1)=7,value if true, value if false)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. week start date and end date based on week number
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 12:39 PM
  2. updating a cell with a week number based on the system date
    By SRussell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-05-2008, 03:14 PM
  3. Replies: 1
    Last Post: 05-29-2005, 07:05 PM
  4. Cell referenced to current date
    By stryker in forum Excel General
    Replies: 5
    Last Post: 02-03-2005, 09:31 AM
  5. [SOLVED] How do I have an image in a cell based upon a referenced value?
    By Jonathan Neubauer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-30-2005, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1