Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to
create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Requirement not clear. Do you want YYYYMMDD-#### in a cell and you have all
the components in different cells? Enter this in F1 =A1&B1$C1&"-"&D1 assuming you have the above in Col A-D "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes, all components are in different cells and tabs within the same file. I
entered the formula below but only the test displays in the cell, not the formula value. How do I fix this? ='Lookup Table'!A423&'Lookup Table'!A425&'Lookup Table'!A427&"-"&B4 "Sheeloo" wrote: Requirement not clear. Do you want YYYYMMDD-#### in a cell and you have all the components in different cells? Enter this in F1 =A1&B1$C1&"-"&D1 assuming you have the above in Col A-D "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The value now displays
39710.604976388939710.604976388939710.6049763889-101 It should display 20080919-0101. It doesn't seem to be working. "Sheeloo" wrote: Requirement not clear. Do you want YYYYMMDD-#### in a cell and you have all the components in different cells? Enter this in F1 =A1&B1$C1&"-"&D1 assuming you have the above in Col A-D "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Looks like you have real dates and times in your cells
=TEXT(A1,"YYYY")&TEXT(B1,"MM")&TEXT(C1,"DD")&" - "&D1 -- Regards, Peo Sjoblom "rmorrison" wrote in message ... The value now displays 39710.604976388939710.604976388939710.6049763889-101 It should display 20080919-0101. It doesn't seem to be working. "Sheeloo" wrote: Requirement not clear. Do you want YYYYMMDD-#### in a cell and you have all the components in different cells? Enter this in F1 =A1&B1$C1&"-"&D1 assuming you have the above in Col A-D "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This shoud work. Did you test this out?
"Peo Sjoblom" wrote: Looks like you have real dates and times in your cells =TEXT(A1,"YYYY")&TEXT(B1,"MM")&TEXT(C1,"DD")&" - "&D1 -- Regards, Peo Sjoblom "rmorrison" wrote in message ... The value now displays 39710.604976388939710.604976388939710.6049763889-101 It should display 20080919-0101. It doesn't seem to be working. "Sheeloo" wrote: Requirement not clear. Do you want YYYYMMDD-#### in a cell and you have all the components in different cells? Enter this in F1 =A1&B1$C1&"-"&D1 assuming you have the above in Col A-D "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Are you addressing me?
-- Regards, Peo Sjoblom "Sheeloo" wrote in message ... This shoud work. Did you test this out? "Peo Sjoblom" wrote: Looks like you have real dates and times in your cells =TEXT(A1,"YYYY")&TEXT(B1,"MM")&TEXT(C1,"DD")&" - "&D1 -- Regards, Peo Sjoblom "rmorrison" wrote in message ... The value now displays 39710.604976388939710.604976388939710.6049763889-101 It should display 20080919-0101. It doesn't seem to be working. "Sheeloo" wrote: Requirement not clear. Do you want YYYYMMDD-#### in a cell and you have all the components in different cells? Enter this in F1 =A1&B1$C1&"-"&D1 assuming you have the above in Col A-D "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The formula below works nicely. I did notice that my number is not out to
the thousands place. The cell in my job number is custom formated as 0000, so when 101 is entered, it displays 0101. This four digit number is what should be added to my file number as 20080919-0101, but it displays as 20080919-101. How do I get the last four digits to display as 0101? Also, because my YYYY, MM, and DD fields are based on =now() formula, I'm assuming that every day I open the file, my file number will change. Is there a simple way to get this to be a static number after it is first created without the additional step of copy, paste special - values? "Sheeloo" wrote: This shoud work. Did you test this out? "Peo Sjoblom" wrote: Looks like you have real dates and times in your cells =TEXT(A1,"YYYY")&TEXT(B1,"MM")&TEXT(C1,"DD")&" - "&D1 -- Regards, Peo Sjoblom "rmorrison" wrote in message ... The value now displays 39710.604976388939710.604976388939710.6049763889-101 It should display 20080919-0101. It doesn't seem to be working. "Sheeloo" wrote: Requirement not clear. Do you want YYYYMMDD-#### in a cell and you have all the components in different cells? Enter this in F1 =A1&B1$C1&"-"&D1 assuming you have the above in Col A-D "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This works nicely. Thanks so much. In order to format the last string to
display out 4 digits i included the following to the formula: =TEXT('Lookup Table'!A423,"YYYY")&TEXT('Lookup Table'!A425,"MM")&TEXT('Lookup Table'!A427,"DD")&"-"&TEXT(B4,"0000") "Sheeloo" wrote: This shoud work. Did you test this out? "Peo Sjoblom" wrote: Looks like you have real dates and times in your cells =TEXT(A1,"YYYY")&TEXT(B1,"MM")&TEXT(C1,"DD")&" - "&D1 -- Regards, Peo Sjoblom "rmorrison" wrote in message ... The value now displays 39710.604976388939710.604976388939710.6049763889-101 It should display 20080919-0101. It doesn't seem to be working. "Sheeloo" wrote: Requirement not clear. Do you want YYYYMMDD-#### in a cell and you have all the components in different cells? Enter this in F1 =A1&B1$C1&"-"&D1 assuming you have the above in Col A-D "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It's working now but the cell display reads:
39710.604976388939710.604976388939710.6049763889-101 It should display 20080919-0101. It doesn't seem to be working. "rmorrison" wrote: I have YYYY, MM, and DD entered in separate cells in Excel 2007. I want to create a new Job Number with YYYYMMDD-####, where #### is a new job which is attached to the date string. How do I do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I convert a birthdate format from yyyy/mm/dd to mm/dd/yyyy | Excel Worksheet Functions | |||
convert string to number | Excel Worksheet Functions | |||
convert date mm/dd/yyyy to dd/mm/yyyy | Excel Worksheet Functions | |||
Convert a number to a name string | Excel Worksheet Functions | |||
convert string to number | Excel Worksheet Functions |