#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default chose days by month

I would like to write a function that is different for each month. My dates
are written in dd/mm/yy format. i am looking for a way to reference the
specific cells in a month without referencing day by day. For example i
would write an IF statement like =IF(A1=(SOME DAY IN MARCH?),A1,"". Can
anyone help? I am familiar with arrays and most functions i am just unsure of
what to use. Thanks
A
1 3/3/2006
2 4/4/2006
3 3/16/2006
4 5/2/2006
5 4/29/2006
6 2/2/2006

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default chose days by month

One way:

=IF(MONTH(A1)=3,A1,"")

In article ,
Dave wrote:

I would like to write a function that is different for each month. My dates
are written in dd/mm/yy format. i am looking for a way to reference the
specific cells in a month without referencing day by day. For example i
would write an IF statement like =IF(A1=(SOME DAY IN MARCH?),A1,"". Can
anyone help? I am familiar with arrays and most functions i am just unsure of
what to use. Thanks
A
1 3/3/2006
2 4/4/2006
3 3/16/2006
4 5/2/2006
5 4/29/2006
6 2/2/2006

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
Days per month for calculating storage days Bart Excel Worksheet Functions 3 January 31st 07 06:40 PM
function to fill all days of month to end of month Monique Excel Worksheet Functions 11 May 1st 06 07:39 PM
function to fill all days of month to end of month YaHootie Excel Worksheet Functions 10 May 1st 06 06:01 AM
Dates - Several Days In a month to month only Andy_Pimp Excel Discussion (Misc queries) 1 February 28th 06 11:11 AM
How to Set a fix # of days per month iboock Excel Worksheet Functions 0 November 3rd 04 06:53 AM


All times are GMT +1. The time now is 06:17 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"