Excel question
#1
Excel question
I have a cell that contains a date formatted as 7/24/2007 we'll say cell A1
Another cell contains text and numbers at the end as BOTCM072407
I want the 2nd cell to be something like ="BOTCM" & "" & A1
The problem is when I do this it converts the date into numbers like 39286. I know where and why it converts to that number, but I don't want it to
Does anyone know how I would be able to get my result as BOTCM072407? Thanks!
Another cell contains text and numbers at the end as BOTCM072407
I want the 2nd cell to be something like ="BOTCM" & "" & A1
The problem is when I do this it converts the date into numbers like 39286. I know where and why it converts to that number, but I don't want it to
Does anyone know how I would be able to get my result as BOTCM072407? Thanks!
#2
if A1 is formated as text then
=BOTCM&A1 should help (it will leave your slashes in though)
There is excel function that removes specific characters from strings, exactly what the code is, I'm not entirely sure. Google knows I'm sure though...
=BOTCM&A1 should help (it will leave your slashes in though)
There is excel function that removes specific characters from strings, exactly what the code is, I'm not entirely sure. Google knows I'm sure though...
#6
Originally Posted by hornyleprechaun
Wipe0ut I turned your code into..
="BOTCM"&"0"&MONTH($E$2)&DAY($E$2)&RIGHT(YEAR($E$2 ),2)
And it works.. thanks a lot
="BOTCM"&"0"&MONTH($E$2)&DAY($E$2)&RIGHT(YEAR($E$2 ),2)
And it works.. thanks a lot
unless you want 012
if (month($E$2) > 9,MONTH($E$2), "0"&MONTH($E$2))
do the same thing for DAY()
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post
navtool.com
5G TLX Audio, Bluetooth, Electronics & Navigation
31
11-16-2015 08:30 PM
navtool.com
1G RDX Audio, Bluetooth, Electronics & Navigation
1
09-25-2015 05:15 PM
rboller
3G TL Audio, Bluetooth, Electronics & Navigation
0
09-23-2015 02:49 PM