RSS
Follow us on:
  • Recommend:
  • 0 Comments

Spreadsheet Tips

How do you count the ways? Excel offers numerous counting techniques.

How Many Days in the Month?

Excel lacks a function for calculating the number of days in a particular month, so you'll need to construct your own formula. If cell A1 contains a date, this formula will return the number of days in the month: =day(date(year(A1),month(A1)+1,1)­1).

1-2-3's @dateinfo function is more helpful. The second argument for this function determines the type of information to return about a date (oddly enough, '7' yields the number of days in the month). This formula refers to a date in cell A1: @dateinfo(A1,7).

Would you recommend this story? YES NO

  • Recommend:
  • 0 Comments
  • Become an Android authority

    Play music or games, run productivity apps and essential utilities.

Lenovo Laptop Deals

Subscribe to the Daily Technology News Newsletter - 7 days a week

See All Newsletters »
Today's Special Offers