Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default a cell to display number of days in a month given in another cell

Hi everybody,

I know I may be asking a basic question, but the problem is driving me nuts.
I have month typed in one cell and I want to call the number of days in
another specific cell. How do I do that??

Regards

Sudip Roy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 459
Default a cell to display number of days in a month given in another cell

sudip wrote:
Hi everybody,

I know I may be asking a basic question, but the problem is driving
me nuts. I have month typed in one cell and I want to call the number
of days in another specific cell. How do I do that??

Regards

Sudip Roy



If, as you say, you have typed the month's name in a cell, say is F4, you
can have the number of days of the month in another cell in which you type
this formula:

=DAY(DATE(YEAR(VALUE("1/"&F4&"/"&YEAR(TODAY()))),MONTH(VALUE("1/"&F4&"/"&YEAR(TODAY())))+1,0))

You have to format as General or as Number the cell in which you insert the
formula.


--
(I'm not sure of names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy


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
Change cell Colour when a number of days have been passed SR7133 Excel Discussion (Misc queries) 4 March 1st 06 10:49 PM
Return SEARCHED Column Number of Numeric Label and Value Sam via OfficeKB.com Excel Worksheet Functions 23 January 30th 06 06:16 PM
i want to display the month from a date into another cell weazal5 Excel Worksheet Functions 1 April 26th 05 08:51 AM
how do i display the total number of days in the current month in. timerigger Excel Discussion (Misc queries) 6 March 20th 05 05:13 PM
Count number of days in given month? Bryan Excel Worksheet Functions 10 February 2nd 05 11:44 PM


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