+ Reply to Thread
Results 1 to 4 of 4

A way to simplify this formula?

  1. #1
    Registered User
    Join Date
    03-02-2012
    Location
    Bellingham, WA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question A way to simplify this formula?

    Setting up a standings sheet for a 6 team league that uses head to head matchups, and in my very limited knowledge of Excel formulas, have the following formula sitting in a cell of the 'Ties' column. Is there a formula that is much shorter to use for this purpose? Also, seeing as the data for this formula is 2 rows of empty cells, it has filled the cell with the value of 9. i wish for the cell to display 0 or the cumulative tally of any 'real' ties from this point going forward (seeing as the data has not occurred yet, there may be no ties at all at seasons end, resulting in a 0 sum anyways. How do i get this formula to ignore empty cells? Using =if(count(range)) doesn't seem practical.

    =IF(C16=C15,1,0)+IF(D16=D15,1,0)+IF(E16=E15,1,0)+IF(F16=F15,1,0)+IF(G16=G15,1,0)+IF(H16=H15,1,0)+IF(I16=I15,1,0)+IF(J16=J15,1,0)+IF(K16=K15,1,0)

    Any help appreciated. Thanks!

    Matt

  2. #2
    Forum Expert DGagnon's Avatar
    Join Date
    02-23-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1,645

    Re: A way to simplify this formula?

    coudl you attach a sample with your layout, might help to find somethign better for you.
    If you liked my solution, please click on the Star -- to add to my reputation

    If your issue as been resolved, please clearly state so and mark the thread as [SOLVED] using the thread tools just above the first post.

  3. #3
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: A way to simplify this formula?

    hello
    try.

    =SUMPRODUCT(--(C16:K16=C15:K15))
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: A way to simplify this formula?

    To ignore the empty cells, try:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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