+ Reply to Thread
Results 1 to 7 of 7

Strange formula behaviour in table

  1. #1
    Registered User
    Join Date
    08-16-2017
    Location
    Europe
    MS-Off Ver
    2016
    Posts
    4

    Strange formula behaviour in table

    I have a table with a number of columns that contain formulas, and some that do not.
    Some of the columns use an INDEX MATCH construction.
    Recently, the table started behaving very oddly: When I add a new table row by writing just under the last row, in the new row one of the columns with INDEX MATCH copied the formula to the two cells to the left (which contained only data validation - one using a list referring to a named range, the other an INDIRECT function). Only one of the INDEX MATCH columns behaved strangely, the others behaved normally.

    Apart from the fact that the formulas were unwanted in the cells, it created a circular reference which Excel of course did not like.

    After spending a long time troubleshooting I finally turned the table into a range and back into a table which seems to have solved the problem.

    I am, however, curious as to what may have caused this. Any suggestions?

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Strange formula behaviour in table

    My imediate reaction was that this was caused inadverently by the user
    - Excel Tables are very clever
    - BUT if the user changes a cell in the table, that affects future table behaviour
    - that would give you the "symptoms" you descibe

    However:
    - I have manualy replicated what happened to your table
    - it is easy to drag (last row)cells with formulas to unwanted cells and thereby cause the circular reference
    - future table behaviour is changed
    - new rows added with table exhibiting "new" behaiour
    - but I always get a warning "There is aready data here. do you want to replace it"

    Using VBA with Application.DisplayAlerts = False
    - your problem could be replicated and the warning message did not appear
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    08-16-2017
    Location
    Europe
    MS-Off Ver
    2016
    Posts
    4

    Re: Strange formula behaviour in table

    Thanks for the reply.
    A few points of clarification:
    The table is three rows + headers
    The offending formula was in column I. It was in neither G or H (I checked all rows).
    A similar formula was in columns E and F. These did not pose a problem.
    I expanded the table by writing text in A5 just under the table, after which the formula in column I was replicated to I5 but also G5 and H5 (not higher rows in G and H)

    There is no VBA or macros in the workbook.

    Regards

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Strange formula behaviour in table

    It would be easier to comment if you uploaded the workbook
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    08-16-2017
    Location
    Europe
    MS-Off Ver
    2016
    Posts
    4

    Re: Strange formula behaviour in table

    TBM Budget test version.xlsx

    Here is the workbook - see the "Actuals" sheet.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Strange formula behaviour in table

    Is it possible that a range of cells from one of the rows was copied and accidentally pasted to a cell immediately underneath the table that was offset one column to the right?

  7. #7
    Registered User
    Join Date
    08-16-2017
    Location
    Europe
    MS-Off Ver
    2016
    Posts
    4

    Re: Strange formula behaviour in table

    Well - if you delete row 5 and start a new row row 5 by typing some text in A5 I think you will see the error again.

+ 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] strange behaviour from vba
    By harryv27 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-14-2016, 04:50 AM
  2. Strange formula behaviour, works one day but not the next?
    By tailz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-29-2013, 04:08 AM
  3. Strange Behaviour
    By Mark@Work in forum Excel General
    Replies: 2
    Last Post: 09-30-2008, 12:22 PM
  4. Strange cell behaviour
    By Portuga in forum Excel General
    Replies: 3
    Last Post: 02-28-2008, 10:03 AM
  5. [SOLVED] Strange if(***) behaviour?
    By Excel 2003 - SPB in forum Excel General
    Replies: 6
    Last Post: 08-06-2006, 12:35 PM
  6. [SOLVED] Strange VBA Behaviour
    By Ricko in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2005, 03:05 AM
  7. [SOLVED] Strange behaviour
    By Edgar Thoemmes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2005, 12:06 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