Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Day of week concacted from three cells


I have three seperate cells "Year" "Month" "Day". I need to get the day
of week out of it. Can I concantinate three values to get the day of
week back.

As a quick example how can I make this work

A B C
2006 January 1

=weekday(A1&B1&c1)


--
MABeatty
------------------------------------------------------------------------
MABeatty's Profile: http://www.excelforum.com/member.php...o&userid=32258
View this thread: http://www.excelforum.com/showthread...hreadid=560647

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Day of week concacted from three cells


=CHOOSE(WEEKDAY(CONCATENATE(day,"/",month,"/",year)),"Sunday","Monday","Tuesday","Wednesday"," Thursday","Friday","Saturday")

try this

where day is put a cell value
where month is put a cell value
where year is put a cell value

try this


--
Zygan
------------------------------------------------------------------------
Zygan's Profile: http://www.excelforum.com/member.php...o&userid=34423
View this thread: http://www.excelforum.com/showthread...hreadid=560647

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Day of week concacted from three cells

Hi MABeatty,

one way is create in a auxiar area a table as:
Col M Col N
January 1
February 2
March 3
....
December 12

and use a function like this: =weekday(date(a2,vlookup(b2,m1:m12,2),c2))

Format as custom ddd - to Sun or dddd to return Sunday

hth
regards from Brazil
Marcelo


"MABeatty" escreveu:


I have three seperate cells "Year" "Month" "Day". I need to get the day
of week out of it. Can I concantinate three values to get the day of
week back.

As a quick example how can I make this work

A B C
2006 January 1

=weekday(A1&B1&c1)


--
MABeatty
------------------------------------------------------------------------
MABeatty's Profile: http://www.excelforum.com/member.php...o&userid=32258
View this thread: http://www.excelforum.com/showthread...hreadid=560647


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
Wrong Week number Nleric Excel Worksheet Functions 14 May 5th 06 01:26 PM
Macro to copy cells to rows below [email protected] Excel Discussion (Misc queries) 1 January 20th 06 06:59 PM
how do i protect cells in a shared worksheet Debi Excel Discussion (Misc queries) 3 September 30th 05 11:15 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


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

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

About Us

"It's about Microsoft Excel"