+ Reply to Thread
Results 1 to 4 of 4

Anyway to increase number of countable lines?

  1. #1
    Registered User
    Join Date
    06-06-2007
    Posts
    7

    Anyway to increase number of countable lines?

    Hi All,

    I am using a formula very similar to this:

    =SUMPRODUCT((TEXT(A2:A10,"mmyyyy")=TEXT(TODAY(),"mmyyyy"))*(B2:B10="Name"))

    Just the ranges and Name are different. This issue I have is that this formula will only count upto 22521 lines before returning #N/A instead of the value. I currently have 22521 lines to count through Is there something I can do similar, that will count all the lines I have?

    Thanks


    Jaspa.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Anyway to increase number of countable lines?

    is there a value in the range you are using that is #/n/a, this will cause the formula to error, the easiest way is to eliminate this

  3. #3
    Registered User
    Join Date
    06-06-2007
    Posts
    7

    Re: Anyway to increase number of countable lines?

    Quote Originally Posted by davsth View Post
    is there a value in the range you are using that is #/n/a, this will cause the formula to error, the easiest way is to eliminate this
    Thanks davsth, Thats exactly what the problem is. I'll go try fix it!

    Help much appreiated.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Anyway to increase number of countable lines?

    Try:

    =COUNTIFS(A2:A10,">"&EOMONTH(TODAY(),-1),A2:A10,"<="&EOMONTH(TODAY(),0),B2:B10,"Name")

+ 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. Replies: 1
    Last Post: 12-06-2017, 11:04 PM
  2. How to increase or decrease new lines in invoice
    By ImranBhatti in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2017, 02:15 AM
  3. Macro on 2500 lines - looking to increase speed by defining variables?
    By Londonbound in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2016, 09:59 AM
  4. Replies: 1
    Last Post: 11-09-2012, 06:37 AM
  5. Replies: 3
    Last Post: 09-18-2012, 01:01 AM
  6. [SOLVED] Insert blank lines to make the total number of lines 67
    By raghuprabhu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2012, 07:34 AM
  7. [SOLVED] how to increase size of diagram lines?
    By Christoph Strobelt [Bt] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2005, 05: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