Help with a formula to string cells together

kewwyn7

New Member
Joined
Jul 13, 2008
Messages
19
Hi there,
Heres my data:
Name: Joe Bloggs (Cell ref - D3)
Date: 8/02/08 (Cell ref - L3)
Rev #: B (Cell ref - R3(not always populated))

And this is what I need to do:
BLOGGSJ080208B

Cheers to anyone of you geniuses that can help me.
K
 

Some videos you may like

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
Assuming your naming convention is always the same FORENAME space SURNAME then try.

=UPPER(RIGHT(D3,LEN(D3)-FIND(" ",D3))&LEFT(D3,1))&TEXT(E3,"DDMMYY")&R3

Note: I'm unsure as to your date format (date provided is ambiguous could be US/UK), I've assumed UK format but adjust DDMMYY to whichever format you require (MMDDYY).

HTH
 

kewwyn7

New Member
Joined
Jul 13, 2008
Messages
19
Hi Lasw10
Thanks for that ... it works brilliantly but on testing I entered the date 08/08/08 and it returned <TABLE style="WIDTH: 96pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=128 border=0 x:str><COLGROUP><COL style="WIDTH: 96pt; mso-width-source: userset; mso-width-alt: 4681" width=128><TBODY><TR style="HEIGHT: 21.75pt; mso-height-source: userset" height=29><TD class=xl22 style="BORDER-RIGHT: #ece9d8; BORDER-TOP: #ece9d8; BORDER-LEFT: #ece9d8; WIDTH: 96pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 21.75pt; BACKGROUND-COLOR: transparent" width=128 height=29>GILLANK000100B</TD></TR></TBODY></TABLE>
Any ideas?
I am in Australia hence the date format.

Thanks,
K
 

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
Works for me -- are you sure you're referencing the correct cell ?
The value returned in your result is default Jan 1900 (assuming its MMDDYY format) which is what you'd get if you were referencing a blank cell or a cell with a value of < 1.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,554
Messages
5,596,814
Members
414,104
Latest member
imamalidadashzada

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
Top