+ Reply to Thread
Results 1 to 2 of 2

Distribute value to ranked records

Hybrid View

  1. #1
    Registered User
    Join Date
    04-08-2014
    Location
    Nelson, New Zealand
    MS-Off Ver
    Excel 2007
    Posts
    1

    Distribute value to ranked records

    I have a list of road sections along with the year they were each constructed and their area. They all need to be renewed in 2018 but as we can't afford to do this we need to spread it over 5 years. The sections that get renewed in each of the 5 years then need to have that particular year given to them as the new construction year. I hope the image below helps. Sorry it isn't a table but I can't find any instructions on how to use tables in the forum.

    Capture.JPG

    Ideally the oldest surfaces should be done first and the newest last. Another difficulty is that the area per year to be assigned won't match the area of discrete road sections. It doesn't matter if the area renewed each year varies to match the individual section areas as long as the total over the five years remains the same. I am trying to get one of the outputs shown below.

    Capture.JPG

    I hope that is clear enough.

    Thanks,
    Chris
    Last edited by cep32; 11-12-2014 at 08:15 PM.

  2. #2
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Distribute value to ranked records

    Hi Chris,

    Quote Originally Posted by cep32 View Post
    I hope the image below helps. Sorry it isn't a table but I can't find any instructions on how to use tables in the forum.
    Actually it's even better if you upload your sample file (as everyone else does) so the helpers don't need to retype the data. To do this, hit the Go Advanced button, then hit the Manage Attachments button, and then you can upload your file.

    For your case, we need a helper column which content is unique values of Construction Year.
    Please refer to my attached file. Construction Year is located at Column A, the helper column is at column F.

    Array formula at cell F2 :
    =IFERROR(INDEX($A$2:$A$7, MATCH(0, COUNTIF($F$1:F1, $A$2:$A$7), 0)),"")
    end this formula by hold and press Ctrl-Shift-Enter all at once.

    Copy down this array formula to F3:F7.

    We can now calculate the New Construction Year, the formula at cell C2 :
    =RANK(A2,F$2:F$7,1)+(2018-1)
    Regards
    Attached Files Attached Files
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formulas to distribute ranked items
    By lzuke in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-08-2014, 07:33 PM
  2. Ranked Lookup
    By emanon132501 in forum Excel General
    Replies: 4
    Last Post: 11-29-2011, 11:30 AM
  3. chart with ranked words only
    By darylosswald in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-24-2009, 02:08 AM
  4. [SOLVED] Top Ranked Opportunities
    By gmunro in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-27-2005, 02:05 PM
  5. Ranked list
    By gmunro in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-16-2005, 12:05 PM

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