how do i create a percantage formula in a cell?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top