+ Reply to Thread
Results 1 to 4 of 4

=SUMIF() problem/alternative

  1. #1
    Registered User
    Join Date
    06-04-2006
    Location
    Cheshire, UK
    Posts
    47

    =SUMIF() problem/alternative

    Please refer to the attachment.

    I'm trying to extract values from column B whose time (column A) corresponds to column C.

    The formula =SUMIF(a$3:a$20000,d3,SUMIF(b$3:b$20000,">0"")) returns the error in formula message.

    In isolation, =SUMIF(b$3:b$20000,">0") (or "<0")returns the correct figure.

    =SUMIF(a$3:a$20000,d3,b$3:b$20000) returns a correct figure if all the values in column B are either positive or negative, but not both.

    Where's the problem/what's the solution?

    Thank you.

    Grant.
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    =SUMIF() problem/alternative

    Maybe this??:

    Please Login or Register  to view this content.
    Is that what you're looking for?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    06-04-2006
    Location
    Cheshire, UK
    Posts
    47
    Ron,

    That's it. Thank you very much. You are a Gentleman.

    Grant.

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    You're welcome

    I'm glad I could help......and thanks for the kind words.

+ 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