+ Reply to Thread
Results 1 to 8 of 8

Show weekday as text

  1. #1
    Registered User
    Join Date
    09-22-2015
    Location
    NL
    MS-Off Ver
    7
    Posts
    14

    Show weekday as text

    i used a code
    Please Login or Register  to view this content.
    , whene i placed a date in cell E11 excel placed the day in the cell like ( monday, Tuesday ect. ) but whene i don't place any date in cel E11 , automatic excel will placed "Saturday" in the cell.

    is there a short code that the cell will be empty whene i don't used a date

    Sorry for my stone coal english


    thanks

    paul

  2. #2
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    667

    Re: Show weekday as text

    =if(E11<>"",TEKST(WEEKDAG(E11);"DDDD"),"")

  3. #3
    Registered User
    Join Date
    09-22-2015
    Location
    NL
    MS-Off Ver
    7
    Posts
    14

    Re: Show weekday as text

    Sorry , CRIMEDOG, but there will be a pop-up notification with the text " The formula you typed contains an error "


    but thanks for thinking anyway

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Show weekday as text

    Hi,

    You need only use semicolons in CRIMEDOG's formula

    =if(E11<>"";TEKST(WEEKDAG(E11);"DDDD");"")
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  5. #5
    Registered User
    Join Date
    09-22-2015
    Location
    NL
    MS-Off Ver
    7
    Posts
    14

    Re: Show weekday as text

    i get "#Name - Error: Invalid name" in the cell whene i used the code
    Please Login or Register  to view this content.
    Last edited by paulvanrijn; 09-13-2016 at 09:51 AM.

  6. #6
    Registered User
    Join Date
    09-22-2015
    Location
    NL
    MS-Off Ver
    7
    Posts
    14

    Re: Show weekday as text

    Hey i have the problem solved . I have to write the code in DUTCH , so i don't must start with IF but ALS .

    Thank you for thinking
    Last edited by paulvanrijn; 09-13-2016 at 09:57 AM.

  7. #7
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Show weekday as text

    I am attaching a workbook which should adjust to match your language and formula settings when you open it. I have removed the WEEKDAG part as I saw no need for it here.
    Attached Files Attached Files

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Show weekday as text

    Quote Originally Posted by paulvanrijn View Post
    Hey i have the problem solved . I have to write the code in DUTCH , so i don't must start with IF but ALS .
    Ah yes- of course. Thank you for letting us know.

+ 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. [SOLVED] command button only to show on certain weekday
    By JamesT1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2016, 02:00 PM
  2. Excel VBA code to return weekday name from a date then autofilters for userdefined weekday
    By studyengineering in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2016, 03:24 PM
  3. [SOLVED] If Weekday() = vbSaturday Or Weekday() = vbSunday Then
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-09-2014, 09:48 AM
  4. Replies: 5
    Last Post: 04-07-2012, 03:09 AM
  5. show customer based on Weekday
    By Jill in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-05-2006, 11:15 AM
  6. show customer based on Weekday
    By Jill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2006, 11:15 AM
  7. Show Weekday with date???
    By Rutgers_Excels in forum Excel General
    Replies: 3
    Last Post: 04-05-2006, 10:44 AM

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