Avatar of Davisron867
Davisron867
Flag for United States of America asked on

Dates not recognized when downloaded from Peoplesoft

I'm experiencing some unexpected behavior in a PeopleSoft nVision matrix report.

The report layout has a date code in Row 2, which is hidden

-Cell F2 has the PeopleSoft code %ASD% to return the Report Date, so for Apr 30, 2011,
the formula returns '2011-04-30 (including the apostrophe).

-Cell F10 is a column header with the formula =Text(F2,"mmm") and should display Apr

Both cells are formatted as General.

The result of the text formula in cell F10 has always been Apr,but when we run the same layout in a new production environment residing offshore, the result in cell F10 is the number 4 instead of Apr.

The column header in cell F10 will magically update and resolve to "Apr" if you
-expand the hidden row (row 1) with the %ASD% formula, or
-activate either cells F1 or F10.

But, we dont want to have to manually intervene to get the header to display the month as Apr. I could use VBA to activate cells in the This Workbook object, but I'd like to understand why this is happening and if there's a non-VBA solution.

Microsoft Excel

Avatar of undefined
Last Comment
rspahitz

8/22/2022 - Mon
rspahitz

Instead of TEXT, try this:

=MONTH(DATEVALUE(F2))

That will give the number of the month.  

Or just use this:

DATEVALUE(F2)

and format the cell as mmm
ASKER CERTIFIED SOLUTION
rspahitz

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy