+ Reply to Thread
Results 1 to 4 of 4

If formula

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    If formula

    I have cells B11:B19 that have a U letter. I need to create an IF formula in another cell that returns a 0 if the range shows a U. If not the return should show the result of cells H12/H11.

    Any idea anyone?

    I tried =IF(B11:B19="U", "0", (H12/H11)) with no success.
    Last edited by bmunoz64; 05-07-2009 at 08:23 AM.

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

    re: If formula

    =if(countif(b11:b19,"u"),0,h12/h11)
    "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

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    USA
    Posts
    78

    Re: If formula

    Thanks a million, it worked. Never thought I needed to use a COUNT formula!

    Bruno

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,057

    Re: If formula

    Yes, very nice solution. Already got my balance
    Never use Merged Cells in Excel

+ 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