+ Reply to Thread
Results 1 to 9 of 9

It just doesn't add up

  1. #1
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    It just doesn't add up

    How can I add up the goals scored in three matches when they are presented in the same way as in the attachment? I know how to do it if the information was entered in 4 columns but that would just be more work to do as I have 12 to 15 of these to do, twice a week.
    This is how they are copied from my forum and I'm trying to find a way to add up the goals and award 100 points for every goal scored over ten. For example, member A would win 400 points.
    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: It just doesn't add up

    You don't stipulate where/how you want the results recorded... perhaps:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,720

    Re: It just doesn't add up

    Try this formula for member A

    =MAX(0,SUMPRODUCT(MID(A3:A5,FIND("-",A3:A5)+{1,-2},2)+0)-10)*100

    You'll get an error if you don't have the scores filled in e.g. Blackburn v West Brom
    Audere est facere

  4. #4
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Re: It just doesn't add up

    Hi

    Attached is a revised version that conforms to your request.

    Regards

    Jeff
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: It just doesn't add up

    Quote Originally Posted by daddylonglegs View Post
    Try this formula for member A

    =MAX(0,SUMPRODUCT(MID(A3:A5,FIND("-",A3:A5)+{1,-2},2)+0)-10)*100

    You'll get an error if you don't have the scores filled in e.g. Blackburn v West Brom
    I've tried them both and I like the first one better because I can copy right down column B. I have to remove the box around each cell but I'm not bothered about that.
    Will I be able to use the second example (the first one is far to complex for me, lol) if I wanted to subtract goals which is for another game I run?
    Thank you so much for your help. I've been spending hours every weekend and midweek to do all this stuff manually.
    I'll try and implement some of the formulas you've given me before but I may well be asking for more advice soon to help me save time in the future.
    Thank again.

  6. #6
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: It just doesn't add up

    Just realised I've had help from two different members. Thank you both very much.

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,720

    Re: It just doesn't add up

    Quote Originally Posted by tom hatten View Post
    Just realised I've had help from two different members.
    Three in fact

    You could revise mine a little if you want to copy down. Try this in B6 copied down

    =IF(A6="Points won",MAX(0,SUMPRODUCT(MID(A3:A5,FIND("-",A3:A5)+{1,-2},2)+0)-10)*100,"")

    That will still give you an error for A24......you might want an error to alert you to the fact that the scores aren't complete......or would you want to add up the goals anyway?

    Note that this version will accommodate unlikely 2 digit scores like 10-3

  8. #8
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: It just doesn't add up

    You guys are amazing. I hope you don't mind but I'll be asking for solutions to other games soon because you can do all this stuff in a matter of minutes.
    Thank you very much.

  9. #9
    Forum Contributor
    Join Date
    08-21-2010
    Location
    Bournemouth, England
    MS-Off Ver
    Microsoft 365
    Posts
    215

    Re: It just doesn't add up

    Quote Originally Posted by solnajeff View Post
    Hi

    Attached is a revised version that conforms to your request.

    Regards

    Jeff
    Thank you! I like this one too but I've noticed that it's giving out the answers in tens and not
    hundreds.

+ 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