+ Reply to Thread
Results 1 to 7 of 7

How to change value in a cell based on multiple conditions

  1. #1
    Forum Contributor
    Join Date
    01-01-2022
    Location
    India
    MS-Off Ver
    Home 2021
    Posts
    951

    How to change value in a cell based on multiple conditions

    Hi All,

    In the attached excel file, Column C changes its status to Not Available if the value in Column D is Do Not Disturb and also based on other few criteria from another sheet.

    I have added a column E with drop down as Out Of Office.

    I want to retain the existing formula and also want to add an additional formula to the existing one such that if Column E contains Out Of Office, then the status in column C should be Not Available

    In other words, if any one column either D or E are selected with the option from drop down, then the status in column C should be Not Available.

    Note: Existing formula needs to be retained.

    Can someone help with both the formulae in a single cell?

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,317

    Re: How to change value in a cell based on multiple conditions

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    01-01-2022
    Location
    India
    MS-Off Ver
    Home 2021
    Posts
    951

    Re: How to change value in a cell based on multiple conditions

    Hi TMS,

    Thank you for your prompt response.

    However, as mentioned earlier, there is already a formula existing in column C. I would like to retain this existing formula and add the new condition to the same formula.

    Can you help me with the combination of both formulae.

    Thank you.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,317

    Re: How to change value in a cell based on multiple conditions

    I'm looking at this on an iPad and all I can see in column C is #REF! with a message:
    This cell has an external reference that can't be shown or edited. Editing this cell will remove the external reference.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,317

    Re: How to change value in a cell based on multiple conditions

    You ALREADY have the OR! It's just another condition.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    01-01-2022
    Location
    India
    MS-Off Ver
    Home 2021
    Posts
    951

    Re: How to change value in a cell based on multiple conditions

    Oh this was it !!

    I was trying to enter whole formula again and it wasn't working.

    Thank you so much TMS.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,317

    Re: How to change value in a cell based on multiple conditions

    You're welcome. Thanks for the rep.

+ 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] Change a cell's font color based on conditions
    By Grilleman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-29-2019, 10:20 AM
  2. Conditional formatting - based on multiple conditions which can change
    By SForest in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-18-2019, 05:40 PM
  3. Change Cell value format in all sheets based on multi conditions
    By shiva_raj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2019, 07:13 AM
  4. [SOLVED] Change pattern based on cell value (Multiple conditions)
    By amein in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-10-2016, 05:28 AM
  5. [SOLVED] Set Cell Value Based on Multiple Conditions
    By BurkinaFaso in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-11-2015, 01:14 AM
  6. Replies: 5
    Last Post: 04-28-2014, 07:54 AM
  7. Cell value based on multiple conditions
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-23-2010, 12:57 PM

Tags for this Thread

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