Automatically Insert Number of Days in Specific Month

March 4, 2009 by vba excel
Filed under: Excel Formulas 
Sponsor

Excel Formulas Question:

I want to know whether it is possible to set up a formula that would automatically insert the number of days in the current, previous month or specific month. Currently I am having to manually insert the number into the formula which is takes longer time, an axample below, month is where I want the number inserting:
=SUM(D61*37.5)/7.5*month

Excel Formulas Answer:

For the current month:
=DAY(EOMONTH(NOW(),0))

For the previous month:
=DAY(EOMONTH(NOW(),-1))

These require the Analysis ToolPak add-in be installed. If you dont have microsoft excel Analysis ToolPak add-in, try this :

=DAY(DATE(YEAR(TODAY()),MONTH(TODAY())+1,0))

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • Live
  • MisterWong
  • Propeller
  • StumbleUpon
  • Technorati
  • TwitThis
  • YahooMyWeb
  • Print this article!

Rate This Tips:

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Incoming excel search terms

days in a month excel,days in month excel,insert month in excel,number of days in a month excel,excel days in month,excel number of days in a month,how to insert month in excel,inserting each day of the month in excel cell,microsoft excel insert months automatically,,average on number of days in excel,excel fill column with days of month,excel formula automatically updated each day,excel insert month,excel list days in a month,excel macro number of days in month,how do you get excell to automatically add the day,how to auto insert number in spreadsheet,how to insert current month dates in excel 09,how to insert days of the month into excel,inserting months in excel,specific month excel,vba excel number days month,=current month tag excel,add days to a month in excel,add months automatically in excel,add months to specific date in excel,add numbers automatically each month in excel,add the days of the month to cells in vba excel,adding consecutive month days to excel spreadsheet formula,adding in days of the month in excel,adding month and day tabs in excel,adding month in excel,auto add day in excel,auto add days to end of the month in excel,auto insert a month of dates in excel,auto insert a number into a worksheet when opened,auto insert date /month year in cell,auto insert date in excel,auto insert date on worksheet tab,auto insert day in cell when i enter month and year,auto insert formula on excell worksheet,auto insert month excel,automatcially add months to spreadsheet,automatic add number per month in excel,automatic insertion of months in excel,automatically add in month dates excel,automatically adding month formula in excel,automatically enter days of the month in excel,automatically fill excel worksheet with days of month



Related Excel Tips

Comments

Have another excel answer or questions for this problem ?
Feel free to post it here..