+ Reply to Thread
Results 1 to 5 of 5

Formula to add 1 to a cell value or leave the same if conditions not met

  1. #1
    Forum Contributor
    Join Date
    06-28-2009
    Location
    newcastle, uk
    MS-Off Ver
    Excel 2010
    Posts
    187

    Formula to add 1 to a cell value or leave the same if conditions not met

    Hi all

    I have attached an excel to provide an example of what I am after.

    Basically I track my virtual horses wins and would like the amount of wins they have to automatically update in a table I have when they win a race, with the race results manually entered by myself everyday.

    I believe it requires a formula in which if the horses name in my table is in the list of race results and has a number 1 in the next cell to it (which shows it came first in a race), then to add one to its current total of wins in my table.

    Hopefully my attachment will make it clearer

    Thanks in advance for looking

    Gemma
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula to add 1 to a cell value or leave the same if conditions not met

    If you have all the results listed in Columns H and I, simply go with ..

    Please Login or Register  to view this content.
    or for earlier verison of Excel
    Please Login or Register  to view this content.
    copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Formula to add 1 to a cell value or leave the same if conditions not met

    or for earlier verison of Excel
    Please Login or Register  to view this content.
    Hi Ace_XL! SUMPPRODUCT will not work with a whole column earlier versions prior to XL-2007. I would not recommend to use a whole column with a new version. It will slowing down the calculation.
    Last edited by Teethless mama; 12-02-2012 at 11:11 AM.

  4. #4
    Forum Contributor
    Join Date
    06-28-2009
    Location
    newcastle, uk
    MS-Off Ver
    Excel 2010
    Posts
    187

    Re: Formula to add 1 to a cell value or leave the same if conditions not met

    Thanks for your help. Since I posted I changed it around a bit so that the table will be linked to a different excel workbook, so it is a bit more complicated now. I have managed to set up a formula but it is very slow so I am going to post on here to see if a macro would be possible.

    Thanks again
    GEmma

  5. #5
    Forum Contributor
    Join Date
    06-28-2009
    Location
    newcastle, uk
    MS-Off Ver
    Excel 2010
    Posts
    187

    SOLVED: Re: Formula to add 1 to a cell value or leave the same if conditions not met

    Solved now.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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