Excel Formulas

Posted on 2015-02-12
Last Modified: 2015-02-12
Sample workbook attached. Please review Sheet (Post) cell B2:B29. I don't understand why it wont read the proper MONTH() value. Can someone please help explain this? I am referencing the date from the Sheet (In) which must stay this way because it is being used as a bigger part of the picture than is visible here.
Question by:Ryan Rood
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 47

Expert Comment

by:Martin Liss
ID: 40607138
Just use =Month(A2)

Author Comment

by:Ryan Rood
ID: 40607140
It would be nice if life was that simple. I need to provide a digit month code ... 01, 02, 03, etc.
LVL 47

Accepted Solution

Wayne Taylor (webtubbs) earned 250 total points
ID: 40607142
Or, if you want it to remain formatted as "MM", use this...


Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 11

Assisted Solution

Wilder1626 earned 250 total points
ID: 40607143

Try like this:
LVL 13

Expert Comment

ID: 40607148
The problem is in the Text function. Replace "MM" with "00".

Author Closing Comment

by:Ryan Rood
ID: 40607149
I was sure I tried this before but clearly not. I was using TEXT(DATE) or DATE(TEXT) which was not working. This has fixed my issue!

Thank you for the assistance.
LVL 11

Expert Comment

ID: 40607152
I'm glad i was able to help.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question