+ Reply to Thread
Results 1 to 3 of 3

If returns True for one apply to all subsequent and previous entities

  1. #1
    Registered User
    Join Date
    11-03-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    1

    If returns True for one apply to all subsequent and previous entities

    Hello everyone,

    I hope you can help been trying to work this one out for what seems like ages now.

    Basically I have a spreadsheet that I use to check my gambling accumulators. An accumulator is a bet that is outcome linked to other bets and because of the way they work here you get your money back if one bet lets you down. So each accumulator ID I have is live until it has lost twice at which point it becomes fully dead and I enter a loss.

    I am using the following formula and it highlights when there has been two losses but what I want to do is apply it to all subsequent entities of the same name.

    =AND(IF(COUNTIFS($D:$D,$D2,$F:$F,$F2)>1,TRUE,FALSE),$F2="L")

    Where column D is the unique identifier of the accumulator and column F tracks the wins against it.

    So if i have an entity "LB 01/11" that has lost (represented in the F colomn as L) yesterday and today it picks up that and uses conditional formatting to put a strike-through the two rows highlighting it as dead but not for subsequent entities.

    I hope I've explained it. It's probably much simpler than I've made it sound but hopefully you can help. Would make my life so much easier!

    Thanks in advance!

    Nick
    Attached Files Attached Files
    Last edited by Doy-; 11-03-2016 at 12:47 PM. Reason: Example File Added

  2. #2
    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
    28,215

    Re: If returns True for one apply to all subsequent and previous entities

    Please post a sample Excel file with example(s) of expected outcomes.

    To Attach a File:

    1. Click "Go Advanced"
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If returns True for one apply to all subsequent and previous entities

    Hi, and welcome to the forum.

    It would be even easier for us if you could upload an example of the workbook and your data. Manually add the results you expect to see with notes explaining the results where necessary.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. VLOOKUP returns #N/A, EXACT returns TRUE
    By mgblair in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-02-2015, 07:37 PM
  2. [SOLVED] IF all cells = TRUE returns 1 else 0
    By rtcwlomax in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-25-2015, 07:45 AM
  3. [SOLVED] vlookup that returns first value then subsequent values.
    By Dan27 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2015, 07:36 AM
  4. Use previous full cell in the subsequent empty cells in a range
    By 3hundred in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-21-2013, 05:19 PM
  5. Return subsequent list based on true/false array
    By john. in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-22-2012, 02:23 PM
  6. Replies: 2
    Last Post: 06-14-2012, 05:14 AM
  7. Referencing subsequent sheets by copying to subsequent columns
    By dglsart in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-23-2011, 11:03 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