Solved

Date format issue

Posted on 2011-03-14
3
192 Views
Last Modified: 2012-05-11
Dear Experts,
very recently  you helped me with a nice formula to transfer data from an "import sheet" to a "report sheet"
When I paste from Outlook data into that sheet, I get a ready report on another sheet.
Now I have an issue with the date format.
When I copy and past the date data from Outlook to Excel I have it still correct. E.g. 14-Mar-11 but on the report page I get 40616. I tried to format the cell but without result!
Do I need to adapt the formula?
The formula below I use for all fields in the report sheet and it works fine with all kind of values but not with the date!

=IFERROR(INDEX('Data-Import'!2:2;MATCH(E$1;'Data-Import'!$1:$1;0))&"";"")

any solution?
see also:

http://www.experts-exchange.com/Microsoft/Applications/Q_26876677.html

thanks

0
Comment
Question by:Petersburg1
[X]
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
  • 2
3 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 250 total points
ID: 35127694
You are converting the return value to text. Use:
=IFERROR(INDEX('Data-Import'!2:2;MATCH(E$1;'Data-Import'!$1:$1;0));"")
0
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 35128952
PS You will still need to format the cell as a date. :)
0
 

Author Closing Comment

by:Petersburg1
ID: 35129878
Thank you
Nils
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

636 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