Round function for .20

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
883
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Team,

I wrote function ROUND(B1,2) but I am not getting 0 at the end as I need .20 but getting 0.2 only

HP_China.xlsx
ABCDE
1Has the best value considering its specs (video card, CPU, RAM, etc.)20%Has the best value considering its specs (video card, CPU, RAM, etc.)0.2
2Is best for gaming20%Is best for gaming0.2
3Is a brand that represents my values20%Is a brand that represents my values0.2
4Brings the most exciting features20%Brings the most exciting features0.2
5Is a brand I can trust19%Is a brand I can trust0.19
6Offers products I am proud to be seen with19%Offers products I am proud to be seen with0.19
7Is associated with eSports19%Is associated with eSports0.19
8Offers products with designs that appeal to me18%Offers products with designs that appeal to me0.18
9Is designed by gamers18%Is designed by gamers0.18
10Is recommended by gamers18%Is recommended by gamers0.18
Sheet2
Cell Formulas
RangeFormula
D1:D10D1=A1&ROUND(B1,2)


Thanks.
Sanjeev
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Try
Excel Formula:
=A1&TEXT(ROUND(B1,2),"0.00")

Thank you, Peter for your help:)

Just wanted to check can we change this to value data as of now it is coming in Text formate and when I wrote Value function again it came to .2 only

If it is possible otherwise no issue I will do manually :)


HP_China.xlsx
ABC
1Has the best value considering its specs (video card, CPU, RAM, etc.)20%0.2
2Is best for gaming20%0.2
3Is a brand that represents my values20%0.20
4Brings the most exciting features20%0.20
Sheet2
Cell Formulas
RangeFormula
C1:C2C1=VALUE(TEXT(ROUND(B1,2),"0.00"))
C3:C4C3=TEXT(ROUND(B3,2),"0.00")


Thank you once again.
Sanjeev.
 
Upvote 0
In the first post you were combining the value with text so it must be in text format.

You now appear to be wanting it in a cell by itself and not combined with text. In that case just use =ROUND(B1,2) and format the column as Number with 2 decimal places.
 
Upvote 0
In the first post you were combining the value with text so it must be in text format.

You now appear to be wanting it in a cell by itself and not combined with text. In that case just use =ROUND(B1,2) and format the column as Number with 2 decimal places


Thanks, Peter I just change the number formate.

Thanks again for your time and hard work:)
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,861
Members
449,052
Latest member
Fuddy_Duddy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top