+ Reply to Thread
Results 1 to 3 of 3

Add Another Condition to Formula?

  1. #1
    Registered User
    Join Date
    02-08-2007
    Location
    Maine, USA
    MS-Off Ver
    Office 365
    Posts
    82

    Question Add Another Condition to Formula?

    The existing formula (cell C25) works and provides the correct answer when the range C25:C42 contains "F" and "H".

    I need to add a condition which says if the range of cells C25:C42 does not contain any "H", then enter the value in D14,otherwise continue with the formula as it is written. Is there a way to do this????
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Add Another Condition to Formula?

    =if(countif(c$25:c$42,"h")=0,d14,if($c25="",0,if($c25="h",d$15+d$20/countif($c$25:$c$42,"h"),if(c$25="f",d$14+d$19/countif($c$25:$c$42,"f"),0))))
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    02-08-2007
    Location
    Maine, USA
    MS-Off Ver
    Office 365
    Posts
    82

    Re: Add Another Condition to Formula?

    AWSOME!!!!!!!

    iT WORKS PERFECT IN MY TEST SHEET ............. GREATLY APPRECIATED.

+ 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] how to add OR condition to this formula
    By Flora20 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-19-2018, 10:48 AM
  2. [SOLVED] Condition formula
    By mahershams in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 08-21-2013, 03:43 AM
  3. Condition formula
    By mahershams in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-09-2013, 08:23 AM
  4. Excel formula if conition formula for 2 condition with consider timings
    By breadwinner in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-18-2013, 11:05 AM
  5. [SOLVED] Help for if condition formula result only either hit or miss from mulitple condition
    By breadwinner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 07:29 AM
  6. Help with IF condition formula
    By zoki80 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-04-2013, 06:28 PM
  7. How To Add One More IF condition into this formula?
    By Johnathan in forum Excel General
    Replies: 3
    Last Post: 03-09-2011, 09:52 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