+ Reply to Thread
Results 1 to 4 of 4

Cmobing an IF Function with an OR Function with two spearate criteria to be met

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    California
    MS-Off Ver
    2010
    Posts
    96

    Cmobing an IF Function with an OR Function with two spearate criteria to be met

    Hi all, see attached worksheet as an example. I need to combine two IF Functions that work separately just fine, but I cannot seem to get them combined.

    FORMULA #1 (Already in place) =IFERROR(IF(F3>390,"-",G3/D3),"-")
    I need to add this one before it to meet different criteria =IF(OR(B3="Sat",B3="Sun",B3="Holiday"),G3/D3, Insert formula #1)

    Thanks for any help
    Attached Files Attached Files
    Last edited by Alphabex; 07-15-2016 at 07:24 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,265

    Re: Cmobing an IF Function with an OR Function with two spearate criteria to be met

    Hi,

    Like this in I3 and pull down?

    =IF(OR(B3="Sat",B3="Sun",B3="Holiday"),G3/D3,IFERROR(IF(F4>390,"-",G4/D4),"-"))
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    01-15-2015
    Location
    California
    MS-Off Ver
    2010
    Posts
    96

    Re: Cmobing an IF Function with an OR Function with two spearate criteria to be met

    YES!!! I had to mover the IFERROR to the front to get rid of the outliers, but Yes this worked!!! Thank you so much

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,175

    Re: Cmobing an IF Function with an OR Function with two spearate criteria to be met

    Try this ...

    =IFERROR(IF(OR(B3={"Sat","Sun","Holiday"},F3<=390),G3/D3,"-"),"-")

+ 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. Spearate date range then Count
    By hals8445 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2015, 03:50 PM
  2. Replies: 11
    Last Post: 06-01-2015, 02:21 AM
  3. Multiple Criteria Function along with Count function
    By Joseph Wee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2013, 12:51 AM
  4. Using IF function with mutilple criteria in combination with MID function
    By ryguy104gt in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-21-2013, 06:03 PM
  5. [SOLVED] spearate names from list
    By freud1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-10-2012, 10:57 AM
  6. Match function no accepting a function as its criteria
    By Jon_Torbitt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2012, 10:37 AM
  7. Need help to change multiple criteria from if function to Case function.
    By indkitty in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-29-2012, 10:42 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