Results 1 to 14 of 14

Problem with TEXT and weekday function

Threaded View

  1. #1
    Registered User
    Join Date
    08-23-2017
    Location
    HamburgCity, Germany
    MS-Off Ver
    2016
    Posts
    7

    Problem with TEXT and weekday function

    Hello Community,

    I am having an issue with the TEXT and Weekday function.

    What I would like to achieve:
    • In column A I have some dates. Those dates are stored as text and formatted as "General".
    • In column B I would like to transform those dates into the following format: "yyyymmdd". To achieve this I am using the following formula: =TEXT(A2,"yyyymmdd").
    • In column C I would like to get the day of the week. Toa chieve this I am using the =Weekday() function.

    I am getting the following results:
    Capture.PNG



    • Column B: Cell B3 gives me the desired outcome. Although I am using the same formula in B2, the output is just a repetition of the content of A2.
    • Column C: returns a #Value and a #Num error.

    I am using Office 365 and the file is a xlsx file in case this is important.
    Attached Files Attached Files
    Last edited by Armator; 01-03-2022 at 06:53 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Using weekday function to get average if criteria range equals weekday
    By andrew.beckett in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-05-2020, 05:09 AM
  2. [SOLVED] Having a problem with weekday function not returning the right day
    By Caylif in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-08-2017, 12:31 PM
  3. [SOLVED] return weekday name using text function in vba
    By shiva_raj in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-21-2017, 12:32 AM
  4. [SOLVED] WEEKDAY function problem
    By Mikebra in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2013, 03:35 AM
  5. select problem with weekday function
    By bstubbs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-17-2009, 11:03 AM
  6. Problem with the WEEKDAY function
    By petevang in forum Excel General
    Replies: 1
    Last Post: 08-28-2006, 06:28 PM
  7. Weekday Problem
    By deanholmes in forum Excel General
    Replies: 4
    Last Post: 04-15-2006, 07:50 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