+ Reply to Thread
Results 1 to 5 of 5

sumproduct ignoring new data

  1. #1
    Registered User
    Join Date
    11-25-2020
    Location
    Tauranga NZ
    MS-Off Ver
    2007
    Posts
    27

    sumproduct ignoring new data

    Hi there
    new data is entered at row 7 at top of data table(Table-Transactions tab) - the sumproduct formula is ignoring the new row 7 - on Kills Report line 1n should show 5 Rats - have checked the format, date ranges, pest types etc & unable to identify any problem - formula work correctly before new data added.

    Any help appreciated
    cheers
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: sumproduct ignoring new data

    Hard to see the wood for the trees!!

    =SUMIFS('[BladeCurrentLive.xlsm]Table-Transactions'!P:P,'[BladeCurrentLive.xlsm]Table-Transactions'!$G:$G,$K6,'[BladeCurrentLive.xlsm]Table-Transactions'!$C:$C,">="&$C$2,'[BladeCurrentLive.xlsm]Table-Transactions'!$C:$C,"<="&$C$3)

    in L6 coped across and down. I had to add Cat in the yellow shaded cell to prevent a pile of errors.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    11-25-2020
    Location
    Tauranga NZ
    MS-Off Ver
    2007
    Posts
    27

    Re: sumproduct ignoring new data

    Thanks Glenn - that was quick - haven't tried it as yet'
    Shouldn't need 'Cat' in 'shaded cell' table is simple data & sumproduct should easily handle the multiple criteria - are you able to suggest any reasons for it not working? do I need to send more info/data?
    I really would like to get to the bottom of this.
    cheers
    Chris

  4. #4
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: sumproduct ignoring new data

    Chris, not sure if you're trying to resolve a #VALUE! error or something else -- I get a #VALUE! error and this is because some of your "summation" range holds null strings, rather than blanks, which can't be coerced (via *)

    So, modifying your formula per below (red) and applying to matrix - returns results:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I am assuming you're opting for SUMPRODUCT on grounds that the source file may, at times, be closed?

    If, conversely, you're saying you physically insert a new row 7 when adding data then the above formula will ignore the new row (and shift to row 8 etc)

  5. #5
    Registered User
    Join Date
    11-25-2020
    Location
    Tauranga NZ
    MS-Off Ver
    2007
    Posts
    27

    Re: sumproduct ignoring new data

    Hi Xlent - many thanks for your suggestions - yes source file often closed. A new row is inserted in the table by macro from a data capture screen after many checks are made for accuracy of input. The table data is shifted down with a line insert & the formatting only is copied to the new inserted line - not all columns of this new line may be filled - it may be these 'empty' fields (that are holding null values as u suggest) causing the problem. The formulae in the 'Trap Report' referencing the range are absolute so don't increment (ie: $P$7 ) - also I am not getting any error messages at all. Will try a little routine to 'clear contents' of those 'blank cells' after writing new data to line 7 which should leave formatting in place - see if that resolves the issue - thanks again - cheers Chris

+ 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] Data Cleanup - ignoring blanks, ignoring rows with string values etc.
    By Huyaku in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2015, 08:17 AM
  2. Sum data ignoring text using the sumproduct with logic
    By Larry.LeBlanc@O in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-26-2014, 10:45 AM
  3. ignoring non-numerical values in sumproduct and transpose
    By truedogz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-16-2014, 02:27 AM
  4. [SOLVED] Ignoring errors in sumproduct/lookup formulas
    By dipique in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-03-2013, 12:27 PM
  5. Sumproduct ignoring 0 values
    By Sinnie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-29-2013, 10:04 AM
  6. Sumproduct for multiple arrays, ignoring zeros
    By snoproladd in forum Excel General
    Replies: 2
    Last Post: 02-21-2012, 04:46 PM
  7. Ignoring text and errors with Sumproduct
    By SteveC in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2006, 02:10 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