+ Reply to Thread
Results 1 to 15 of 15

Excel(2016) 32768th row limit

  1. #1
    Registered User
    Join Date
    08-15-2017
    Location
    Oxford, England
    MS-Off Ver
    2016
    Posts
    5

    Excel(2016) 32768th row limit

    Hey guys,

    Do anyone know how to overcome Excel 2016's 32768th row barrier? I am using macro and trying to filter cells/rows with background colour. My formula should return true or false but after 32768th row it is returning #NUM!. I have at least 100,000 rows in my spreadsheet.

    Thanks!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel(2016) 32768th row limit

    here is: https://support.office.com/en-us/art...7-269d656771c3

  3. #3
    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,099

    Re: Excel(2016) 32768th row limit

    There are 1,048,576 rows in Excel 2016. The figure you quoted is the maximum number of characters per cell, I think.
    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

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel(2016) 32768th row limit

    Unless you're working with a book in Compatibility Mode (look at the title bar of the book)

    Can you post the formula?
    Better yet, attach the book.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Excel(2016) 32768th row limit

    Change any variables declared as Integer to Long.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    08-15-2017
    Location
    Oxford, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Excel(2016) 32768th row limit

    No mate, it is the "Length for a relational PivotTable string" i think.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Excel(2016) 32768th row limit

    Dang, we should have guessed that from the information you provided ...

  8. #8
    Registered User
    Join Date
    08-15-2017
    Location
    Oxford, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Excel(2016) 32768th row limit

    I am trying to learn. I must say I am a biomedical scientist and not an expert in Excel.

    I will take your comment as your way to help me
    Have a good day Sandy.

  9. #9
    Registered User
    Join Date
    08-15-2017
    Location
    Oxford, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Excel(2016) 32768th row limit

    Capture.PNG

    so i have this module:

    Funtion Cellcolour(Irow as Integer, Icol as Integer) as Long
    Cellcolour = Cells(Irow, Icol).Integer.Colourindex
    End Function


    then in the formula bar for the column:
    = If(Cellcolour(32768,2) = 20, "True", "Irrelevant")


    it worked on the previous rows before 32768...

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel(2016) 32768th row limit

    The link is the basis, the conclusions depend on you

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel(2016) 32768th row limit

    Attach a sample workbook (not a picture!). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  12. #12
    Registered User
    Join Date
    08-15-2017
    Location
    Oxford, England
    MS-Off Ver
    2016
    Posts
    5

    Re: Excel(2016) 32768th row limit

    Quote Originally Posted by Jonmo1 View Post
    Unless you're working with a book in Compatibility Mode (look at the title bar of the book)

    Can you post the formula?
    Better yet, attach the book.
    It is the Microsoft Excel Macro-Enabled Worksheet and I am using the latest 2016 Office.

  13. #13
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel(2016) 32768th row limit

    As suggested earlier by shg try using Long instead of Integer.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  14. #14
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel(2016) 32768th row limit

    Change your varibales from Integer to Long, as suggested in post #5.

  15. #15
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Excel(2016) 32768th row limit

    and I am using the latest 2016 Office.
    The version you are using doesn't impact whether you're in compatibility mode or not.
    What matters, is which version the file you're working with was saved as.

    Using 2016, opening a file saved in XL97-2003 format = compatibility mode.

+ 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: 23
    Last Post: 01-03-2022, 10:45 AM
  2. Replies: 0
    Last Post: 07-05-2017, 09:03 PM
  3. [SOLVED] need help with IF in excel 2016
    By techmaster29729 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-18-2017, 01:41 AM
  4. [SOLVED] VBA and Excel 2016
    By Saturn in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-06-2016, 12:35 PM
  5. export limit - excel 2016
    By helloexcel1 in forum Excel General
    Replies: 4
    Last Post: 06-29-2016, 01:03 PM
  6. Replies: 2
    Last Post: 05-24-2016, 10:43 PM
  7. Excel 2016 & beyond!
    By jewelsharma in forum The Water Cooler
    Replies: 6
    Last Post: 01-10-2016, 05:53 AM

Tags for this Thread

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