Solved

Date format issue

Posted on 2011-03-14
3
189 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
  • 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

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.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
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!
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
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…

856 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