Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Widcards

  1. #1
    New Member
    Join Date
    Mar 2002
    Location
    Surfers Paradise
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I am trying to write a IF formula to look in a cell to find text that has a number which varies for the first character followed by mm then one to three words. ie "1mm PVC Colour" the Formula ihave tried is
    IF(a1="*mm*",b1*b2,0) which returns 0 my reading of the rules is it should return the result of b1*b2

  2. #2
    MrExcel MVP
    Colo's Avatar
    Join Date
    Mar 2002
    Location
    Kobe, Japan
    Posts
    1,456
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    2 Thread(s)

    Default

    Hi Lewy2,

    In the formula "IF", we can not use the wildcard like *.
    So, another way...

    =IF(ISERR(FIND("mm",A1))=FALSE,B1*B2,0)
    Hope this helps + pen pineapple apple pen!

    Masaru Kaji aka Colo - cellmasters.net

  3. #3
    New Member
    Join Date
    Mar 2002
    Location
    Surfers Paradise
    Posts
    19
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks Colo, it works great

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •