+ Reply to Thread
Results 1 to 6 of 6

Thread: Sumifs

  1. #1
    Registered User
    Join Date
    03-31-2010
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    3

    Sumifs

    Hello,

    Im trying to use SUMIFS but can get it to work. Would appreciate it if anyone tells me where im going wrong

    =SUMIFS(CIVILS_LINE!D:D,CIVILS_LINE!C:C,"Micro-Trench",CIVILS_LINE!A:A,"DD0101A")

    Im basically pointing it to a column containing individual lengths (D:D) and want to sum length if the information in C:C is "Micro-Trench" and the information in A:A is "DD0101A"

    All i keep getting returned is a value of "0". Im quite new to this so not sure if im inputting the data wrong

    Thanks for any help

  2. #2
    Valued Forum Contributor ratcat's Avatar
    Join Date
    03-07-2008
    Location
    Rural NSW, Australia
    MS-Off Ver
    Vista 2007
    Posts
    815

    Re: SUMIFS help!

    G'day Mark and welcome to the forum,

    That looks fine too me.....but is the spelling matching in the formula to the working sheet.

    Upload a dummy example if your still having troubles.

    Cheers

    RC
    Have I made you happy ??? If yes, please make me happy by pressing the Reputation icon in my post.
    Please don't forget to do the same to other contributors of this forum.

    Thanks


    I don't void confusion, I create it

  3. #3
    Registered User
    Join Date
    03-31-2010
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: SUMIFS help!

    Spelling is fine. The files im querying are linked from oracle. Im not sure if this would affect the query

  4. #4
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Sumifs

    What does

    =SUM(CIVILS_LINE!D:D)

    return ?

    If 0 the implication is such that you have numbers stored as text and need to either

    a) coerce to numbers (run Text to Columns on CIVILS_LINE Col D and click Finish)

    b) use an alternative (slower) method like SUMPRODUCT which can coerce as part of the process

    Irrespective - avoid using entire column references - even with SUMIFS - though not as bad performance wise as SUMPRODUCT/Array it's still slow(ish) used over extended ranges.
    Last edited by DonkeyOte; 03-31-2010 at 09:06 AM.

  5. #5
    Registered User
    Join Date
    03-31-2010
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Sumifs

    Quote Originally Posted by DonkeyOte View Post
    What does

    If 0 the implication is such that you have numbers stored as text and need to either
    That my friend in the problem. The column im trying to sum is saved as text instead of number. Many thanks for your help!!

  6. #6
    Extremely Helpful member
    Join Date
    12-23-2006
    Location
    Belgium
    MS-Off Ver
    XL2003
    Posts
    6,127

    Re: Sumifs

    To change 'text numbers" to numbers , enter 1 in an empty cell and copy it
    Select your data - right click - Paste special - check " multiply" OK
    Quoting entire posts clutters the forum and makes threads hard to read !

    If you are pleased with a member's answer then use the Star icon to rate it

    Click here to see forum rules

+ 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.2.0