Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-04-2015, 08:25 AM
Nathan8752 Nathan8752 is offline Turn weekday number into weekday name Windows 7 64bit Turn weekday number into weekday name Office 2010 64bit
Novice
Turn weekday number into weekday name
 
Join Date: Aug 2015
Posts: 27
Nathan8752 is on a distinguished road
Default Turn weekday number into weekday name

Excel gurus:

I found a function that returns a number from 1 to 7 representing a weekday. Is there a function that returns the name of the day instead? Or is there a function that turns the number into a weekday name?
Reply With Quote
  #2  
Old 11-04-2015, 10:46 AM
Kevin@Radstock Kevin@Radstock is offline Turn weekday number into weekday name Windows 8 Turn weekday number into weekday name Office 2013
Office 365
 
Join Date: Feb 2012
Posts: 94
Kevin@Radstock is on a distinguished road
Default

Hi
Hardcoded:
=LOOKUP(WEEKDAY(A1,2),{1;2;3;4;5;6;7},{"Monday","T uesday","Wednesday","Thursday","Friday","Saturday" ,"Sunday"})

Or a better idea. Say in cells G1:G7 you have the numbers 1-7 & H1:H7 you have Monday-Sunday.

=LOOKUP(WEEKDAY(A1,2),$G$1:$H$7)
Reply With Quote
  #3  
Old 11-05-2015, 12:35 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Turn weekday number into weekday name Windows 7 64bit Turn weekday number into weekday name Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

If your week begins on Sunday then just Custom format your cell as "ddd"
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #4  
Old 11-05-2015, 08:14 AM
Nathan8752 Nathan8752 is offline Turn weekday number into weekday name Windows 7 64bit Turn weekday number into weekday name Office 2010 64bit
Novice
Turn weekday number into weekday name
 
Join Date: Aug 2015
Posts: 27
Nathan8752 is on a distinguished road
Default

The custom formatting works great also. Thanks to both of you.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
counting "x" in a cell and sum the numbers in weekday rayramirezdvm Excel 4 04-02-2015 02:58 PM
Turn weekday number into weekday name WEEKDAY Function with Conditional Formatting meggenm Excel 1 08-09-2014 09:42 AM
Turn weekday number into weekday name Recurring meeting on the 10th weekday of every month cnwinger Outlook 3 06-19-2014 10:20 AM
NumberFormat: Capitalised Weekday Letters??? tinfanide Excel Programming 3 04-17-2012 04:46 AM
My weekday function aint working FraserKitchell Excel 12 05-25-2010 04:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft