+ Reply to Thread
Results 1 to 17 of 17

Excel 2019 Spreadsheet date formula help

  1. #1
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Excel 2019 Spreadsheet date formula help

    I have a large spread sheets with horse, races, dates etc. I would like to create a formula that can calculate the days between each run. So for example if I put a horsesname in a search box it will give me the days beween past runs
    Last edited by dtpunshon; 01-09-2020 at 01:38 PM.

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: Horseracing spreadsheets

    Can you upload a sample workbook which shows an example of how your data is arranged?

    Pete

  3. #3
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Excel 2019 Spreadsheet date formula help

    This is a condensed version
    Many Thanks
    Attached Files Attached Files
    Last edited by dtpunshon; 01-09-2020 at 01:47 PM.

  4. #4
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Excel 2019 Spreadsheet date formula help

    Basically I would like to compile another Table that when I enter a Horsename it will search Column N then reference Column A to see the length of time between each of its runs
    Last edited by dtpunshon; 01-09-2020 at 01:47 PM.

  5. #5
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,474

    Re: Horseracing spreadsheets

    So you just want to use an Index Match () formula like i put below. This is saying your horses name you are looking up is in Cell B1. Change it to whatever you want.

    =INDEX('TOTAL 2'!A:A,MATCH(B1,'TOTAL 2'!N:N,0))

    this formula returns the date in column A. You could then add simple logic like TODAY() to the beginning and it will take todays date less the date returned from the lookup and give you amount of days inbetween. Formula is as follows:

    =today()-INDEX('TOTAL 2'!A:A,MATCH(B1,'TOTAL 2'!N:N,0))

    Just make sure the cell you have this formula in its number format is set to GENERAL so it shoes the amount of days and not some wacky date.
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  6. #6
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Excel 2019 Spreadsheet date formula help

    Thank you so much I will try this.
    Much Appreciated
    Last edited by dtpunshon; 01-09-2020 at 01:46 PM.

  7. #7
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Excel 2019 Spreadsheet date formula help

    That worked perfectly to give me the days since the horses last run, is there a way I could continue it down the table so I could add a column for days between each previous run.
    Many Thanks
    Last edited by dtpunshon; 01-09-2020 at 01:46 PM.

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,472

    Re: Horseracing spreadsheets

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

  9. #9
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,472

    Re: Horseracing spreadsheets

    Administrative note
    Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile does not indicate your version.
    Thanks

  10. #10
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Excel 2019 Spreadsheet date formula help

    Apologies I was replying to a post to my earlier thread of which I had a title
    Last edited by dtpunshon; 01-09-2020 at 01:45 PM.

  11. #11
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Excel 2019 Spreadsheet date formula help

    I have that uploaded Pete. It works great for the last run, I was wondering could I incorporate another column to show all previous days between runs ie last to second last, second last to third last etc.
    Kind Regards
    Last edited by dtpunshon; 01-09-2020 at 01:46 PM.

  12. #12
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,472

    Re: Horseracing spreadsheets

    Please change your title as requested (post#8) and change your profile (post#9). Thank you

  13. #13
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Excel 2019 Spreadsheet date formula help

    Is that ok now, I could not find where to update Excel Version only the windows version
    Last edited by dtpunshon; 01-09-2020 at 01:45 PM.

  14. #14
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,472

    Re: Excel 2019 Spreadsheet date formula help

    Seems that you found it. Thanks

  15. #15
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Excel 2019 Spreadsheet date formula help

    Would a pivot table do the trick for you?

    I used the slicer to pick a horse

    I put the race name in a column
    the date in the values section twice, once to show the race date as a date (using MAX of date)
    and used date again with a Show values as setting with difference from previous..
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Re: Excel 2019 Spreadsheet date formula help

    Morning Roel
    Thank you very much for that it has given me another great tool unfortunately for what I am looking for i would need a column on my existing spreadsheet so I can lookup those days between races. I can so it with multiple index (sum) but as some of the horses have 20 to 30 runs it becomes very space consuming. I use a search pace so that when I enter several horse names I receive several columns of data. Speeds, Ratings etc I was looking to add how often that horse runs. So I enter horses names in column A and the work book looks up the previous example then fills in the columns with multiple min/maxif formulas. I wanted to add a days between runs to this workbook.
    Attached Files Attached Files
    Last edited by dtpunshon; 01-10-2020 at 05:46 AM.

  17. #17
    Registered User
    Join Date
    09-08-2014
    Location
    Castlebar, Ireland
    MS-Off Ver
    windows 10/Excel 2019
    Posts
    79

    Re: Excel 2019 Spreadsheet date formula help

    So this is my end result
    Attached Files Attached Files

+ 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. [SOLVED] Horseracing data question
    By jamdog in forum Excel General
    Replies: 4
    Last Post: 01-18-2023, 10:51 AM
  2. 10 spreadsheets into one
    By lolalawla in forum Excel General
    Replies: 4
    Last Post: 08-29-2013, 05:22 AM
  3. Import Data from multiple spreadsheets into seperate spreadsheets worksheet
    By cablecrt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2008, 08:01 AM
  4. Can Excel Spreadsheets be saved as Microsoft Works spreadsheets?
    By EXCEL WORKS CONFUSED in forum Excel General
    Replies: 4
    Last Post: 08-18-2006, 06:25 PM
  5. [SOLVED] How do I combine data from various Excel spreadsheets into one Excel spreadsheets
    By SouthAfricanStan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2006, 01:10 PM
  6. Horseracing Problem
    By Saxman in forum Excel General
    Replies: 4
    Last Post: 11-10-2005, 08:25 AM
  7. Over-lay on Spreadsheets
    By Deana in forum Excel General
    Replies: 5
    Last Post: 04-18-2005, 03:43 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