+ Reply to Thread
Results 1 to 4 of 4

Wildcard IF formula

  1. #1
    Goh Han
    Guest

    Wildcard IF formula

    Help for the needy... please?

    Am trying to make a wildcard IF formula to work. The sample below doesn't
    work because IF formula can only match by one word and not a word within a
    few. I'm looking for a formula to detect the keyword "yellow" in each row in
    column B and add in 15 working days for delivery date. Here's the table I'm
    working on:

    A B C
    4/10/06 yellow shirt =IF(B2="yellow*",WORKDAY(A2,15,0)-1,"")
    4/10/06 red hat
    4/11/06 yellow pants
    4/10/06 yellow belt
    4/12/06 blue tie

    Thank you in advance for any kind souls out there who can help...
    --
    Goh Han

  2. #2
    Biff
    Guest

    Re: Wildcard IF formula

    Hi!

    Try this:

    =IF(ISNUMBER(SEARCH("yellow",B2)),WORKDAY(A2,15)-1,"")

    Format the cells as DATE

    Biff

    "Goh Han" <gohhan2002(remove this)@yahoo.com> wrote in message
    news:D1603013-786E-406B-96AF-F33124B3AA7B@microsoft.com...
    > Help for the needy... please?
    >
    > Am trying to make a wildcard IF formula to work. The sample below doesn't
    > work because IF formula can only match by one word and not a word within a
    > few. I'm looking for a formula to detect the keyword "yellow" in each row
    > in
    > column B and add in 15 working days for delivery date. Here's the table
    > I'm
    > working on:
    >
    > A B C
    > 4/10/06 yellow shirt =IF(B2="yellow*",WORKDAY(A2,15,0)-1,"")
    > 4/10/06 red hat
    > 4/11/06 yellow pants
    > 4/10/06 yellow belt
    > 4/12/06 blue tie
    >
    > Thank you in advance for any kind souls out there who can help...
    > --
    > Goh Han




  3. #3
    Goh Han
    Guest

    Re: Wildcard IF formula

    You're..... a ...... genius!!!!

    Thanks Biff :D
    --
    Goh Han


    "Biff" wrote:

    > Hi!
    >
    > Try this:
    >
    > =IF(ISNUMBER(SEARCH("yellow",B2)),WORKDAY(A2,15)-1,"")
    >
    > Format the cells as DATE
    >
    > Biff
    >
    > "Goh Han" <gohhan2002(remove this)@yahoo.com> wrote in message
    > news:D1603013-786E-406B-96AF-F33124B3AA7B@microsoft.com...
    > > Help for the needy... please?
    > >
    > > Am trying to make a wildcard IF formula to work. The sample below doesn't
    > > work because IF formula can only match by one word and not a word within a
    > > few. I'm looking for a formula to detect the keyword "yellow" in each row
    > > in
    > > column B and add in 15 working days for delivery date. Here's the table
    > > I'm
    > > working on:
    > >
    > > A B C
    > > 4/10/06 yellow shirt =IF(B2="yellow*",WORKDAY(A2,15,0)-1,"")
    > > 4/10/06 red hat
    > > 4/11/06 yellow pants
    > > 4/10/06 yellow belt
    > > 4/12/06 blue tie
    > >
    > > Thank you in advance for any kind souls out there who can help...
    > > --
    > > Goh Han

    >
    >
    >


  4. #4
    Biff
    Guest

    Re: Wildcard IF formula

    You're welcome!

    Biff

    "Goh Han" <gohhan2002(remove this)@yahoo.com> wrote in message
    news:AF116E38-267C-4464-99E4-54B4064DC8DE@microsoft.com...
    > You're..... a ...... genius!!!!
    >
    > Thanks Biff :D
    > --
    > Goh Han
    >
    >
    > "Biff" wrote:
    >
    >> Hi!
    >>
    >> Try this:
    >>
    >> =IF(ISNUMBER(SEARCH("yellow",B2)),WORKDAY(A2,15)-1,"")
    >>
    >> Format the cells as DATE
    >>
    >> Biff
    >>
    >> "Goh Han" <gohhan2002(remove this)@yahoo.com> wrote in message
    >> news:D1603013-786E-406B-96AF-F33124B3AA7B@microsoft.com...
    >> > Help for the needy... please?
    >> >
    >> > Am trying to make a wildcard IF formula to work. The sample below
    >> > doesn't
    >> > work because IF formula can only match by one word and not a word
    >> > within a
    >> > few. I'm looking for a formula to detect the keyword "yellow" in each
    >> > row
    >> > in
    >> > column B and add in 15 working days for delivery date. Here's the table
    >> > I'm
    >> > working on:
    >> >
    >> > A B C
    >> > 4/10/06 yellow shirt =IF(B2="yellow*",WORKDAY(A2,15,0)-1,"")
    >> > 4/10/06 red hat
    >> > 4/11/06 yellow pants
    >> > 4/10/06 yellow belt
    >> > 4/12/06 blue tie
    >> >
    >> > Thank you in advance for any kind souls out there who can help...
    >> > --
    >> > Goh Han

    >>
    >>
    >>




+ 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