1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Excel Conditional Formula Help

Discussion in 'Business Applications' started by Shipmje, Apr 27, 2011.

Thread Status:
Not open for further replies.
  1. Shipmje

    Shipmje Thread Starter

    Joined:
    Apr 27, 2011
    Messages:
    2
    I am trying to compare data from two columns in Excel. I would like to have excel pull the lesser valued cell and post into a 3rd column. However, if one of the cells contains 0 or NULL value I want excel to pull the only remaining value from the other compared cell. Ex. A1=200; B1=100 (I have used an IF statement inthe past for this function =IF(B1<=A1,B1*1). However if A1=200 and B1=0; I need C1 to return the value of 200 not 0. How do I do this?
     
  2. bomb #21

    bomb #21

    Joined:
    Jul 1, 2005
    Messages:
    8,546
    =IF(OR(B1="",B1=0),A1,MIN(A1:B1))

    Welcome to the board.
     
  3. Shipmje

    Shipmje Thread Starter

    Joined:
    Apr 27, 2011
    Messages:
    2
    :) Thanks. This has given me a headache today.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/993698

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice