Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Simple formula

  1. #1
    Guest

    Default

    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.

  2. #2
    Board Regular hennahairgel's Avatar
    Join Date
    Feb 2002
    Location
    Bristol, England
    Posts
    63
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    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

  3. #3
    Guest

    Default

    Thanks, but I don't quite follow so I will email you my file.

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •