Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Date Function Help

I am looking how to create a function for the following. I have 3 columns
that represent a date. Column one represents the month, Column two
represents the day, and column three represents a year. For example a birth
date (1) 05, (2) 15, (3) 1956. In the fourth column that I will create I
would like to place the function so that I can have similar results of
05/15/1956. I have played around, but I cannot get the numbers right, I am
still getting errors. Any help would be appreciated. Thanks so much.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Date Function Help

If you have 05 in column 1 (A) this suggests that it is a text value. So,
you might like to try this:

=DATE(C1*1,A1*1,B1*1)

Then format the cell in the style that you would like to see (custom -
mm/dd/yyyy)

Hope this helps.

Pete

"sweetthing4luc" wrote in message
...
I am looking how to create a function for the following. I have 3 columns
that represent a date. Column one represents the month, Column two
represents the day, and column three represents a year. For example a
birth
date (1) 05, (2) 15, (3) 1956. In the fourth column that I will create I
would like to place the function so that I can have similar results of
05/15/1956. I have played around, but I cannot get the numbers right, I
am
still getting errors. Any help would be appreciated. Thanks so much.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Date Function Help

=DATE(C1,A1,B1)

Syntax is Date(year,month,day)


Gord Dibben MS Excel MVP


On Tue, 4 Nov 2008 15:01:03 -0800, sweetthing4luc
wrote:

I am looking how to create a function for the following. I have 3 columns
that represent a date. Column one represents the month, Column two
represents the day, and column three represents a year. For example a birth
date (1) 05, (2) 15, (3) 1956. In the fourth column that I will create I
would like to place the function so that I can have similar results of
05/15/1956. I have played around, but I cannot get the numbers right, I am
still getting errors. Any help would be appreciated. Thanks so much.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Date Function Help

Good point about the 05 Pete.


Gord

On Tue, 4 Nov 2008 23:12:21 -0000, "Pete_UK" wrote:

If you have 05 in column 1 (A) this suggests that it is a text value. So,
you might like to try this:

=DATE(C1*1,A1*1,B1*1)

Then format the cell in the style that you would like to see (custom -
mm/dd/yyyy)

Hope this helps.

Pete

"sweetthing4luc" wrote in message
...
I am looking how to create a function for the following. I have 3 columns
that represent a date. Column one represents the month, Column two
represents the day, and column three represents a year. For example a
birth
date (1) 05, (2) 15, (3) 1956. In the fourth column that I will create I
would like to place the function so that I can have similar results of
05/15/1956. I have played around, but I cannot get the numbers right, I
am
still getting errors. Any help would be appreciated. Thanks so much.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Date Function Help

Well, I wasn't sure what the OP meant about "getting errors" - it
might be that the cell wasn't formatted as a date so s/he got a large
number and classed this as an error. Anyway, although it's belt &
braces to multiply by 1, it won't do any harm.

Thanks, Gord.

Pete

On Nov 5, 12:11*am, Gord Dibben <gorddibbATshawDOTca wrote:
Good point about the 05 Pete.

Gord



On Tue, 4 Nov 2008 23:12:21 -0000, "Pete_UK" wrote:
If you have 05 in column 1 (A) this suggests that it is a text value. So,
you might like to try this:


=DATE(C1*1,A1*1,B1*1)


Then format the cell in the style that you would like to see (custom -
mm/dd/yyyy)


Hope this helps.


Pete


"sweetthing4luc" wrote in message
...
I am looking how to create a function for the following. *I have 3 columns
that represent a date. *Column one represents the month, Column two
represents the day, and column three represents a year. *For example a
birth
date (1) 05, (2) 15, (3) 1956. *In the fourth column that I will create I
would like to place the function so that I can have similar results of
05/15/1956. *I have played around, but I cannot get the numbers right, I
am
still getting errors. *Any help would be appreciated. *Thanks so much.- Hide quoted text -


- Show quoted text -


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
Date function in ACCRINTM requires date format not available Pev Excel Worksheet Functions 4 October 13th 07 12:20 PM
MAX figure within a date range as a function of today()'s date irvine79 Excel Worksheet Functions 6 February 20th 07 03:28 PM
SUMIF within date range as a function of today()'s date irvine79 Excel Worksheet Functions 8 August 6th 06 05:55 PM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM
Calculating days between current date and a date in future NETWORKDAYS() function Faheem Khan Excel Worksheet Functions 2 February 10th 05 07:18 PM


All times are GMT +1. The time now is 11:32 PM.

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

About Us

"It's about Microsoft Excel"