Domanda

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".

È stato utile?

Soluzione 2

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

=AF46 & "% done"

Altri suggerimenti

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")

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top