+ Reply to Thread
Results 1 to 2 of 2

Excel Table Autofill Formula

  1. #1
    Registered User
    Join Date
    10-13-2009
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    75

    Excel Table Autofill Formula

    Hello,

    I have an Excel table that I've used for weeks now with no problems. Now, however, the autofill of one specific formula is acting strangely and I'm really not sure what is causing it. All of the other formulas are updating and referencing correctly. The weird behavior is that as the next row populates, the reference location is either becoming locked or it completely skips the reference and moves to the next. For instance:

    =COUNTIF($G$2:G4647,G4647)=1
    =COUNTIF($G$2:G4648,G4648)=1
    =COUNTIF($G$2:G4650,G4649)=1
    =COUNTIF($G$2:G4650,G4650)=1

    The super strange thing is that if I add another row and do absolutely nothing else, the problem formula updates and the formulas look like this!

    =COUNTIF($G$2:G4647,G4647)=1
    =COUNTIF($G$2:G4648,G4648)=1
    =COUNTIF($G$2:G4651,G4649)=1
    =COUNTIF($G$2:G4651,G4650)=1
    =COUNTIF($G$2:G4651,G4651)=1

    Additionally, it goes back and randomly messes up other formulas that were correct.
    =COUNTIF($G$2:G4651,G4621)=1
    =COUNTIF($G$2:G4651,G4622)=1
    =COUNTIF($G$2:G4651,G4623)=1
    =COUNTIF($G$2:G4651,G4629)=1

    I verified that all other formulas in the row are consistent. Has anyone ever seen this before and have a workaround? I am ready to just use vba to fill down everytime a new row is added but would like to figure out the problem rather than bandaiding it.

    Thanks!

    Edit: The only thing different about this formula than the rest is that the range contains an absolute reference and relative reference. I found that if I changed the entire range to relative that the bug goes away. But this makes the formula useless.
    Last edited by thesonofdarwin; 02-15-2017 at 01:47 PM.

  2. #2
    Registered User
    Join Date
    10-13-2009
    Location
    PA
    MS-Off Ver
    Excel 2007
    Posts
    75

    Re: Excel Table Autofill Formula

    I appear to have fixed it by converting to structured table references. I changed the formula as follows:


    =COUNTIF(INDEX(Table2[[#Data],[ColG]],1):[@ColG],[ColG])=1

    I would still like any insight as to what may have caused the table to start acting unpredictably like that.

+ 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: 8
    Last Post: 09-12-2016, 10:01 AM
  2. Excel autofill and formula function
    By ronlau123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-03-2014, 10:55 PM
  3. [SOLVED] Excel Autofill Formula
    By marcimarc in forum Excel General
    Replies: 6
    Last Post: 12-26-2013, 05:50 AM
  4. Autofill a formula in excel macro
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-24-2013, 05:26 AM
  5. Replies: 4
    Last Post: 06-26-2012, 09:11 AM
  6. Autofill Formula Using Table Headers
    By ops_manager in forum Excel General
    Replies: 2
    Last Post: 06-13-2012, 04:13 PM
  7. Help on Excel Formula to AutoFill Details
    By newbie1234 in forum Excel General
    Replies: 4
    Last Post: 01-18-2011, 12:37 PM
  8. Excel formula for autofill information
    By blitzz008 in forum Excel General
    Replies: 0
    Last Post: 04-20-2006, 12:51 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