+ Reply to Thread
Results 1 to 7 of 7

Formula to count the last 5 specific text entries in a column

  1. #1
    Registered User
    Join Date
    04-09-2018
    Location
    USA
    MS-Off Ver
    365
    Posts
    6

    Formula to count the last 5 specific text entries in a column

    Hi everyone!

    First time poster here. Is there a formula to count the last 5 specific text entries in a column? I am creating a spreadsheet to track statistics for my son’s baseball team and would like to count their “Last 5” wins. While I’ve found a way to do this by recording wins and losses in adjacent columns, using 1 or 0 [e.g., =SUM(OFFSET(C3,COUNT(C3:C17)-5,,5))], I would like to use a single column and enter only “W” or “L”.

    Thanks so much for your help!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Formula to count the last 5 specific text entries in a column

    Try this

    =COUNTIF(OFFSET(B3,COUNTA(B3:B17)-5,,5),"W")
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    04-09-2018
    Location
    USA
    MS-Off Ver
    365
    Posts
    6

    Re: Formula to count the last 5 specific text entries in a column

    Thank you! I found a lot of different "suggestions" for this and none have worked until now!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Formula to count the last 5 specific text entries in a column

    I don't know much about baseball, but is it not possible for the two teams to draw the match?

    Pete

  5. #5
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Formula to count the last 5 specific text entries in a column

    win, lose or draw...
    ... if that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED- Thanks

  6. #6
    Registered User
    Join Date
    04-09-2018
    Location
    USA
    MS-Off Ver
    365
    Posts
    6

    Re: Formula to count the last 5 specific text entries in a column

    Quote Originally Posted by Pete_UK View Post
    I don't know much about baseball, but is it not possible for the two teams to draw the match?

    Pete
    Pete_UK, normally baseball games are played until there is a winner, but kid's games can end in a tie as we can't let them play all night (as much as they'd want to)! Now that I have a working formula, I can adjust it to include losses and ties.

  7. #7
    Registered User
    Join Date
    04-09-2018
    Location
    USA
    MS-Off Ver
    365
    Posts
    6

    Re: Formula to count the last 5 specific text entries in a column

    Quote Originally Posted by kev_ View Post
    win, lose or draw...
    ... if that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED- Thanks
    Thanks again! I was wondering how to do that.

+ 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. Return Count of Unique Text Entries in a Column
    By Charlie14 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-16-2017, 10:48 AM
  2. Replies: 3
    Last Post: 04-10-2017, 02:30 AM
  3. [SOLVED] Formula to count # of entries in column
    By rizmomin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2016, 10:27 AM
  4. Replies: 3
    Last Post: 10-02-2015, 06:11 PM
  5. [SOLVED] Count of a Specific Text in a Specific column
    By Oceans in forum Excel General
    Replies: 3
    Last Post: 10-10-2012, 06:21 PM
  6. Replies: 1
    Last Post: 03-05-2011, 04:18 PM
  7. Replies: 9
    Last Post: 02-17-2009, 09:16 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