Solved

# Excel Formulas

Posted on 2015-02-12
75 Views
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.
SampleWorkbook.xlsx
0
Question by:Ryan Rood

LVL 45

Expert Comment

Just use =Month(A2)
0

LVL 1

Author Comment

It would be nice if life was that simple. I need to provide a digit month code ... 01, 02, 03, etc.
0

LVL 47

Accepted Solution

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

=TEXT(A2,"MM")

Wayne
0

LVL 11

Assisted Solution

Wilder1626 earned 250 total points
Hi

Try like this:
=TEXT(A2,"mm")
0

LVL 13

Expert Comment

The problem is in the Text function. Replace "MM" with "00".
0

LVL 1

Author Closing Comment

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.
0

LVL 11

Expert Comment

I'm glad i was able to help.
0

## Featured Post

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.