Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Formulas-Making a number a standard amount of digits

I am wondering how to make cells in a formula automatically 4 digits long?
The actual formula I am using is "=$B$6 & "-" & A15 & "-" & B15 & "-" & C15".
If the C15 cell is say, "003", in the formula it comes out "3". I need 3
digits for the last part of the whole formula in the column. Any help would
be greatly appreciated! Thanks!

Tim

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Formulas-Making a number a standard amount of digits

Try this:

=$B$6&"-"&A15&"-"&B15&"-"&TEXT(C15,"000")

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Stiller312" wrote in message
...
I am wondering how to make cells in a formula automatically 4 digits long?
The actual formula I am using is "=$B$6 & "-" & A15 & "-" & B15 & "-" &
C15".
If the C15 cell is say, "003", in the formula it comes out "3". I need 3
digits for the last part of the whole formula in the column. Any help
would
be greatly appreciated! Thanks!

Tim



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Formulas-Making a number a standard amount of digits

=$B$6 & "-" & A15 & "-" & B15 & "-" & TEXT(C15,"000")
--
David Biddulph

"Stiller312" wrote in message
...
I am wondering how to make cells in a formula automatically 4 digits long?
The actual formula I am using is "=$B$6 & "-" & A15 & "-" & B15 & "-" &
C15".
If the C15 cell is say, "003", in the formula it comes out "3". I need 3
digits for the last part of the whole formula in the column. Any help
would
be greatly appreciated! Thanks!

Tim



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Formulas-Making a number a standard amount of digits

Wonderful, Thanks!

"Ron Coderre" wrote:

Try this:

=$B$6&"-"&A15&"-"&B15&"-"&TEXT(C15,"000")

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"Stiller312" wrote in message
...
I am wondering how to make cells in a formula automatically 4 digits long?
The actual formula I am using is "=$B$6 & "-" & A15 & "-" & B15 & "-" &
C15".
If the C15 cell is say, "003", in the formula it comes out "3". I need 3
digits for the last part of the whole formula in the column. Any help
would
be greatly appreciated! Thanks!

Tim




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Formulas-Making a number a standard amount of digits

Wonderful, Thanks!

"David Biddulph" wrote:

=$B$6 & "-" & A15 & "-" & B15 & "-" & TEXT(C15,"000")
--
David Biddulph

"Stiller312" wrote in message
...
I am wondering how to make cells in a formula automatically 4 digits long?
The actual formula I am using is "=$B$6 & "-" & A15 & "-" & B15 & "-" &
C15".
If the C15 cell is say, "003", in the formula it comes out "3". I need 3
digits for the last part of the whole formula in the column. Any help
would
be greatly appreciated! Thanks!

Tim




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to customize number to 10 digits including 2 digits after deci Carina Excel Worksheet Functions 3 September 20th 07 02:50 AM
Type set amount of digits in one cell then automatically move to n mulligbo Excel Worksheet Functions 2 October 28th 06 12:04 AM
Limit the amount of digits displayed in a field in Excel or Access Help with Excel Mail Merge Excel Discussion (Misc queries) 0 July 13th 06 05:09 PM
Format monetary amount to 9 digits with No decimals without rounding [email protected] Excel Worksheet Functions 4 December 20th 05 11:14 PM
Array Formulas for Geometric Standard Deviation and Sharpe Zeelotes Excel Worksheet Functions 6 October 19th 05 06:22 AM


All times are GMT +1. The time now is 09:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"