+ Reply to Thread
Results 1 to 5 of 5

Horseracing data question

  1. #1
    Registered User
    Join Date
    03-08-2018
    Location
    Birmingham, England
    MS-Off Ver
    2013
    Posts
    2

    Question Horseracing data question

    Hello folks – hope you can help me out. In the attached spreadsheet I've worked out the profit and loss made when laying (backing against) each horse in UK racing in 2017 under certain circumstances, in column S.

    Each horserace has an identifying number from Betfair, EVENT_ID in column A

    The range A2:A11 is 128931852, the 12:25 PM at Lingfield, 31st December
    A12:A23 is 128931857, the 12:55 PM at Lingfield, 31st December

    and so on.

    So what I want in column T is a formula that will give me the total profit/loss for each race in the final cell so that would be T11 for the 12:25 PM at Lingfield, T23 for the 12:55 PM at Lingfield.

    How might I do that? Any help very appreciated.

    Cheers
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Horseracing data question

    Try the following in T2, filled down:

    =IF(C2=C3,"",SUMIFS($S$1:$S2,$C$1:$C2,$C2,$D$1:$D2,$D2))

    I'm not sure you need the C term in the SUMIFS, but it doesn't hurt and adds an extra check.
    If your problem has been solved, please use "Thread Tools" to mark the thread as "Solved".

    If you're grateful for this site's existence and would like to contribute to the community, please consider posting something hilarious in our joke thread:
    https://www.excelforum.com/the-water...ke-thread.html

  3. #3
    Registered User
    Join Date
    03-08-2018
    Location
    Birmingham, England
    MS-Off Ver
    2013
    Posts
    2

    Re: Horseracing data question

    Outstanding CAntosh - works perfectly. Thanks a lot. The SUMIFS function looks very powerful. I will read up on it.

    Cheers

  4. #4
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Horseracing data question

    Glad to help, good luck!

  5. #5
    Registered User
    Join Date
    01-18-2023
    Location
    bulgaria
    MS-Off Ver
    2016
    Posts
    31

    Re: Horseracing data question

    How to calculate betfair commision(which is 5%) on profit markets ? , i tried
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    but it takes commision on loosing (negative numbers) commision also ?

+ 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: 4
    Last Post: 09-17-2016, 12:38 PM
  2. database question, excel data sorting question
    By weblisterltd.com in forum Excel General
    Replies: 1
    Last Post: 12-17-2014, 01:35 PM
  3. Replies: 0
    Last Post: 12-02-2014, 05:02 PM
  4. Compare & Fill Data - Large Data Sets - Question
    By mitko007 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-26-2013, 01:52 AM
  5. [SOLVED] Question About IF/THEN with Data Validation AND multiple cell data paste
    By erynatpitt in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-10-2012, 03:57 PM
  6. Replies: 1
    Last Post: 04-26-2009, 08:16 PM
  7. Horseracing Problem
    By Saxman in forum Excel General
    Replies: 4
    Last Post: 11-10-2005, 08:25 AM

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