How to appending a cell reference to column

MuhammadTawfiq

New Member
Joined
May 5, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I need to multiply a value to all cells in a column, but in the same time still shown as in the attached image
 

Attachments

  • appending a cell.png
    appending a cell.png
    10.6 KB · Views: 26

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Is this what you mean?

24 08 18.xlsm
ABC
11.05
2
3
414001470
517801869
623502467.5
729003045
Multiply all
Cell Formulas
RangeFormula
C4:C7C4=A4:A7*A1
Dynamic array formulas.
 
Upvote 0
Sorry Bro.
You know, I go to every cell in column C and do the following steps manually:
For C4 which has value 1400
1. adding "=" in the beginning
2. adding in the end "*$A$1"
To get a cell with this value "=1400*$A$1" , till anyone can check the cell value (1400 original price) and ($A1$ percentage)
And so on for all column C ,
Can you show me another method to do it easier?
To appear in C4 "=1400*$A$1" and C5 "=1780*$A$1"
 
Upvote 0
Sorry, I can't see why you are more interested in the formula than the results that the formula gives.
Why do you want =1400*$A$1 instead of =A4*$A$1?
 
Upvote 1
Now you got it, I'm totally in your side, but this is old school someone still there.
Hmm, I'm not sure whether you have what you want or not. Reading your messages again, I'm wondering if you want a macro like this?

VBA Code:
Sub Make_Formulas()
  Dim c As Range
  
  For Each c In Range("A4:A7")
    c.Offset(, 2).Formula = "=" & c.Value & "*$A$1"
  Next c
End Sub

Starting with only column A below, the macro makes the formulas shown in column C.

MuhammadTawfiq.xlsm
ABC
11.05
2
3
414001470
517801869
623502467.5
729003045
Sheet1
Cell Formulas
RangeFormula
C4C4=1400*$A$1
C5C5=1780*$A$1
C6C6=2350*$A$1
C7C7=2900*$A$1
 
Upvote 1
Solution
You're welcome. Glad we got there in the end. :)
Thanks for the confirmation.
 
Upvote 1

Forum statistics

Threads
1,221,525
Messages
6,160,327
Members
451,637
Latest member
hvp2262

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