+ Reply to Thread
Results 1 to 3 of 3

formula auto adapt to change in rows

  1. #1
    Registered User
    Join Date
    02-16-2008
    Posts
    11

    formula auto adapt to change in rows

    I have a simple exel formula that i would like to have it adapt when the number of rows change in my data.


    Please Login or Register  to view this content.
    the .82 is formula is =1-(6*E9/(COUNT(E2:E8)*(COUNT(E2:E8)*COUNT(E2:E8)-1))).

    Is there away create a macro that would
    1) take the differnce between Rank 1 and rank2 (diff Column).
    2) Square that differnce (column sqre).
    3) sum that column ie 10.
    4) then plug those variables into the formula.
    Any help would be great
    john
    Last edited by John2007; 03-15-2008 at 11:37 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482
    I believe you are looking for dynamic range for one part of the question,
    here's one way to do it
    http://www.contextures.com/xlNames01.html#Dynamic

  3. #3
    Registered User
    Join Date
    02-16-2008
    Posts
    11
    Thanks for the help : )

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1