+ Reply to Thread
Results 1 to 4 of 4

If Forumla adjustment

  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    If Forumla adjustment

    Hi,

    I have the following IF statement however I need to amend it - each time I do I get #Value

    =IF(OR(ISBLANK(F2),ISNUMBER(SEARCH("Lam",F2)),(ISNUMBER(SEARCH("Lam",I2)))), "Annealed",IF(OR(CODE(RIGHT(F2,1))=84,CODE(RIGHT(I2,1))=84),"Toughened","Annealed"))

    I need it amending so if F2 IS BLANK then it displays "Toughened"

    I tried deleting the first logial1 arguement and adding a new if but kept getting an error. Any suggestions? Even if its to delete the "ISBLANK(F2)" part

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: If Forumla adjustment

    Perhaps

    Please Login or Register  to view this content.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: If Forumla adjustment

    Maybe:

    =IF(OR(ISNUMBER(SEARCH("Lam",F2)),ISNUMBER(SEARCH("Lam",I2))), "Annealed", IF(OR(ISBLANK(F2),CODE(RIGHT(F2,1))=84,CODE(RIGHT(I2,1))=84),"Toughened","Annealed"))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: If Forumla adjustment

    =IF(ISBLANK(F2),"Toughened",IF(OR(ISNUMBER(SEARCH("Lam",F2)),(ISNUMBER(SEARCH("Lam",I2)))),"Annealed",IF(OR(CODE(RIGHT(F2,1))=84,CODE(RIGHT(I2,1))=84),"Toughened","Annealed")))

    Done it! Ignore this post

+ 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