Custom Formatting or Formula Help?

mishdo1

New Member
Joined
Sep 20, 2006
Messages
19
Okay, anyone got a recommendation on perhaps a custom format that will allow you to utilize a concatenate formula to pull in a date and title of something and the date appear as a date?

I am essentially creating a primary key that I want to user to be able to recognize as a current activity. I want to utilize the Date as the primary factor in the naming. So right now I have the formula pointed to a column with a activity date that will be referenced. However, when the result returns excel is formatting date into a numeric value and not date format.

Example Formula = =IF((B2 = ""),"",CONCATENATE(I2," - ",B2))
- I2 is the Activity Date
- B2 is Customer Name

Result = 40855 - TE Enterprise
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Is this what you are after?

Excel Workbook
ABCDEFGHIJ
1Example Formula = =IF((B2 = ""),"",CONCATENATE(I2," - ",B2))*********
2- I2 is the Activity Date*********
3- B2 is Customer Name*********
4**********
5Result = 40855 - TE Enterprise*********
6*Customer******Activity date*
7*Cust-1******11/24/201140871 - Cust-1
8*Cust-2******11/5/201140852 - Cust-2
9*Cust-3******11/14/201140861 - Cust-3
10*Cust-4******11/10/201140857 - Cust-4
11********11/27/2011*
12********11/3/2011*
13*Cust-5******11/20/201140867 - Cust-5
14*Cust-6******11/3/201140850 - Cust-6
15*Cust-7******11/25/201140872 - Cust-7
16*Cust-8******11/23/201140870 - Cust-8
Sheet2
 
Upvote 0
=IF((B2 = ""),"",CONCATENATE(TEXT(I2,"mm/dd/yyy")," - ",B2))
 
Upvote 0

Forum statistics

Threads
1,213,538
Messages
6,114,218
Members
448,554
Latest member
Gleisner2

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