+ Reply to Thread
Results 1 to 3 of 3

Excel double condition formula

  1. #1
    Registered User
    Join Date
    07-01-2015
    Location
    Antwerp
    MS-Off Ver
    2019
    Posts
    71

    Excel double condition formula

    Hi,

    I am looking for an Excel non-VBA function formula based on two parameters (workday, and value in reference cell).
    If a cell holds the value 10, then a date starting from 24 December is added, but only if this date is a workday.
    If this date is not a workday, then it takes the first day before this date that is a workday.

    If the cell holds the value 9, then two dates retrochronologically starting from 24 December downward are added, under the same condition that they should be workdays.
    If the cell holds the value 8, then three dates retrochronologically starting from 24 December downward are added, under the same condition that they should be workdays.

    I started a formula (=IF(AND(E4=10,C5=1),A5,IF(C4=1,A4,""))) but it does not seem to capture the inherently intertwining logic of all the parameters. Do you know a formula that covers all possible options?

    Date multiple criteria formula.jpg

    This question has also been posted on https://www.mrexcel.com/board/thread...rmula.1206993/.
    Last edited by Retroshift; 06-05-2022 at 09:54 AM.

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

    Re: Excel double condition formula

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until you provide a link or, for members with fewer than 10 posts, a comment telling us where else you have posted this query.)
    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

  3. #3
    Registered User
    Join Date
    07-01-2015
    Location
    Antwerp
    MS-Off Ver
    2019
    Posts
    71

    Re: Excel double condition formula

    So far, I have this formula but it does not take into account that 2 dates should be added if parameter B is 9 and 3 dates if parameter B is 8 (under the condition that it should be workdays in column B).

    Any help with completing this formula would be greatly appreciated.

    Please Login or Register  to view this content.
    Date multiple criteria formula.jpg

    (This question has been posted on https://www.mrexcel.com/board/thread...rmula.1206993/.)

+ 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. trouble with condition using double
    By terriertrip in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-01-2020, 12:51 PM
  2. [SOLVED] Double condition if
    By gko_87 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-23-2017, 11:19 AM
  3. Double condition Vlookup
    By Zaid in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-30-2014, 05:40 AM
  4. [SOLVED] IF formula with double condition
    By dreddster in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2013, 07:43 AM
  5. [SOLVED] Count double entry as one & with condition
    By [email protected] in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-25-2012, 10:31 PM
  6. Excel 2007 : Double IF Condition..Please Help
    By gun3d in forum Excel General
    Replies: 1
    Last Post: 05-20-2011, 05:57 AM
  7. how do you create a double condition in excel
    By Love Excel in forum Excel General
    Replies: 4
    Last Post: 07-04-2009, 09:04 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