Canned Corn $0.56
Canned Yellow Corn $0.55
Canned White Corn $0.57
What i want to do is just highlight the pricing column and multiply it by 1.1 to add the 10%
If in a database, run this:
UPDATE [table_name]
SET [price_field] = [price_field] * 1.1
Replace names in brackets, of course.
If in Excel, set up a blank column next to the price, and enter “=A2*1.1” where A2 is the address of the adjacent price cell. Then drag the formula to the bottom of the sheet.
You can create a macro. Press Alt & F11, Select Insert=>Module. Copy and paste the below code there.
Sub Increase()
Dim r As Range
Dim cell As Range
Dim s As String
Dim t As String
Application.ScreenUpdating = False
Set r = Range(“A1:A3000”)
s = 1.1
For Each cell In r.Cells
cell = cell * s
Next cell
End Sub
Obviously you can change the range and multiple if you need to. Then go to the view tab=>macros=>view macros. Select the macro called “Increase” that you just created. It will multiple everything in the range you selected by 1.1 (adding too the number 10%).
Also, I’d urge the OP to take an Excel class at some point. There are about 10 different ways I can think of off the top of my head that would do what he’s looking for, quite easily - and none of them involve hours of work. Spreadsheets are set up for this type of thing. Just from the OP’s description, I’d guess that even simple dragging of a cell to populate cells below/across from it would be new material.