+ Reply to Thread
Results 1 to 5 of 5

Adding an OR statement for a value

  1. #1
    Registered User
    Join Date
    09-28-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    47

    Adding an OR statement for a value

    I have a formula with 1 value Conv. now I have added another value in a pull down menu ALH Conv

    Here is my formula in the cell. Can't I do OR in the first if statement? I need to to be the same result for Conv. or ALH Conv

    =IF(F16="Conv.",IF(E19>0,E19,G16*H19),N49*-1)

    Thanks
    Last edited by NBVC; 12-08-2011 at 09:06 AM.

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

    Re: Adding an OR statement for a value

    Do you mean?


    =IF(OR(F16="Conv.",F16="ALH Conv."),IF(E19>0,E19,G16*H19),N49*-1)
    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 tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Adding an OR statement for a value

    Give this a try:
    =IF(COUNTIF(F16,"*conv*")>0,IF(E19>0,E19,G16*H19),N49*-1)
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    09-28-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Adding an OR statement for a value

    NBVC works perfect!

    Thanks so much~

  5. #5
    Registered User
    Join Date
    09-28-2011
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re:(Solved) Adding an OR statement for a value

    Thanks for all the help

+ 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