+ Reply to Thread
Results 1 to 7 of 7

OR IF Formula?

  1. #1
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    OR IF Formula?

    Hello all,

    I have an excel spreadsheet that evaluates weights entered in a column to determine if they are above or below the specification. Column C contains the reference value, column E contains the actual weight data and column F contains the evaluator.
    Here is the current formula used in column F: =IF(E5<C5, "LT", "")

    This formula works great except that when there is no data in column E the default value of column F is "LT"
    I would like a formula that leaves column F blank if column E doesn't have any data. It seems like it ought to be simple, I just haven't been able to figure it out yet.

    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    01-14-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    240

    Re: OR IF Formula?

    nested if

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please consider adding a * if I helped.

  3. #3
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    Re: OR IF Formula?

    Thank you! That works great! Could you explain the necessity for the empty double quotes?

  4. #4
    Forum Contributor
    Join Date
    01-14-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    240

    Re: OR IF Formula?

    You can do with out - I tend to include as a blank cell can be interpreted as a zero by excel in some circumstances and I just think lots of zero's is a mess. "" is interpreted as text but of no length.

    I also think it makes the function a bit easier to read.

  5. #5
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    Re: OR IF Formula?

    Makes sense. Thanks for the help!

  6. #6
    Forum Contributor
    Join Date
    01-14-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    240

    Re: OR IF Formula?

    you seem to be sorted so please can you mark the thread solved?

    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

  7. #7
    Registered User
    Join Date
    11-04-2014
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    14

    Re: OR IF Formula?

    Done. Thanks again for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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