+ Reply to Thread
Results 1 to 6 of 6

Excel 2003 how to had another OR function to my IF function

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    New Brunswick, NJ
    MS-Off Ver
    Excel 2003
    Posts
    53

    Excel 2003 how to had another OR function to my IF function

    I have the function: H3 =IF(OR($C3="2011-06",F3=""),"",IF(F3<-0.044,-1,IF(F3>0.044,1,0)))

    In the 1st parathesis I want to add another OR function that states if F3 is blank then H3 returns blank, if F3 is not blank then it runs the 2nd parathesis.

    Thank you for any help in advance!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Excel 2003 how to had another OR function to my IF function

    Maybe you want?

    =IF($C3<>"2011-06",IF(F3="","",IF(F3<-0.044,-1,IF(F3>0.044,1,0))),"")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,723

    Re: Excel 2003 how to had another OR function to my IF function

    Your quoted formula already returns a blank if F3 is blank, am I missing something?
    Audere est facere

  4. #4
    Registered User
    Join Date
    06-22-2012
    Location
    New Brunswick, NJ
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Excel 2003 how to had another OR function to my IF function

    I believe I put in the same as you =IF(OR($C3<>"2011-06",IF(F3="","",IF(F3<-0.044,-1,IF(F3>0.044,1,0))),"") but it says I am missing a parathesis or comma.

    Daddylonglegs If it is it is not running I thought in the original formula I posted the first paratehsis means if it is "2011-06" then a blank is posted. Because when I looked through what the formula produced in column H it still posts a value even if there is a blank cell in F. I want it to read if it is "2011-06" in column C OR if it is a blank cell in column F then the value in H should be blank

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,723

    Re: Excel 2003 how to had another OR function to my IF function

    Quote Originally Posted by cajodonn View Post
    I want it to read if it is "2011-06" in column C OR if it is a blank cell in column F then the value in H should be blank
    That's what your original version does, perhaps F3 isn't actually blank, is there a formula in that cell.....or could it be another character like a space (which isn't blank but looks like it)?

  6. #6
    Registered User
    Join Date
    06-22-2012
    Location
    New Brunswick, NJ
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Excel 2003 how to had another OR function to my IF function

    Ah not in the F column but in my other columns that are like the F there is a formula, so I think there is the issue so i am just going to make a new tab and in the new one do copy and paste values I think that should do the trick

    ---------- Post added at 11:47 AM ---------- Previous post was at 11:37 AM ----------

    Nevermind you were exactly right instead of having ,"" for a blank I had ," ". Thanks a lot for the help again Ive been trying to figure this out all morning.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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