Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Date format issue

Posted on 2011-03-14
3
Medium Priority
?
194 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 1000 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

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
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…

885 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