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 formula 'criteria' argument problem

Discussion in 'Business Applications' started by Scantquery, Jan 19, 2019.

Thread Status:
Not open for further replies.
Advertisement
  1. Scantquery

    Scantquery Thread Starter

    Joined:
    Jan 19, 2019
    Messages:
    2
    One of the formulas in Excel is SUMIF. One of its arguments need a criteria in which I must fill in. I know the basics of what to input in this field (such as a number, a simple operation, or a cell reference).

    The problem lies when I try to use the > and < operators. It needs to be enclosed in quotation marks for it to be recognized. It works just as intended if you do something like ">5" or such. However, what I intend to do is reference a cell and use the < operator.

    Doing so, I find it that the formula recognizes "<B5" as a string, rather than treating it as 'less than the numerical value of cell B5'.

    How do I make it that I can use the < operator and numerical value of cell B5 in the formula?
     
  2. Chawbacon

    Chawbacon

    Joined:
    Jul 9, 2018
    Messages:
    540
    First Name:
    Jack
    Hello Scantquery,

    I would tackle this one by moving the B5 cell reference outside of the quotations binding. For instance:

    = SUMIF (A1:A5, "<" & B5, A1:A5)

    Good Luck
     
    Scantquery likes this.
  3. Scantquery

    Scantquery Thread Starter

    Joined:
    Jan 19, 2019
    Messages:
    2
    Yes, this seemed to solve the problem! After inputting that, the results are what I exactly intended. Thank you!
     
  4. Chawbacon

    Chawbacon

    Joined:
    Jul 9, 2018
    Messages:
    540
    First Name:
    Jack
    Glad that worked for you.

    Have a great day.
     
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...
Tags:
Thread Status:
Not open for further replies.

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

  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