+ Reply to Thread
Results 1 to 3 of 3

Help Tring to Place Value on top three

  1. #1
    Registered User
    Join Date
    08-17-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    3

    Help Tring to Place Value on top three

    Hello can anyone please help.

    I am trying to do the following
    2.09 1
    1.66 0
    2.83 2
    1.58 0
    2.6 2
    1.6 0
    3.03 #REF!
    3.36 #N/A

    Colum one is a value
    Colum two is a point associated to that Colum, I was using the following
    =IF(B9="-",0,IF(B9>=2.41,2,IF(B9>=2,1,IF(B9<=1.99,0,0))))

    but now instead of spec values I need to do the following
    (0 - 2.49) 0 pts
    2.50 > 1 pts
    TOP 3 2 pts


    Does anyone have any suggestions as I am not sure how to do this in only the two columns?
    I am also using conditional Formatting so each is a different color so they need to match

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,450

    Re: Help Tring to Place Value on top three

    Assuming your first item of data is in B9, put this in C9:

    =IF(RANK(B9,B$9:B$16)<=3,2,IF(B9<2.5,0,1))

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-17-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003, 2007, 2013
    Posts
    3

    Re: Help Tring to Place Value on top three

    Thank you Pete_UK that did work for most but now i have run into a different problem

    when i am working on the following the one you gave will not work. it is giving me a score where it is the highest instead of lowest. I have tried to play with the formula you gave but did not work. Any suggestions?



    901 > 0 pts
    851 - 900 1 pts
    LOWEST 3 2 pts


    Score Points
    523.00 1
    813.00 1
    1082.00 2
    618.00 1
    873.00 1
    741.00 1
    778.00 1
    548.00 1
    - 0
    1044.00 2
    891.00 1
    816.00 1
    1128.00 2
    913.00 1
    813.00 1

+ 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. Replies: 4
    Last Post: 12-14-2009, 05:31 AM
  2. Tring to recover a document
    By maggiemaew in forum Excel General
    Replies: 1
    Last Post: 08-14-2009, 02:39 PM
  3. [SOLVED] Tring to look this dynamicaly instead of manual code.?
    By CRayF in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-23-2005, 01:05 AM
  4. Tring to javascript code..omg help!
    By jonniehiem in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2005, 01:35 AM
  5. Excel crash while tring to add a chart
    By Ryan in forum Excel General
    Replies: 0
    Last Post: 01-28-2005, 01:06 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