Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Display each day of the month

On a Worksheet column A1 to A31.
How can I, by selecting a month and year on C1 (April-08), have the days of
the month displaying down column A.
--
WH99
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Display each day of the month

"selecting" a month and year on C1 (April-08), ????

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"WH99" wrote in message
...
On a Worksheet column A1 to A31.
How can I, by selecting a month and year on C1 (April-08), have the days
of
the month displaying down column A.
--
WH99


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Display each day of the month

If I enter April-08 in cell C1. I then get the whole month of april, from the
1st to the 30th down column A. February would only be 28 days or 29 in leap
years. March would show 31 days. i.e

01-April-08
02-April-08
03-April-08
so on until the end of the month.
--
WH99


"Don Guillett" wrote:

"selecting" a month and year on C1 (April-08), ????

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"WH99" wrote in message
...
On a Worksheet column A1 to A31.
How can I, by selecting a month and year on C1 (April-08), have the days
of
the month displaying down column A.
--
WH99



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Display each day of the month

Assuming C1 contains the real date for the first of the month (formatted to
look like you showed)...

A1: =C1

A2: =A1+1
.....copy A2 down to A28

A29: =IF(A28+1DATE(YEAR($A1),MONTH($A1)+1,0),"",A28+1)

A30: =IF(A28+2DATE(YEAR($A1),MONTH($A1)+1,0),"",A28+2)

A31: =IF(A28+3DATE(YEAR($A1),MONTH($A1)+1,0),"",A28+3)

Rick


H99" wrote in message
...
If I enter April-08 in cell C1. I then get the whole month of april, from
the
1st to the 30th down column A. February would only be 28 days or 29 in
leap
years. March would show 31 days. i.e

01-April-08
02-April-08
03-April-08
so on until the end of the month.
--
WH99


"Don Guillett" wrote:

"selecting" a month and year on C1 (April-08), ????

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"WH99" wrote in message
...
On a Worksheet column A1 to A31.
How can I, by selecting a month and year on C1 (April-08), have the
days
of
the month displaying down column A.
--
WH99




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Display each day of the month

Rick,
Brilliant, it works great.
Many thanks
--
WH99


"Rick Rothstein (MVP - VB)" wrote:

Assuming C1 contains the real date for the first of the month (formatted to
look like you showed)...

A1: =C1

A2: =A1+1
.....copy A2 down to A28

A29: =IF(A28+1DATE(YEAR($A1),MONTH($A1)+1,0),"",A28+1)

A30: =IF(A28+2DATE(YEAR($A1),MONTH($A1)+1,0),"",A28+2)

A31: =IF(A28+3DATE(YEAR($A1),MONTH($A1)+1,0),"",A28+3)

Rick


H99" wrote in message
...
If I enter April-08 in cell C1. I then get the whole month of april, from
the
1st to the 30th down column A. February would only be 28 days or 29 in
leap
years. March would show 31 days. i.e

01-April-08
02-April-08
03-April-08
so on until the end of the month.
--
WH99


"Don Guillett" wrote:

"selecting" a month and year on C1 (April-08), ????

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"WH99" wrote in message
...
On a Worksheet column A1 to A31.
How can I, by selecting a month and year on C1 (April-08), have the
days
of
the month displaying down column A.
--
WH99




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
I want a the to display the Month name only. Nothing else. DAiuto Setting up and Configuration of Excel 3 September 27th 07 12:19 AM
First day and Last day of the month to display automatically mrbalaje Excel Discussion (Misc queries) 1 April 11th 07 02:36 PM
Display month name instead of number Office User Excel Discussion (Misc queries) 3 January 10th 07 06:58 PM
Display Month - 1 HearSay Excel Worksheet Functions 10 September 30th 06 05:18 AM
Display every 3rd category name but still display latest month maryj Charts and Charting in Excel 1 September 24th 06 09:05 PM


All times are GMT +1. The time now is 05:54 PM.

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"