Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Week Day formula usage????

Hi,
Can someone tell me how to use WEEKDAY function??.

Ex:
Imagine A1 has March 17th 2007

The formula should finally say that A1 is "Sunday"

Pls let me know.
--Ajay--
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Week Day formula usage????

If you simply want to display date as day of week, CUSTOM format cell as
"dddd" (no quotes) (and 17th March 2007 is Saturday on my calendar))

"Ajay" wrote:

Hi,
Can someone tell me how to use WEEKDAY function??.

Ex:
Imagine A1 has March 17th 2007

The formula should finally say that A1 is "Sunday"

Pls let me know.
--Ajay--

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Week Day formula usage????

Hi Toppers,
The below does not work, i want the cell / formula to tell me if its Sunday,
Saturday and if the date falls on a Weekday, i should say as "Weekday", Pls
let me know if its possible using Weeday formula??.
--Ajay--

"Toppers" wrote:

If you simply want to display date as day of week, CUSTOM format cell as
"dddd" (no quotes) (and 17th March 2007 is Saturday on my calendar))

"Ajay" wrote:

Hi,
Can someone tell me how to use WEEKDAY function??.

Ex:
Imagine A1 has March 17th 2007

The formula should finally say that A1 is "Sunday"

Pls let me know.
--Ajay--

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Week Day formula usage????

The WEEKDAY( ) function returns a number relating to the day of the
week - you could then turn this number into the name of the day using
something like CHOOSE, or LOOKUP.

However, an easier way is to put this formula in B1:

=A1

and format B1 using Custom to "dddd". Alternatively, use a custom
format on cell A1 as "dddd, mmm dd yyyy" to save using another column.

Hope this helps.

Pete

On Mar 16, 9:19 pm, Ajay wrote:
Hi,
Can someone tell me how to use WEEKDAY function??.

Ex:
Imagine A1 has March 17th 2007

The formula should finally say that A1 is "Sunday"

Pls let me know.
--Ajay--



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Week Day formula usage????

Saturday??????

If A1 contains the date (not 17th), you could just format the cell:

Format|Cells|number tab|Custom category
dddd

If you wanted to use another cell to return Saturday, you could use:
=a1
and format it as dddd
or
=text(a1,"dddd")



Ajay wrote:

Hi,
Can someone tell me how to use WEEKDAY function??.

Ex:
Imagine A1 has March 17th 2007

The formula should finally say that A1 is "Sunday"

Pls let me know.
--Ajay--


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Week Day formula usage????

Try this then:

=IF(WEEKDAY(A1,2)<6,"Weekday",IF(WEEKDAY(A1,2)=6," Saturday","Sunday"))

Hope this helps.

Pete

On Mar 16, 9:34 pm, Ajay wrote:
Hi Toppers,
The below does not work, i want the cell / formula to tell me if its Sunday,
Saturday and if the date falls on a Weekday, i should say as "Weekday", Pls
let me know if its possible using Weeday formula??.
--Ajay--



"Toppers" wrote:
If you simply want to display date as day of week, CUSTOM format cell as
"dddd" (no quotes) (and 17th March 2007 is Saturday on my calendar))


"Ajay" wrote:


Hi,
Can someone tell me how to use WEEKDAY function??.


Ex:
Imagine A1 has March 17th 2007


The formula should finally say that A1 is "Sunday"


Pls let me know.
--Ajay--- Hide quoted text -


- Show quoted text -



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Week Day formula usage????

=WEEKDAY(A1,1)

Look at HELP on WEEKDAY function

The above will return Saturday for 17/03/07 if cell is formatted as "dddd"

"Ajay" wrote:

Hi Toppers,
The below does not work, i want the cell / formula to tell me if its Sunday,
Saturday and if the date falls on a Weekday, i should say as "Weekday", Pls
let me know if its possible using Weeday formula??.
--Ajay--

"Toppers" wrote:

If you simply want to display date as day of week, CUSTOM format cell as
"dddd" (no quotes) (and 17th March 2007 is Saturday on my calendar))

"Ajay" wrote:

Hi,
Can someone tell me how to use WEEKDAY function??.

Ex:
Imagine A1 has March 17th 2007

The formula should finally say that A1 is "Sunday"

Pls let me know.
--Ajay--

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default Week Day formula usage????

The formula is:

A B C
1 03/14/2007 =TEXT(A1,"dddd")
=IF(AND(weekday(A2)<1,weekday(A2)<7),"WEEKDAY"," ")
2
3
4

Thanks and Have a great weekend,
--
Farhad Hodjat


"Ajay" wrote:

Hi Toppers,
The below does not work, i want the cell / formula to tell me if its Sunday,
Saturday and if the date falls on a Weekday, i should say as "Weekday", Pls
let me know if its possible using Weeday formula??.
--Ajay--

"Toppers" wrote:

If you simply want to display date as day of week, CUSTOM format cell as
"dddd" (no quotes) (and 17th March 2007 is Saturday on my calendar))

"Ajay" wrote:

Hi,
Can someone tell me how to use WEEKDAY function??.

Ex:
Imagine A1 has March 17th 2007

The formula should finally say that A1 is "Sunday"

Pls let me know.
--Ajay--

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Week Day formula usage????

Hi Pete,
Thanks, It worked..,
I have another query too..,its with the heading "Time Calculation -
Critical", Can you please check and assist.,
Happy Weekend..,
Regards,
--Ajay--

"Pete_UK" wrote:

Try this then:

=IF(WEEKDAY(A1,2)<6,"Weekday",IF(WEEKDAY(A1,2)=6," Saturday","Sunday"))

Hope this helps.

Pete

On Mar 16, 9:34 pm, Ajay wrote:
Hi Toppers,
The below does not work, i want the cell / formula to tell me if its Sunday,
Saturday and if the date falls on a Weekday, i should say as "Weekday", Pls
let me know if its possible using Weeday formula??.
--Ajay--



"Toppers" wrote:
If you simply want to display date as day of week, CUSTOM format cell as
"dddd" (no quotes) (and 17th March 2007 is Saturday on my calendar))


"Ajay" wrote:


Hi,
Can someone tell me how to use WEEKDAY function??.


Ex:
Imagine A1 has March 17th 2007


The formula should finally say that A1 is "Sunday"


Pls let me know.
--Ajay--- Hide quoted text -


- Show quoted text -




  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Week Day formula usage????

Thanks for the feedback - glad to help. I see you've already had lots
of suggestions in your other thread, and it's getting late here.

Pete

On Mar 16, 10:13 pm, Ajay wrote:
Hi Pete,
Thanks, It worked..,
I have another query too..,its with the heading "Time Calculation -
Critical", Can you please check and assist.,
Happy Weekend..,
Regards,
--Ajay--



"Pete_UK" wrote:
Try this then:


=IF(WEEKDAY(A1,2)<6,"Weekday",IF(WEEKDAY(A1,2)=6," Saturday","Sunday"))


Hope this helps.


Pete


On Mar 16, 9:34 pm, Ajay wrote:
Hi Toppers,
The below does not work, i want the cell / formula to tell me if its Sunday,
Saturday and if the date falls on a Weekday, i should say as "Weekday", Pls
let me know if its possible using Weeday formula??.
--Ajay--


"Toppers" wrote:
If you simply want to display date as day of week, CUSTOM format cell as
"dddd" (no quotes) (and 17th March 2007 is Saturday on my calendar))


"Ajay" wrote:


Hi,
Can someone tell me how to use WEEKDAY function??.


Ex:
Imagine A1 has March 17th 2007


The formula should finally say that A1 is "Sunday"


Pls let me know.
--Ajay--- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Day Of Week Formula carl Excel Worksheet Functions 4 May 23rd 06 04:19 PM
Formula for end of the week OSSIE Excel Discussion (Misc queries) 0 March 31st 06 10:16 PM
"If in last week" formula oatmeal Excel Discussion (Misc queries) 6 October 2nd 05 03:04 PM
How do I set up a week by week skill training schedule in excel? davidwatts Excel Discussion (Misc queries) 0 June 16th 05 11:32 PM
I need week number in excell from a date, first week must be mini. jPeich Excel Discussion (Misc queries) 4 January 5th 05 01:21 AM


All times are GMT +1. The time now is 12:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"