Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob B
 
Posts: n/a
Default combining 3 columns into useable date

I am cleaning excel sheets for import into another program which needs dates
in one line eg 30/03/2006. Some of the worksheets I have contain date fields
over three columns:

Day Month Year
06 03 2003
21 05 1987
14 05 1990
21 05 1987

I need to combine them & add formatting eg, From line 1: 06/03/2003

Have visibly lost hair trying to use CONCATENATE, can someone point to an
simple solution?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
 
Posts: n/a
Default combining 3 columns into useable date

=DATE(C2,B2,A2)

formatted as a date.

HTH,
Bernie
MS Excel MVP


"Rob B" wrote in message
...
I am cleaning excel sheets for import into another program which needs dates
in one line eg 30/03/2006. Some of the worksheets I have contain date fields
over three columns:

Day Month Year
06 03 2003
21 05 1987
14 05 1990
21 05 1987

I need to combine them & add formatting eg, From line 1: 06/03/2003

Have visibly lost hair trying to use CONCATENATE, can someone point to an
simple solution?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rob B
 
Posts: n/a
Default combining 3 columns into useable date

Thank you very much for the instant answer, Most helpful

Cheers now, Rob.

"Bernie Deitrick" wrote:

=DATE(C2,B2,A2)

formatted as a date.

HTH,
Bernie
MS Excel MVP


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
NilsIvar
 
Posts: n/a
Default combining 3 columns into useable date

Hi Rob!

Have you tried using the DATE function?
--
-----------
HTH

NilsIvar



Rob B skrev:

I am cleaning excel sheets for import into another program which needs dates
in one line eg 30/03/2006. Some of the worksheets I have contain date fields
over three columns:

Day Month Year
06 03 2003
21 05 1987
14 05 1990
21 05 1987

I need to combine them & add formatting eg, From line 1: 06/03/2003

Have visibly lost hair trying to use CONCATENATE, can someone point to an
simple solution?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default combining 3 columns into useable date

=date(c2,b2,a2)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Rob B" wrote in message
...
I am cleaning excel sheets for import into another program which needs

dates
in one line eg 30/03/2006. Some of the worksheets I have contain date

fields
over three columns:

Day Month Year
06 03 2003
21 05 1987
14 05 1990
21 05 1987

I need to combine them & add formatting eg, From line 1: 06/03/2003

Have visibly lost hair trying to use CONCATENATE, can someone point to an
simple solution?





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default combining 3 columns into useable date

Assuming your data is in range A2:C2, enter
=DATE(C2,B2,A2)
and format dd/mm/yyyy

HTH
--
AP
"Rob B" a écrit dans le message de
...
I am cleaning excel sheets for import into another program which needs

dates
in one line eg 30/03/2006. Some of the worksheets I have contain date

fields
over three columns:

Day Month Year
06 03 2003
21 05 1987
14 05 1990
21 05 1987

I need to combine them & add formatting eg, From line 1: 06/03/2003

Have visibly lost hair trying to use CONCATENATE, can someone point to an
simple solution?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract data based on critera from three columns Mildred Excel Discussion (Misc queries) 7 February 24th 06 09:34 PM
Combining Data from Multiple Columns JT Excel Worksheet Functions 2 January 8th 06 07:39 PM
sumproduct of 2 columns with date and name excel guru i''m not Excel Discussion (Misc queries) 9 December 31st 05 05:32 PM
Combining Text and Date for VLOOKUP biggymismyname Excel Worksheet Functions 2 December 5th 05 04:01 PM
Combining Columns Petri M Excel Discussion (Misc queries) 2 November 30th 05 01:41 PM


All times are GMT +1. The time now is 07:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"