+ Reply to Thread
Results 1 to 5 of 5

Total stakes won from previous starts.

  1. #1
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    540

    Total stakes won from previous starts.

    Hello all,

    I'm hoping to get a macro that can total the stakes in col AU for each name in col AH.
    I have 620,000 rows to process and this is just a sample of four names only, there are over 10,000 plus different names.

    I have started resulting in col I. The first two names, but haven't completed the second name yet.

    My result is adding up all if any stakes for each individual name only for all of its previous dates only.

    Cell I9 has won $17,935 to date in its last 5 starts.
    Cell I10 would result 18,285 and so on until a new name is found, then the process would start again.

    I think this is simple, but open to questions if I left something out. A function would start me off, just have to turn to values, etc.

    Thanks.
    Attached Files Attached Files
    I am grateful for all answers to my questions .
    Also i give a reputation even if not answered .

  2. #2
    Registered User
    Join Date
    01-21-2019
    Location
    South Australia
    MS-Off Ver
    Excel 365
    Posts
    4

    Re: Total stakes won from previous starts.

    If all you need is the total by horse then you can generate a unique list of names by putting
    Please Login or Register  to view this content.
    in cell AV1

    and then in AW2 put
    Please Login or Register  to view this content.
    and copy it down.
    Regards

    Murray
    excel.dadsonion.com

  3. #3
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    540

    Re: Total stakes won from previous starts.

    Thanks for that, gives me a total.
    I'm needing the same results I have in col I. My whole database is made of 60,000 races, so each race will be different, I need to know what they have earned with each start.

    Thanks.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,297

    Re: Total stakes won from previous starts.

    in I2

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


    copy down

    Seleci I2 and click on black square bottom right of cell

    UPDATE:macro added

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JohnTopley; 07-01-2025 at 05:34 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    540

    Re: Total stakes won from previous starts.

    Great answer results.
    Thanks to Murry and John for your help.

+ 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. If cell starts with, add content to previous cell & delete row
    By bvm.secur in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2021, 02:41 PM
  2. Replies: 30
    Last Post: 11-13-2020, 05:10 PM
  3. Mail merge that starts a new page when one field is different to the previous record
    By MoreMailMoreProblems in forum Word Formatting & General
    Replies: 6
    Last Post: 04-01-2020, 11:05 PM
  4. Need help with a formula to show stakes with a fixed target profit
    By DjSaints in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-13-2019, 11:56 AM
  5. Total depends on previous total value
    By rohit1999 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-26-2013, 01:14 AM
  6. [SOLVED] Formula that starts where previous row left off
    By jwortsman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-06-2012, 09:47 AM
  7. Adjusting Watersev vba for entry fee/stakes returns
    By batjl9 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-01-2011, 10:28 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