Auto-copy-down not working in Excel table

robw

Board Regular
Joined
Dec 18, 2002
Messages
161
Hi,
Has anyone any advice on this please....

As I understand it, when using tables (in Excel 2007 and beyond) hitting TAB when positioned on the bottom right cell of the table appends a new row to the table and automatically ""copies-down"" any formulae present in the columns of the table. This appears to work except for a column in which I have the following formula (taken from the bottom cell of the column) ; it does not auto-copy-down as expected , I merely get a blank cell in that column of the new row...and I end up having to copy down manually for that column.

=IF(COUNTA($B$3:B371)<
smooperiod/2,NA(),IF(B371=MAX(OFFSET(B371,-smooperiod/2,0,smooperiod,1)),B371,NA()))

As far as I can see it the column in question is in no way unusual wrt any other calculated column in my table for which auto-copy-down does work as expected.
Is it something to do with the formula itself ?(which BTW works as expected - it identifies local maximum points in a series)... Any thoughts guys?

Many thanks
Rob
 
Last edited:

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi Rob,
I checked your formula and the auto-fill worked just fine, so I think that you could re create the table just to see if the table is broken, I also when testing your formula I broke a table and instead of =IF(COUNTA($B$3:B371)... a previous version of the formula filled in, so I guess tables can be broken regarding auto-fill formulas.
And when things are broken, delete and recreate could solve the problem.
So you could try to convert the table to a range and then create the table again.
Cheers
Sergio
 
Upvote 0
Thanks Sergio,
I did just as you suggested .... and the problem simply went away (!?) .... some magic dust from the Excel fairy I suspect .
Anyway, many thanks for your interest and input....much appreciated.
Cheers
Rob
 
Upvote 0

Forum statistics

Threads
1,226,698
Messages
6,192,516
Members
453,731
Latest member
Qiaoyu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top