+ Reply to Thread
Results 1 to 5 of 5

if multiple condition

  1. #1
    Forum Contributor
    Join Date
    10-30-2019
    Location
    Agra
    MS-Off Ver
    Office 2010
    Posts
    241

    if multiple condition

    Hi,

    we have a sheet where want to do check some conditions
    My All work in Sheet1 or we can use ActiveSheet function


    1. in D8,
    if D2>=B8 and D2<=C8 then "yes" else "no"
    if D2<B8 then blank

    2. In D9,
    if D8 is not blank then D9 is blank
    if D2<B9 then blank
    if D8 is blank and if D2>=B9 and D2<=C9 then "yes" else "no"

    3. In D10,
    if D9 is not blank then D10 is blank
    if D2<B10 then blank
    if D9 is blank and if D2>=B10 and D2<=C10 then "yes" else "no"
    Attached Files Attached Files

  2. #2
    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 multiple condition

    Maybe in D8

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

  3. #3
    Forum Contributor
    Join Date
    10-30-2019
    Location
    Agra
    MS-Off Ver
    Office 2010
    Posts
    241

    Re: if multiple condition

    Thank you very much Richard Buttrey


    my prob solved

  4. #4
    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 multiple condition

    Hi,

    I realised subsequently it could be shortened
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    10-30-2019
    Location
    Agra
    MS-Off Ver
    Office 2010
    Posts
    241

    Re: if multiple condition

    Thank you very much Richard Buttrey for making the code short

+ 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. multiple workbooks and multiple loops and if condition met get value
    By jigarrathod in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2017, 06:27 PM
  2. [SOLVED] Multiple Condition Countifs with Uniqueness as Condition
    By semantics in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-21-2017, 05:21 PM
  3. sum ifs multiple condition on multiple sheets question
    By Mastiman in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-20-2016, 11:06 PM
  4. Condition formatting of multiple condition formatted cells
    By merrin84 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-22-2015, 05:08 PM
  5. Replies: 1
    Last Post: 12-25-2012, 05:32 PM
  6. Replies: 6
    Last Post: 05-06-2010, 10:06 PM
  7. Multiple condition, multiple range formating
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2009, 09:10 AM

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