Solved

4 columns with 4 parts of a date into one column with 1 date

Posted on 2016-07-19
2
36 Views
Last Modified: 2016-07-19
Attached is a spreadsheet that has 5 columns
columns 1 through 4   have the following data

1 dateyear
2 datemonth
3 dateday
4 datetime

column 5 has an entry of a desired result deduced from the information in columns 1 - 4.  (i produced this by hand)

can i have a formula that will produce the result in column 5 from the information that is in columns 1 - 4?
experts-exchange.xlsx
0
Comment
Question by:jamesmetcalf74
[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 Comments
 
LVL 22

Accepted Solution

by:
Ejgil Hedegaard earned 500 total points
ID: 41719922
Use this formula in E2, and copy down.
=DATE(A2,B2,C2)+TIMEVALUE(LEFT(D2,LEN(D2)-4)&":"&MID(D2,LEN(D2)-3,2)&":"&RIGHT(D2,2))
experts-exchange.xlsx
0
 

Author Closing Comment

by:jamesmetcalf74
ID: 41719961
worked like a charm
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
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…

728 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