Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have looked all over to determine how to maintain leading zeros in a
formula result. I have tried formating cells as custom '0000' and as text to no avail. I have two cell that I would like to combine into one cell. Example, b1=60; c1=07 when I combine these two cells I get a1=607... This is killing me. Any quick help would be greatly appreciated. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You can use =text(location,"00000") this will always put zeroes in front if
needed to make number 5 digits, increase zeroes for more. -John "Advent" wrote: I have looked all over to determine how to maintain leading zeros in a formula result. I have tried formating cells as custom '0000' and as text to no avail. I have two cell that I would like to combine into one cell. Example, b1=60; c1=07 when I combine these two cells I get a1=607... This is killing me. Any quick help would be greatly appreciated. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks John but I am looking to combine these two numbers. I would like to
end up with 6007. "John Bundy" wrote: You can use =text(location,"00000") this will always put zeroes in front if needed to make number 5 digits, increase zeroes for more. -John "Advent" wrote: I have looked all over to determine how to maintain leading zeros in a formula result. I have tried formating cells as custom '0000' and as text to no avail. I have two cell that I would like to combine into one cell. Example, b1=60; c1=07 when I combine these two cells I get a1=607... This is killing me. Any quick help would be greatly appreciated. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This will work if you know how many leading zeroe's you want
=TEXT(A1,"00")&TEXT(B1,"00") -John "Advent" wrote: Thanks John but I am looking to combine these two numbers. I would like to end up with 6007. "John Bundy" wrote: You can use =text(location,"00000") this will always put zeroes in front if needed to make number 5 digits, increase zeroes for more. -John "Advent" wrote: I have looked all over to determine how to maintain leading zeros in a formula result. I have tried formating cells as custom '0000' and as text to no avail. I have two cell that I would like to combine into one cell. Example, b1=60; c1=07 when I combine these two cells I get a1=607... This is killing me. Any quick help would be greatly appreciated. |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
John,
You are the man! Thanks so much this really worked. "John Bundy" wrote: This will work if you know how many leading zeroe's you want =TEXT(A1,"00")&TEXT(B1,"00") -John "Advent" wrote: Thanks John but I am looking to combine these two numbers. I would like to end up with 6007. "John Bundy" wrote: You can use =text(location,"00000") this will always put zeroes in front if needed to make number 5 digits, increase zeroes for more. -John "Advent" wrote: I have looked all over to determine how to maintain leading zeros in a formula result. I have tried formating cells as custom '0000' and as text to no avail. I have two cell that I would like to combine into one cell. Example, b1=60; c1=07 when I combine these two cells I get a1=607... This is killing me. Any quick help would be greatly appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
The Formula is displaying, not the result | Excel Discussion (Misc queries) | |||
How do I make a formula read a result rather than a formula | Excel Discussion (Misc queries) | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Median result used in formula gives incorrect result | Excel Worksheet Functions | |||
Is there a formula to spell out a number in excel? | Excel Worksheet Functions |