ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Last Row in Formula (https://www.excelbanter.com/excel-programming/398272-last-row-formula.html)

Steve[_4_]

Last Row in Formula
 
Hi everyone. I have a workbook with lots and lots of Vlookup formulas
that reference a data sheet inside a different workbook. Periodically
I update the data sheet, and therefore thenumber of rows of data
changes. Is there a way to have the Vlookups automatically know what
row to go to in the data sheet? Can the formula include a "lastrow"
criteria instead of stating an actual number? Maybe a UDF?


Bob Phillips

Last Row in Formula
 
Use dynamic ranges, http://www.contextures.com/xlNames01.html#Dynamic

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Steve" wrote in message
oups.com...
Hi everyone. I have a workbook with lots and lots of Vlookup formulas
that reference a data sheet inside a different workbook. Periodically
I update the data sheet, and therefore thenumber of rows of data
changes. Is there a way to have the Vlookups automatically know what
row to go to in the data sheet? Can the formula include a "lastrow"
criteria instead of stating an actual number? Maybe a UDF?





All times are GMT +1. The time now is 05:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com