+ Reply to Thread
Results 1 to 2 of 2

COUNTIFS giving error when a cell contains over 255 characters.

  1. #1
    Forum Contributor
    Join Date
    03-18-2013
    Location
    Bulgaria
    MS-Off Ver
    Excel 2010
    Posts
    139

    COUNTIFS giving error when a cell contains over 255 characters.

    Hi Guys,

    I have two tables and I am trying to match if each row from the Source table is present on another table on DATA sheet, based on whether the same user, at the same time, run the same SQL Query

    Source table
    A| B| C
    date| user| SQL Query

    Data Table
    A| F| J
    Date| User| SQL Query

    I am using the COUNTIFS formula on Row D2:

    Please Login or Register  to view this content.
    However the SQL Query column cells contain more than 255 characters, and COUNTIFS gives an error. I read that SUMPRODUCT could be used instead but couldnt figure out how to use it properly.

    Do you guys have any idea how to solve this? I will appreciate it very much!
    Last edited by dreddster; 10-30-2017 at 11:41 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: COUNTIFS giving error when a cell contains over 255 characters.

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Giving certain characters a value and then adding them up
    By Davidian in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-02-2015, 06:18 PM
  2. CountIfs write formula in cell error
    By bmxrayser in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2015, 12:25 AM
  3. 'While' function inside of error handler giving an error/failing
    By dnwadams in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-23-2015, 12:18 AM
  4. [SOLVED] Writing formulas in VBA giving an Error application defined error?
    By malleat1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2015, 12:00 PM
  5. [SOLVED] Countifs with dynamic criteria and wildcard characters
    By aamehta24 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2013, 08:39 PM
  6. [SOLVED] Range error in code, runs alone but not inside my full program, giving runtime error 1004
    By charizzardd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-23-2012, 03:34 PM
  7. [SOLVED] "if, IsError,Cell & Formulas";giving error message when cell is #R
    By coco in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-07-2005, 11:05 AM

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