+ Reply to Thread
Results 1 to 5 of 5

Formula to compare cell values against each other

  1. #1
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Tacoma, Washingtonn
    MS-Off Ver
    Excel 2019
    Posts
    254

    Formula to compare cell values against each other

    I am trying to simplify a time-consuming process and I have attached a small sample workbook (the original could contain hundreds of players). Each of the player comparisons have identical formulas in rows B through T. Currently I am changing the row number in each formula (column B) to the appropriate player row listed in rows 15 through 24, and dragging it to column T. I was wondering if it were possible to simply list the row number being compared (as I did in columns V and W), and that would correctly alter the formula in each result row. If so, it would save me a great deal of time.

    I am a novice but I have learned quite a bit on this site and received such good feedback. Thanks in advance for anyone who could point me in the right direction.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Formula to compare cell values against each other

    Please try this file and let me know if the output is right.

    https://app.box.com/s/y9nhgkr6r3zp61otrcaf5x8aozl2cbkx
    Please click 'Add reputation', if my answer helped you.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,277

    Re: Formula to compare cell values against each other

    @ramananhrm: Please post your file on this forum as many members do not wish to access hosting sites.

  4. #4
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Tacoma, Washingtonn
    MS-Off Ver
    Excel 2019
    Posts
    254

    Re: Formula to compare cell values against each other

    Thank you for the response but this does not calculate correctly for me. Your formula actually compares the numbers in B15:B24 and provides a net result. I need the result to only be +1, -1, or 0 in each cell based on the numbers being compared. A smaller number will be +1 and a larger number would be -1 and the same number would be 0.

  5. #5
    Forum Contributor
    Join Date
    08-19-2012
    Location
    Tacoma, Washingtonn
    MS-Off Ver
    Excel 2019
    Posts
    254

    Re: Formula to compare cell values against each other

    romananhrm...Also, the formulas provided in my sample workbook work perfectly. I am trying to automatically change those formulas to the row number I indicate in columns V & W, instead of doing all cells manually.

+ 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. Formula to Compare Values
    By cs02 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-18-2015, 01:19 PM
  2. Compare the cell values in two different workbooks and copy values from one to the other
    By BettyBoop64 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-10-2012, 04:48 PM
  3. My formula does not compare values
    By Nvalentino in forum Excel General
    Replies: 10
    Last Post: 06-12-2012, 09:37 PM
  4. [SOLVED] compare cell value with range of values and match row values with header
    By bujji1305 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-08-2012, 12:19 AM
  5. Formula to compare to 2 other values
    By ChemistB in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-05-2007, 04:09 PM
  6. [SOLVED] Compare cell values
    By Grant in forum Excel General
    Replies: 5
    Last Post: 02-24-2005, 07:06 AM
  7. [SOLVED] Compare cell values
    By Grant in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-24-2005, 07:06 AM

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