+ Reply to Thread
Results 1 to 7 of 7

Need a formula but unsure which one it is

  1. #1
    Registered User
    Join Date
    10-09-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    4

    Need a formula but unsure which one it is

    Hi all,
    I'm a newbie to this forum but have browsed it many a times looking for answers. I think of myself as quite good at doing spreadsheets as secretly i absolutely love doing them, get a real buzz from them, but i've come a cropper with my latest one. I'm doing a football spreadsheet & i've setup a sheet with all the results on so far & 2 columns next to the results saying if its a home win, draw or away win. What i'm stuck on is my next sheet where i've put all the teams down the left hand side & their games along the top, in between i want it to say for example...

    1 2 3 4 5 6 7
    AFC Bournemouth L L L L W D L
    Arsenal
    Brighton

    I want to know what the formula is so that it'll look up AFC Bournemouth's first game, 2nd game & so on so instead of typing it in manually the spreadsheet does it for me.

    Regards
    Steve
    Attached Files Attached Files

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Need a formula but unsure which one it is

    Hi,

    I'm sure there are better ways, but this seems to work.
    Attached Files Attached Files
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    10-09-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    4

    Re: Need a formula but unsure which one it is

    Wow, that works a treat, thank you very much!!!

  4. #4
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Need a formula but unsure which one it is

    You're welcome. Please remember to mark this Solved using the Thread Tools link at the top of the page.

  5. #5
    Registered User
    Join Date
    10-09-2017
    Location
    England
    MS-Off Ver
    2013
    Posts
    4

    Re: Need a formula but unsure which one it is

    Following on from that xlnitwit, how do you then count the last 6 results of each team & say that a W=3, D=1 & L=0, but it only looks at the last 6 results.

  6. #6
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Need a formula but unsure which one it is

    Using the previous spreadsheet I posted
    =SUM(COUNTIF(INDEX($C3:$AN3,MAX(1,A3-5)):INDEX($C3:$AN3,A3),{"W","D"})*{3,1})
    and copy down.

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Need a formula but unsure which one it is

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Unsure of Formula to Use- IF function?
    By bmc8963 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-07-2017, 04:13 PM
  2. Replies: 2
    Last Post: 11-28-2016, 09:27 PM
  3. Looking for help with a formula as unsure how to do it
    By SophieLove81 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-20-2014, 12:21 PM
  4. [SOLVED] Unsure what formula to use to work out dates from table
    By steveori in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-24-2014, 09:19 AM
  5. Count IF formula with 2 dependent variables - Unsure how to construct
    By nscarritt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-16-2014, 09:22 AM
  6. [SOLVED] unsure how to wite IF formula
    By oceanside in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-14-2013, 11:32 PM
  7. Unsure what Formula to use to add up values relating to dates
    By Sarah Randall in forum Excel General
    Replies: 3
    Last Post: 03-06-2012, 01:06 PM

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