+ Reply to Thread
Results 1 to 8 of 8

Making a cell value permenant once criteria becomes true even after criteria becomes false

  1. #1
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Making a cell value permenant once criteria becomes true even after criteria becomes false

    I need to store a "Yes" or "No" in a cell when a condition is met, even if that condition later becomes false again.


    If A1 = >0

    B2 = True

    B2 stays true even when A1 = 0 again.

    Is this possible?
    Last edited by AliGW; 12-13-2023 at 03:44 AM. Reason: Thread moved to the VBA section.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Making a cell value permenant once criteria becomes true even after criteria becomes f

    Yes, but you'll need VBA to lock in the formula result. Shall I move the thread for you?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Re: Making a cell value permenant once criteria becomes true even after criteria becomes f

    Yes, move thread. thx

  4. #4
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Re: Making a cell value permenant once criteria becomes true even after criteria becomes f

    Since this will require vba, I will try to add more detail. I am building a cryptocurrency portfolio in excel. I'm putting in my stop loss price (location below). I have auto-refreshed prices for coins in my workbook (location listed below). I need to match my stop price to the current price and trigger a Yes or No (location below) in a certain range that remains permanent until deleted.

    Sheet name = Entries
    Cell Range for Yes or No to display = O3:O5000
    Cell Range for Criteria 1= J3:J5000 where this displays the exchange that I purchased the coin
    Cell Range for Criteria 2 = K3:K5000 where this displays the coin I purchased on that exchange.
    Cell Range for Criteria 3 = N3:N5000 where this displays the stop loss price that should trigger the Yes/No

    Sheet name = Price Updates (this sheet is where the price updates are for the coins

    Cell Range A2:A5000 and B2:B5000 has the exchanges and Coins respectively but it is listed like this:

    Column A Column B
    Coinbase Coin 1
    empty cell Coin 2
    empty cell Coin 3
    empty cell Coin 4
    empty cell Coin 5
    Mexc Coin 1
    Empty Cell
    etc.

    The empty cells just mean the exchange above them.

    Range G2:G5000 has all the coin prices.

    Workbook attached.
    Attached Files Attached Files

  5. #5
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Re: Making a cell value permenant once criteria becomes true even after criteria becomes f

    This is what I pulled from ChatGPT:

    Please Login or Register  to view this content.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Making a cell value permenant once criteria becomes true even after criteria becomes f

    Does it work or do you still require assistance? If not, please mark this as solved.

  7. #7
    Forum Contributor Saeber4777's Avatar
    Join Date
    06-06-2014
    Location
    United States
    MS-Off Ver
    365 Enterprise
    Posts
    159

    Re: Making a cell value permenant once criteria becomes true even after criteria becomes f

    Chat GPT never works. I just shared it to help.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Making a cell value permenant once criteria becomes true even after criteria becomes f

    OK - when you share things, please add some comment to make it clear why. But if it doesn't work, it won't help.

    Someone will help soon, I am sure.

+ 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] IF(AND formula returns false when criteria is actually true
    By xPROxSLASHERx in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-06-2022, 01:15 AM
  2. TRUE / FALSE multiple criteria
    By MattKoleczko in forum Excel General
    Replies: 7
    Last Post: 01-06-2020, 11:39 PM
  3. [SOLVED] Return True or False based on two criteria
    By Chris_Montgomery in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-18-2018, 08:30 AM
  4. [SOLVED] True & false - range criteria
    By jani.pk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2014, 12:21 PM
  5. [SOLVED] Multiple TRUE,FALSE criteria
    By quibilty in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-25-2013, 11:47 PM
  6. Excel 2007 : IF/AND TRUE/FALSE and two criteria
    By myparticulars in forum Excel General
    Replies: 11
    Last Post: 08-20-2009, 04:23 PM
  7. Adv Filter criteria, true false, vs 1 and 0
    By Larryr8732 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-31-2007, 12:02 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