S
Stefano Gatto
Hi,
I would like to know if there is a way to refer in a formula to the
displayed sequence of characters of a value contained in a cell.
For more clarity let me show an example:
- In cell C5 I have number 12.
- I set the format of C5 to "0.00".
- Cell C5 displays sequence "12.00" on the screen
- I need to display in C8 the sequence of chars displayed in C5 followed by
" is the maximum"
- If I type in C8 =C5&" is the maximum", this will return "12 is the
maximum", whereas I want "12.00 is the maximum".
Question: is there a worksheet function that returns the displayed string of
characters (which depends on the format setting for that cell)?
Formula =TEXT(C5,"0.00")&" is the maximum" is not really an answer to my
question because I need to know in advance what is the format of C5 and
repeat it explicitly in C8. =CELL() also does not return ANY format that may
be set in C5, it only returns some few predefined formats.
Is there something else?
Thank you for any help you might provide me.
I would like to know if there is a way to refer in a formula to the
displayed sequence of characters of a value contained in a cell.
For more clarity let me show an example:
- In cell C5 I have number 12.
- I set the format of C5 to "0.00".
- Cell C5 displays sequence "12.00" on the screen
- I need to display in C8 the sequence of chars displayed in C5 followed by
" is the maximum"
- If I type in C8 =C5&" is the maximum", this will return "12 is the
maximum", whereas I want "12.00 is the maximum".
Question: is there a worksheet function that returns the displayed string of
characters (which depends on the format setting for that cell)?
Formula =TEXT(C5,"0.00")&" is the maximum" is not really an answer to my
question because I need to know in advance what is the format of C5 and
repeat it explicitly in C8. =CELL() also does not return ANY format that may
be set in C5, it only returns some few predefined formats.
Is there something else?
Thank you for any help you might provide me.