Adjusting table range modifies ROWS formula

Jimithy

New Member
Joined
Apr 5, 2018
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm using a ROWS function to list the rows of a table with integers 1 through the rest of the table (Using the method for the "Helper 1" column found at this link:
https://trumpexcel.com/extract-data-...rop-down-list/). It generally works fine, but the problem arises when I try adjusting the range of the table to add more rows, be it manually, by the Insert command, or by VBA script.

Basically, the formula in whichever cell was in the last row changes to match whatever the new last row becomes. I can't seem to figure out how to get Excel to not do this. Here's a few screenshots to illustrate the issue: https://imgur.com/a/GlyUt

I should note that I'm using Excel 2010. Thanks for any assistance.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Welcome to the Forum!

Perhaps: =ROW([@Column1])-ROW(Table1[[#Headers],[Column1]])
 
Upvote 0
Solution

Forum statistics

Threads
1,214,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

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