ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Date to Day (https://www.excelbanter.com/excel-worksheet-functions/252522-date-day.html)

RAZ

Date to Day
 
1.
if I add one to the Date it gives me date of the next day. How do I do it
for the days?
Example: 04-Jan in cell A1, on A2 I have =A1+1 gives me 05-Jan
if 'Sat' in B1, I want 'Sun' on B2 and so on.

2.
if possible I would like to have the cell B1 to show name of the day on a
date,
If A1 has 04-Jan, I want B1 to show MON or Mon and so on.

Thanks in Advance!



T. Valko

Date to Day
 
You may not be able to see your other post, so...

A1 = some date like 1/1/2010 (which is a Friday)

For the next day as a TEXT value:

=TEXT(A1+1,"ddd")

Result = Sat

If you want the long weekday name, Saturday, just add another "d" to the
formula:

=TEXT(A1+1,"dddd")

Result = Saturday

--
Biff
Microsoft Excel MVP


"Raz" wrote in message
...
1.
if I add one to the Date it gives me date of the next day. How do I do it
for the days?
Example: 04-Jan in cell A1, on A2 I have =A1+1 gives me 05-Jan
if 'Sat' in B1, I want 'Sun' on B2 and so on.

2.
if possible I would like to have the cell B1 to show name of the day on a
date,
If A1 has 04-Jan, I want B1 to show MON or Mon and so on.

Thanks in Advance!





Gord Dibben

Date to Day
 
In B1 enter =A1 then copy down.

Custom Format the dates as you wish

ddd for Mon

You will never get MON via formatting.


Gord Dibben MS Excel MVP

On Tue, 5 Jan 2010 15:36:02 -0800, Raz
wrote:

1.
if I add one to the Date it gives me date of the next day. How do I do it
for the days?
Example: 04-Jan in cell A1, on A2 I have =A1+1 gives me 05-Jan
if 'Sat' in B1, I want 'Sun' on B2 and so on.

2.
if possible I would like to have the cell B1 to show name of the day on a
date,
If A1 has 04-Jan, I want B1 to show MON or Mon and so on.

Thanks in Advance!




All times are GMT +1. The time now is 07:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com