Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to use Excel LOOKUP Function
  • How to get last row in text data in Excel
  • Two-way lookup with VLOOKUP in Excel
  • Vlookup Examples in Excel
  • Offset in Excel

Data Analysis Examples

  • Use Data Form to input, edit and delete records in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • Reverse List in Excel
  • Excel Frequency Function Example
  • How to calculate current stock or inventory in Excel

Data Validation Examples

  • Excel Data validation date in specific year
  • Data validation must not exist in list
  • Excel Data validation with conditional list
  • Excel Data validation must not contain
  • Excel Data validation date in next 30 days

Custom weekday abbreviation in Excel

by

This tutorial shows how to create custom weekday abbreviation in Excel using example below.

To create a custom weekday abbreviation, you can use a formula based on the CHOOSE and WEEKDAY functions. With this approach, you can generate a custom one-letter abbreviation, two-letter abbreviation, or any weekday that makes sense in your particular situation.

Worked Example:   Excel VLOOKUP and HLOOKUP functions Examples

Formula

=CHOOSE(WEEKDAY(date),"S","M","T","W","T","F","S")

Explanation

In the example shown, the formula in C5 is:

=CHOOSE(WEEKDAY(B5),"S","M","T","W","T","F","S")

How this formula works

Working from the inside-out, the WEEKDAY function takes a date and returns a number between 1 and 7. With default settings, the number 1 corresponds to Sunday and the number 7 corresponds to Saturday.

Worked Example:   WEEKDAY function: Description, Usage, Syntax, Examples and Explanation

The CHOOSE function simply maps numbers to values. The first argument is the number to map, and subsequent arguments represent associated values.

In this case, 7 values have been provided in the order required to work with WEEKDAY’s Sunday through Saturday scheme.

Worked Example:   How to calculate nth day of week in month in Excel

With a date from column B, WEEKDAY returns a number which is fed to the CHOOSE function. CHOOSE returns the value at that position in the list of abbreviations.

Post navigation

Previous Post:

Create date range from two dates in Excel

Next Post:

Convert text date dd/mm/yy to mm/dd/yy in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • LOWER function: Description, Usage, Syntax, Examples and Explanation
  • How to get top level domain (TLD) in Excel
  • Find most frequent text within a range with criteria in Excel
  • MID, MIDB functions: Description, Usage, Syntax, Examples and Explanation
  • Remove last characters from right in a cell in Excel
  • Get work hours between dates and times in Excel
  • How to show last updated date stamp in Excel
  • Add decimal minutes to time in Excel
  • How to get same date next month or previous month in Excel
  • How to get same date next year or previous year in Excel
  • How to calculate annuity for interest rate in excel
  • NPV function: Description, Usage, Syntax, Examples and Explanation
  • PMT function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate simple interest in Excel
  • ACCRINTM function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles