简体   繁体   中英

excel display decimal as percentage?

I am trying to create a formula that will allow me to convert a decimal to a percentage.

Let me explain.

If a user enters a decimal between 0.1 to 0.10 These should display as negative percentages, ie -10% to -100%

Then 1.1 to 1.10 should display as 10% to %100.

Can someone please show me the correct way to do this?

Percentage representation in Excel is created with formatting. For values between -100% to 100%, the underlying number is a value between -1 and 0 for negative percentages and between 0 and 1 for positive percentages.

Assuming there's a typo in your question and you want values between 0 and 1 to show as a negative percentage, whereas values between 1 and 2 should show as positive percentages: This cannot be done with formatting alone. Formatting cannot change the value of a number.

You will need to use a formula to subtract a 1 from the value and then format the result as a percentage.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM