+ Reply to Thread
Results 1 to 6 of 6

Spliting a spreadsheet into quintiles and scoring each row

  1. #1
    Registered User
    Join Date
    08-27-2010
    Location
    Kildare,Ireland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Exclamation Spliting a spreadsheet into quintiles and scoring each row

    I am looking for a formula to allow me split a spreadsheet's rows into quintiles i.e say I have 100 rows, then each quintile is 20 rows. I then want to allocate a score of 5 to each row in the first quintile, 4 to each row in the second etc. etc.
    Any ideas as to how to achieve this would be very welcome indeed !.
    Thanks

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Spliting a spreadsheet into quintiles and scoring each row

    Will the number of rows always be evenly divisible by 5? If not, how do you want the quintiles calculated? Round up, round down, or simple round?

    If yes to the first question, perhaps =5-INT((ROW()-1)*5/COUNTA(A:A))
    Last edited by darkyam; 08-27-2010 at 11:40 AM.
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

  3. #3
    Registered User
    Join Date
    08-27-2010
    Location
    Kildare,Ireland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Spliting a spreadsheet into quintiles and scoring each row

    Hi, Thanks for the quick response ! They will be divisible evenly by 5, except for the last which will take up any difference. I will try your suggesstion and see the result. Again thanks a million.
    Last edited by shg; 08-27-2010 at 12:44 PM. Reason: deleted quote

  4. #4
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Spliting a spreadsheet into quintiles and scoring each row

    thanks darkyam...so helpful..

  5. #5
    Registered User
    Join Date
    06-05-2014
    Posts
    1

    Re: Spliting a spreadsheet into quintiles and scoring each row

    can the result be done on 1 to 5 insted of 5 to 1

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Spliting a spreadsheet into quintiles and scoring each row

    manik welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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