문제

I have the following formula:

=$AF$46

How would I append text to its result?

e.g., if =$AF$46 is showing up as 0.00, how would I make it show 0.00% done?

Editor's note: The question was later extended to "restrict" formatting of the formula's result to 2 decimal places. Some answers predate this requirement; others cover either of the two possible interpretations of "restrict": "up to 2 decimal places" and "exactly 2 decimal places".

도움이 되었습니까?

해결책 2

You can add text via a formula like the following (if you place this in a different cell than AF46):

=AF46 & "% done"

다른 팁

Maybe just use custom formatting:

#,##0.00"% done"  

(preserves value in case required for further calculation).

You could use the TEXT excel function like:

=TEXT(AF46,"#0.00") & "% done"

The second argument '#0.00' to the TEXT function is an Excel format code. This will ensure that Af46 is displayed in the right format. Simply using AF46 in the formula could lead to things like '0.3333333333 % done', rather than formatted to 2 decimals.

This can be achieved with the CONCATENATE function

=CONCATENATE($AF$46,"% done")

The easiest way is to use the concatenate function.

=CONCATENATE($AF$46,"% done")

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top