Add an "=" sign to multiple rows.

shaju

Board Regular
Joined
Jul 12, 2004
Messages
80
Office Version
  1. 2010
Platform
  1. Windows
Hi all,
I am having a table which is obtained from SAP. It has a column with numbers, which I want to work with. I just want to add an "=" sign in front of all the values in column E so that calculations based on that values can be done. Is this possible.
(What I am doing now is, entering "=" sign in another column and concatenating these cells with corresponding cells in Col E and then copying and pasting the values again in another column to work with.) Is there a more easier way...???
TIA
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi all,
I am having a table which is obtained from SAP. It has a column with numbers, which I want to work with. I just want to add an "=" sign in front of all the values in column E so that calculations based on that values can be done. Is this possible.
(What I am doing now is, entering "=" sign in another column and concatenating these cells with corresponding cells in Col E and then copying and pasting the values again in another column to work with.) Is there a more easier way...???
If I understand what you are saying correctly, you have a column of numbers that have been placed in such a way that they are all text values instead of numeric values. If that is correct, select the entire column, call up the Text To Columns dialog box (Data tab, Data Tools panel) and press finish as soon as the dialog box appears.
 
Upvote 0
Thanks A Lot for looking into this matter. Actually, these values are numbers in number format. I want to deduct values from these cells.
Example:
E1 has the value say, "5000" in it. I just want to change the cell value to "=5000",so that I can perform additions or substractions from the value 5000....like =5000+7500 or =5000-2500, as need arises. Or in other words, I just want to add an "=" sign to the first character in every cell in Col E.
 
Upvote 0
The last line should be read as
Or in other words, I just want to add an "=" sign AS the first character in every cell in Col E
 
Upvote 0
The last line should be read as
Or in other words, I just want to add an "=" sign AS the first character in every cell in Col E
Give this macro a try...
Code:
Sub AddEqualSign()
  With Range("E1", Cells(Rows.Count, "E").End(xlUp))
    .Formula = Evaluate("""=""&" & .Address)
  End With
End Sub
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,975
Messages
6,175,749
Members
452,667
Latest member
vanessavalentino83

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