Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello:
Cell I2 has "70" in it. Cell J2 has "050" in it. I want to combine these two cells to read "70-050". So, I used the following formula: =I2&"-"&J2 Here's the problem. Cell J2 is a formatted number. The actual value of it is "50" not "050". So, when I used my formula, I got "70-50" instead of "70-050". Then, I tried the following: =I2&"-"&"0"&J2 But, cell J45 has "002" in it but the actual value is "2". I had to copy down this formula to a whole column, you see. So, this latest formula brought back "70-02" instead of "70-002". I can't win today, I guess! Could someone please help me to get a formula to read "70-"three formatted numbers no matter what the value is"? Thanks! childofthe1980s |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying the number of a custom formatted number cell | Excel Discussion (Misc queries) | |||
Date column changed to number format while concatenating | Excel Discussion (Misc queries) | |||
Convert a number formatted as text to a number in a macro | Excel Programming | |||
number keep being formatted as date | New Users to Excel | |||
concatenating and formatting area code and phone number columns | Excel Worksheet Functions |