+ Reply to Thread
Results 1 to 9 of 9

Score line during soccer game

  1. #1
    Registered User
    Join Date
    05-27-2018
    Location
    portugal
    MS-Off Ver
    2016
    Posts
    5

    Score line during soccer game

    Hi all,

    i m trying to get the different scores during a soccer game based on goal times, but im having trouble to get the if conditions working all together

    i attached the excel file with some manually values entered, but i need help to implement the formulas to extract the score lines during the game.


    Can someone help me with the formulas on excel?

    Regards

    Anotação 2019-03-01 001944.jpg
    Attached Files Attached Files
    Last edited by lubinho; 02-28-2019 at 08:20 PM. Reason: attach example image

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Score line during soccer game

    Try this in....
    Q3;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    R3;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    S3;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    T3;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy them down and then modify the formulas as needed across.

  3. #3
    Registered User
    Join Date
    05-27-2018
    Location
    portugal
    MS-Off Ver
    2016
    Posts
    5

    Re: Score line during soccer game

    Hi,

    thanks for your quick reply

    i tried as you suggested and it works for the first column, home score, but for the away result it doesn't work. I try to fix it but without success.
    I understand the overall concept of the formula but didn't get the 7 and 8 value on it
    Can you point me some clue on this?

    Regards

    3.jpg
    Last edited by lubinho; 03-01-2019 at 05:59 AM. Reason: word error fix

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Score line during soccer game

    The match will return the column index location in the range C:P. So if it it matches in from 1 to 7 it is a home goal. If it matches in 8 to 14 it is an away goal. Hence the <8 for home goal and >7 for away goal.

    I'm not sure why it's not working since I did test it out.

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Score line during soccer game

    Please try at Q3 drag across and down

    =IF(INT((COLUMNS($Q3:Q3)+1)/2)>COUNT($C3:$P3),"",COUNTIF(IF(Q$2="home",$C3:$I3,$J3:$P3),"<="&SMALL($C3:$P3,INT((COLUMNS($Q3:Q3)+1)/2))))
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-27-2018
    Location
    portugal
    MS-Off Ver
    2016
    Posts
    5

    Re: Score line during soccer game

    Hi,

    thanks for your help and explanation

  7. #7
    Registered User
    Join Date
    05-27-2018
    Location
    portugal
    MS-Off Ver
    2016
    Posts
    5

    Re: Score line during soccer game

    Quote Originally Posted by Bo_Ry View Post
    Please try at Q3 drag across and down

    =IF(INT((COLUMNS($Q3:Q3)+1)/2)>COUNT($C3:$P3),"",COUNTIF(IF(Q$2="home",$C3:$I3,$J3:$P3),"<="&SMALL($C3:$P3,INT((COLUMNS($Q3:Q3)+1)/2))))
    thanks for your help

    is it possible to add the 0-0 score when it happen on a game? i tried to modify the formula but without sucess.

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Score line during soccer game

    Please try at Q3

    =IF((COUNT($C3:$P3)=0)*(COLUMNS($Q3:Q3)<3),0,IF(INT((COLUMNS($Q3:Q3)+1)/2)>COUNT($C3:$P3),"",COUNTIF(IF(Q$2="home",$C3:$I3,$J3:$P3),"<="&SMALL($C3:$P3,INT((COLUMNS($Q3:Q3)+1)/2)))))

  9. #9
    Registered User
    Join Date
    05-27-2018
    Location
    portugal
    MS-Off Ver
    2016
    Posts
    5

    Re: Score line during soccer game

    Quote Originally Posted by Bo_Ry View Post
    Please try at Q3

    =IF((COUNT($C3:$P3)=0)*(COLUMNS($Q3:Q3)<3),0,IF(INT((COLUMNS($Q3:Q3)+1)/2)>COUNT($C3:$P3),"",COUNTIF(IF(Q$2="home",$C3:$I3,$J3:$P3),"<="&SMALL($C3:$P3,INT((COLUMNS($Q3:Q3)+1)/2)))))
    Hi, thanks for your help. It works perfect

+ 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: 2
    Last Post: 09-01-2015, 12:21 PM
  2. Need help to make soccer score stats sheet
    By ll_don_ll in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 07-31-2015, 04:03 PM
  3. Formula for football (soccer) score sheet
    By lamby38 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-06-2014, 03:35 AM
  4. Simple game score calculation
    By ranetuo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-07-2014, 09:38 AM
  5. Replies: 3
    Last Post: 08-31-2011, 09:11 AM
  6. Game score without game being played
    By Sheila in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 05-17-2005, 07:06 PM
  7. score sheets501 dart game
    By sis2 in forum Excel General
    Replies: 1
    Last Post: 01-04-2005, 03:07 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