dates

afdmello

Board Regular
Joined
Oct 19, 2010
Messages
106
I have three columns; each having the date, day and year. How can use a formula to make all three in one cell to represent a date and then drag down the formula for rest.

thank you

Afd
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
If you have Day, Month, Year in cells A1, B1, C1, put this formula in your date cell.
Code:
=DATE(C1,B1,A1)
Note: this is for USA date style, adjust as needed for Europe style.
 
Upvote 0
columnB ColumnC columnD
10 May 1998
22 june 2001


I want it as 10-May-1998 in one cell of column E.


I want to do this to subtract dates using the dated if function later

thanks

Afd
 
Upvote 0
Try

=(C1&" "&B1&", "&D1)+0

then format the cell with the formula in date format you desire.

Hope that helps.
 
Upvote 0
John's suggestion worked well except that I have to change the month to a number.

Jonmo1 your solution provided a #value error


Afd
 
Upvote 0

Forum statistics

Threads
1,224,592
Messages
6,179,789
Members
452,942
Latest member
VijayNewtoExcel

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top