how do i create a percantage formula in a cell?

B

byway

Hi
how do I create a formula as below

Enter a value in a cell; E.g Cell C5 and the formula automatically multiplys
the value by say 30% and keeps the result in cell C5.

Many thanks
 
G

Gary''s Student

Use the following event macro:

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Range("C5"), Target) Is Nothing Then
Exit Sub
End If
Application.EnableEvents = False
Target.Value = 0.3 * Target.Value
Application.EnableEvents = True
End Sub
 
D

David Biddulph

You can't do that by a formula, but if you put 30% in a cell, copy it, then
select C5, edit/ paste special/ multiply, that will do it.
 
Top