Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am writing a formula that references multiple cells as the possible source
cell depending on certain parameters being met. My question is whether anyone knows how to maintain the formatting in the display cell? My possible source cells all contain different number formats (i.e. -1234.0 and ##00.0E-+00). Is there a way to write this into the formula, or is there a formatting option that allows you to keep the source cell's format? Any help would be great! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use the TEXT function to apply the same format to the values from the
referenced cells as was used on those referenced cells directly. For example, if A1 has the value 1234, but is displaying it as 1234.0 and B1 has a date value displayed as 18Jan2010, then you could use them in an example formula like this... ="A1 is showing "&TEXT(A1,"0.0")&" and B1 is showing "&TEXT(B1,"ddmmmyyyy") -- Rick (MVP - Excel) "Jacob Dieter" <Jacob wrote in message ... I am writing a formula that references multiple cells as the possible source cell depending on certain parameters being met. My question is whether anyone knows how to maintain the formatting in the display cell? My possible source cells all contain different number formats (i.e. -1234.0 and ##00.0E-+00). Is there a way to write this into the formula, or is there a formatting option that allows you to keep the source cell's format? Any help would be great! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Save as web page (Maintain formulas) | Excel Discussion (Misc queries) | |||
How do I import data from lotus123 & maintain formulas/worksheets | Excel Discussion (Misc queries) | |||
how do I maintain my conditional formatting when filtering cells? | Excel Worksheet Functions | |||
How can I sort and maintain formatting? | Excel Discussion (Misc queries) | |||
formulas won't maintain during sort -help please! | Excel Worksheet Functions |