Is there a way to generically grab the text output of a numeric formatted cell? For example:
(A) I have a cell formatted as Percent - the cell may well show "20%" while containing the value 0.2 (B) I have another cell formatted as Currency, showing "$20,000" where the actual value is 20000
I want to be able to extract (generically) the text result of these cells without knowing ahead of time what the format in use is in the particular cell. So imagine a function
=CellText(A1)
- If I point it at (A) I would get "20%" as the result
- if I point it at (B) I would get "$20,000" as the result
Is there anything already like this in Excel? Ideally I'd like to accomplish it without VBA ...
Thanks, Ken