[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

Current month

Like the way you can use =today() to get the current date, what is the equivalent for getting Current Month and can it be preformatted to appear as MMM-YY

Thanks
Seamus
0
Seamus2626
Asked:
Seamus2626
1 Solution
 
barry houdiniCommented:
You can still use =TODAY()

and custom format cell as mmm-yy

or use this formula

=TEXT(TODAY(),"mmm-yy")

regards, barry
0
 
balatheexpertCommented:
yes,

=month(today) -> will give u current month

and u just change the date format to show the month and year which is available in the cell formattting!!

or write this to the custom format "mmm-yy"

hope it helps!!
0
 
Seamus2626Author Commented:
=MONTH(today)

That gave me a Name Error balatheexpert

Thanks Barry

Seamus
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now