+ Reply to Thread
Results 1 to 3 of 3

IF/AND Formula

  1. #1
    Registered User
    Join Date
    08-28-2011
    Location
    Donegal, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    1

    IF/AND Formula

    hi
    having a problem with if/and formula

    must show customers who purchases hardware and purchased over 200 euro's worth.

    cells B5:B14 have codes H1 and S1, H1 = HARDWARE, S1 = Software
    cells E5:E14 have values ranging from 500 to 20 euros

    the formula i enter is if(and(B5="H1",E5>=200),"YES","NO")

    all i get is "NO" all the time.
    E5:E14 formatted as currency
    B5:B14 i have tried formatting as text, general, number etc....
    Please Please Please help doing my head in

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: IF/AND Formula

    Hi macgweedore and welcome to the forum,

    I think you need to not put quotes around the H1 and in your formula.

    Try that and see what happens.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF/AND Formula

    that should work as long as b5:b14 haven't any spaces or other invisible characters in ,post a sample workbook
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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