Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a field with a bunch of numbers from 1 to 1000. They need to be
displayed as 0001, 0002...0999, 1000. I was looking for a function or number formatting way of accomplishing this. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Under Cell Formatting, select Custom and enter: 0000
HTH, Elkar "Headfish" wrote: I have a field with a bunch of numbers from 1 to 1000. They need to be displayed as 0001, 0002...0999, 1000. I was looking for a function or number formatting way of accomplishing this. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you, I had looked at Custom and thought that would overwrite the
digits. It worked great. I appreciate it. "Elkar" wrote: Under Cell Formatting, select Custom and enter: 0000 HTH, Elkar "Headfish" wrote: I have a field with a bunch of numbers from 1 to 1000. They need to be displayed as 0001, 0002...0999, 1000. I was looking for a function or number formatting way of accomplishing this. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
Format Cells Number Custom 0000 HTH Carim |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Argh, one more step. What I'm actually doing is creating a list of image
links. The images are preceded by an address (e.g., C:\mydocuments\mypictures\), then a static portion of the name (e.g. DSC), followed by the number (formatted to be four digits preceded by zeroes, which you helped me with) and finally type (e.g., .jpg). I am trying to concatenate the Address, file number (formatted as 4 digits) and type to create a working address. I attempted to cut and paste-special the number column with values and formats. But when it concatenates it drops the zeroes creating an address that doesn't work. In other words, I get C:\mydocuments\mypictures\DSC1.jpg, instead of C:\mydocuments\mypictures\DSC0001.jpg. "Headfish" wrote: I have a field with a bunch of numbers from 1 to 1000. They need to be displayed as 0001, 0002...0999, 1000. I was looking for a function or number formatting way of accomplishing this. |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Use TEXT(value,"0000")
where values is the value is the cell you want to include with 4 digits -- Regards, Peo Sjoblom http://nwexcelsolutions.com "Headfish" wrote in message ... Argh, one more step. What I'm actually doing is creating a list of image links. The images are preceded by an address (e.g., C:\mydocuments\mypictures\), then a static portion of the name (e.g. DSC), followed by the number (formatted to be four digits preceded by zeroes, which you helped me with) and finally type (e.g., .jpg). I am trying to concatenate the Address, file number (formatted as 4 digits) and type to create a working address. I attempted to cut and paste-special the number column with values and formats. But when it concatenates it drops the zeroes creating an address that doesn't work. In other words, I get C:\mydocuments\mypictures\DSC1.jpg, instead of C:\mydocuments\mypictures\DSC0001.jpg. "Headfish" wrote: I have a field with a bunch of numbers from 1 to 1000. They need to be displayed as 0001, 0002...0999, 1000. I was looking for a function or number formatting way of accomplishing this. |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
All three of you were very helpful. Guess this wasn't as complicated as I
thought but help searches just weren't getting me there. Thank you. "Peo Sjoblom" wrote: Use TEXT(value,"0000") where values is the value is the cell you want to include with 4 digits -- Regards, Peo Sjoblom http://nwexcelsolutions.com "Headfish" wrote in message ... Argh, one more step. What I'm actually doing is creating a list of image links. The images are preceded by an address (e.g., C:\mydocuments\mypictures\), then a static portion of the name (e.g. DSC), followed by the number (formatted to be four digits preceded by zeroes, which you helped me with) and finally type (e.g., .jpg). I am trying to concatenate the Address, file number (formatted as 4 digits) and type to create a working address. I attempted to cut and paste-special the number column with values and formats. But when it concatenates it drops the zeroes creating an address that doesn't work. In other words, I get C:\mydocuments\mypictures\DSC1.jpg, instead of C:\mydocuments\mypictures\DSC0001.jpg. "Headfish" wrote: I have a field with a bunch of numbers from 1 to 1000. They need to be displayed as 0001, 0002...0999, 1000. I was looking for a function or number formatting way of accomplishing this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Return SEARCHED Column Number of Numeric Label and Value | Excel Worksheet Functions | |||
Change number format from text to number? | New Users to Excel | |||
How do I format a cell for a custom part number? | Excel Discussion (Misc queries) | |||
How to format a number in Indian style in Excel? | Excel Discussion (Misc queries) | |||
Use Julian Date To Create Serial Number | Excel Discussion (Misc queries) |