+ Reply to Thread
Results 1 to 4 of 4

Help with Ranking Negative Numbers Below Positive Numbers

  1. #1
    Registered User
    Join Date
    12-02-2021
    Location
    Martinez, Ca
    MS-Off Ver
    Excel 365
    Posts
    1

    Help with Ranking Negative Numbers Below Positive Numbers

    Hi I need help with a formula to rank a negative number as being worse than a positive number. The full explanation is in the attached file. Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Help with Ranking Negative Numbers Below Positive Numbers

    add penalties of the time<min
    Attached Files Attached Files
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  3. #3
    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: Help with Ranking Negative Numbers Below Positive Numbers

    Quote Originally Posted by bsalv View Post
    add penalties of the time<min
    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    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

  4. #4
    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: Help with Ranking Negative Numbers Below Positive Numbers

    1. Instead of Pass/Fail, change the formula to 1/2
    =IF(AND(B6>=$B$2,B6<=$D$2),1,2)

    If you then sort by the P/F column, you will have what you want

+ 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. Ranking data that include both positive and negative numbers
    By DrNick31522 in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 04-23-2021, 09:41 PM
  2. [SOLVED] time series return positive and negative numbers and numbers following
    By thedrinkerparadox in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-13-2020, 02:23 PM
  3. Ranking positive and negative numbers
    By norms in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-20-2019, 03:57 AM
  4. Ranking Positive and Negative Numbers in a Column
    By tim.morley in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-09-2018, 10:43 AM
  5. [SOLVED] Negative Numbers in Red Brackets, Positive Numbers in Accounting Format
    By STUARTXL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-24-2015, 08:29 AM
  6. [SOLVED] change 2000 cells (negative numbers) into positive numbers
    By lisbern in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2006, 01:00 PM
  7. [SOLVED] convert negative numbers to positive numbers and vice versa
    By bill gras in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2005, 09:45 PM

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