adding %

Boris7265

Board Regular
Joined
Apr 6, 2011
Messages
68
Hello ,

I need to add % to numbers in column G , I, E and C .
nOW is 3.4, 5.3 and I would like to have 3.4%, 5.3% and so on.
I can not do fromating due to itis already % calculated .
I wrote simple macro to do it , but it doesn't work

Macro Boris
Dim Gomel As String

Gomel = "%"

Set R = Range("G1:G" & Range("G1").End(xlDown).Row)
For Each cell In R

Cells.Value = Cells.Value + "%"


Next
Would anybody point out what wrong with it ,rEAlly apreciate.

Best Reagrds,

BorisGomel
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
In the alternative, you could put 100 in a cell, copy it, select the cells to be converted, the do Paste Special and tick Divide and Values. Then format the cells as %.
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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