+ Reply to Thread
Results 1 to 8 of 8

error sumif

  1. #1
    Registered User
    Join Date
    04-18-2017
    Location
    NW,UK
    MS-Off Ver
    MS Office 2013
    Posts
    89

    error sumif

    Hello forum

    I have the below code which works great until i get a error

    Please Login or Register  to view this content.
    This works for the error is i am summing on teh same sheet but i cant get the above code to run when it's on anothwer sheet
    Please Login or Register  to view this content.
    thanks in advance for the help

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: error sumif

    where is the error

    could you upload a sample spreadsheet with the error

    I cannot reproduce

    =SUMIF(sheet1!L:L,A4,sheet2!I:I)

    if the result pulls back an error - then you could use
    IFERROR (SUMIF(sheet1!L:L,A4,sheet2!I:I) , "")

    But I dont think thats what you mean

    #N/A are ignored
    DIV/0 is ignored
    Attached Files Attached Files
    Last edited by etaf; 02-26-2018 at 09:27 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    04-18-2017
    Location
    NW,UK
    MS-Off Ver
    MS Office 2013
    Posts
    89

    Re: error sumif

    Hello etaf

    I cant upload the sheet as it's massive.

    Basically column A is by month and column B is adding up everything in that month.

    Sheet 1 contains the data as a list, in column L is the date and in Column I is the value, not all lines have a value in column I which is producing a error so when trying to SUMIF it wont add up as there is a error in the list.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,779

    Re: error sumif

    Upload a small extract.

  5. #5
    Registered User
    Join Date
    04-18-2017
    Location
    NW,UK
    MS-Off Ver
    MS Office 2013
    Posts
    89

    Re: error sumif

    Here you go , i have done a smaple for you to look at
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: error sumif

    try this
    =SUMIFS(Sheet1!I:I,Sheet1!L:L,A4,Sheet1!I:I,"<>"&"#N/A")

  7. #7
    Registered User
    Join Date
    04-18-2017
    Location
    NW,UK
    MS-Off Ver
    MS Office 2013
    Posts
    89

    Re: error sumif

    And the winner is Finalazy

    thanks alot for that works perfectly, i did find some extemely long ways to do the same thing but yours is short and to the point.

  8. #8
    Forum Contributor
    Join Date
    07-06-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    192

    Re: error sumif

    You are welcome. You should have attached the file in the beginning, I'm 100% certain etaf or john will be able to provide the answer as well. Anyway glad it helps =)
    Cheers!

+ 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. [SOLVED] Sumif error help please
    By BDD2015 in forum Excel General
    Replies: 4
    Last Post: 07-23-2017, 07:57 AM
  2. Replies: 2
    Last Post: 06-21-2017, 06:32 PM
  3. [SOLVED] SUMIF Error
    By skhari in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 05-23-2012, 10:48 PM
  4. [SOLVED] SUMIF(By Date) - SUMIF(By Date)= #Value Error From Linked Data
    By Dragunov in forum Excel General
    Replies: 2
    Last Post: 05-17-2012, 11:22 AM
  5. SUMIF error
    By yasir.jawed in forum Excel General
    Replies: 2
    Last Post: 01-10-2012, 08:01 AM
  6. Sumif error
    By aftabn10 in forum Excel General
    Replies: 8
    Last Post: 11-20-2008, 05:44 AM
  7. SumIf Error
    By howardjo in forum Excel General
    Replies: 3
    Last Post: 02-04-2008, 12:17 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