Simple formula

G

Guest

Guest
I am trying to set up a spread sheet that will multiply one colum by another for each row. I know I can set it up by each individual row, but I have an infinate number of rows.

Also how would I make a formula to add the last five cells?

Thanks in advanced.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I do not understand. If you want the macro to repeat itself for the number of rows try a loop with the code
Range("a1").Select
Range(ActiveCell, ActiveCell.End(xlDown)).Select
noofrows = Selection.Rows.Count
to work out the number of rows and
For i = 0 To (noofrows - 1)

code code code

next i

to add rows is easy. just tell me what you want i the rows. hope this helps, if not email me
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,210
Members
448,554
Latest member
Gleisner2

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