Results 1 to 3 of 3

Apply RANK formula to dynamic table

Threaded View

  1. #1
    Registered User
    Join Date
    03-28-2007
    Posts
    6

    Apply RANK formula to dynamic table

    Hello,

    I am completly stuck trying to calculate the rank for a dynamic table (i.e. varying in size).

    I have a table like this (generated by a macro)

    SampleName-------¦Rating
    Sample 1----------¦5.516666667
    Sample 2----------¦5.320833333
    Sample 3----------¦5.285416667
    Sample 4----------¦3.985416667

    I have so far defined an offset for the ratings, allowing for n Samples.

    I now need a macro or something to calculate the ranking of the rating column whatever its size... and even better if it would extend to several columns... that would be great...

    resulting in something like this

    Sample------------¦Rating----------------¦Ranking
    Sample 1----------¦5.516666667----------¦4
    Sample 2----------¦5.320833333----------¦3
    Sample 3----------¦5.285416667----------¦2
    Sample 4----------¦3.985416667----------¦1

    Thanks so much for your help!
    Last edited by saabman; 09-18-2007 at 09:06 AM.

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