In excel I am using the VLOOKUP command to return a row of data from another workbook pertaining to the name (in the cell of the current workbook) being looked up. However, the data spreadsheet in the other workbook which the VLOOKUP command looks in is a growing spreadsheet. How can I get the range in the VLOOKUP command to automatically cover the whole spreadsheet of data? Here is the command that I am using: =VLOOKUP($E11,[PERSONAL.XLS]Sheet1!$C$5:$N$45,3,FALSE). If the range is previously $C$5:$N$45, then I add two more lines of data in the PERSONAL workbook, how can I get the range to automatically change to $C$5:$N$47? Thanks and look forward to the responce.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
using VLOOKUP command (2000)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » using VLOOKUP command (2000)
- This topic has 8 replies, 6 voices, and was last updated 22 years, 3 months ago.
AuthorTopicWSfrogmand
AskWoody LoungerMarch 19, 2003 at 12:41 pm #384952Viewing 2 reply threadsAuthorReplies-
H. Legare Coleman
AskWoody Plus -
WSfrogmand
AskWoody LoungerMarch 19, 2003 at 2:45 pm #662290I thought about that, but I realized that this spreadsheet will be huge – continually expanding in columns and rows. I would just select the whole spreadsheet as a range to feel a little better – but the spreadsheet is infinite (or isn’t it?). Anyway, I’ll do just that (select a massive area in the spreadsheet), and I’ll see how it turns out. I’m sure it’ll be find. Thanks.
-
WSitshimagain
AskWoody LoungerMarch 19, 2003 at 3:20 pm #662298Glad this thread has appeared, as I’ve recently come across a problem with this function (or me, or excel, both 97 and 2000)
I have a biggish (~3MB) file containing formulae like this
=IF($B$6=””,””,VLOOKUP($B$6,excumas!$E$25:$K$524,2)), where it looks up data from a range on a sheet called excumas.
The second column – the one I want – I want contains folks’ names.
It all works swimmingly for a value of B6 up to 333, but beyond that returns the value zero – that is, number zero.
Similarly other fields corresponding to values of B6 over 333 (which happen to be numbers, anyway.)
There’s nothing wrong or odd about the data in the looked-up list.
This is annoying and dangerous.
Is excel getting ‘tired’, are there limits to the size of a looked-up list, what’s the workaround?
Thanks! -
WSsdckapr
AskWoody LoungerMarch 19, 2003 at 4:19 pm #662311Is the range
excumas!$E$25:$K$524
sorted in ascending order?
If it is NOT, you might not get the answer you want, since the search does NOT look at all entries. This VLOOKUP you have also does NOT just give EXACT matches, it will find “approximate” matches.If you want an exact match, and the data in any order, then use:
=IF($B$6=””,””,VLOOKUP($B$6,excumas!$E$25:$K$524,2,false))Steve
-
WSitshimagain
AskWoody LoungerMarch 24, 2003 at 10:08 am #663414Thanks very much, Steve.
The column concerned is in ascending order (they’re member numbers).
I’ve added the ‘false’ parameter (by zero, not false) to the formulas concerned, and hey, presto, they now work (on xl 2000) for all values of member number.
Can’t understand this, but some things don’t need to be understood if they work.
Will do same trick on xl 97 box at home and have every confidence…
-
-
-
WSSteveH
AskWoody Lounger
-
-
-
WSMikefromCanmore
AskWoody LoungerMarch 19, 2003 at 2:38 pm #662286Providing you insert the new data between rows 5 and 45, the lookup range will adjust itself even though you are using absolute references. One way of doing this is to leave the last defined row empty and then selecting that row and inserting the new rows. Alternatively use a range name and set up a simple macro to redefine the range name after additions are made to the end of the range.
-
WSsdckapr
AskWoody LoungerMarch 19, 2003 at 3:19 pm #662297Assuming there are no blank cells in C5 to C “end” you can create a dynamic range name with OFFSET:
Define a named range (insert – name define)
CountC
that refers to (no quotes):
“=COUNTA(Sheet1!$C:$C)-COUNTA(Sheet1!$C$1:$C$4)”
This will count the entries in Col C
Then create another named range:
LookupArray [or whatever you want to name it]
that refers to (no quotes)
“=OFFSET(Sheet1!$C$5,0,0,CountC,12)”This range will be [C5:Nx] where x will grow as new items are added to col C. As the items in C increases, the range will automatically expand.
Steve
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Very Quarrelsome Taskbar!
by
CWBillow
9 hours, 53 minutes ago -
Move OneNote Notebook OFF OneDrive and make it local
by
CWBillow
12 hours, 37 minutes ago -
Microsoft 365 to block file access via legacy auth protocols by default
by
Alex5723
1 hour, 23 minutes ago -
Is your battery draining?
by
Susan Bradley
1 hour, 17 minutes ago -
The 16-billion-record data breach that no one’s ever heard of
by
Alex5723
1 hour, 12 minutes ago -
Weasel Words Rule Too Many Data Breach Notifications
by
Nibbled To Death By Ducks
16 hours, 29 minutes ago -
Windows Command Prompt and Powershell will not open as Administrator
by
Gordski
34 minutes ago -
Intel Management Engine (Intel ME) Security Issue
by
PL1
46 minutes ago -
Old Geek Forced to Update. Buy a Win 11 PC? Yikes! How do I cope?
by
RonE22
36 minutes ago -
National scam day
by
Susan Bradley
19 minutes ago -
macOS Tahoe 26 the end of the road for Intel Macs, OCLP, Hackintosh
by
Alex5723
2 hours, 35 minutes ago -
Cyberattack on some Washington Post journalists’ email accounts
by
Bob99
1 day, 17 hours ago -
Tools to support internet discussions
by
Kathy Stevens
6 hours, 14 minutes ago -
How get Group Policy to allow specific Driver to download?
by
Tex265
1 day, 8 hours ago -
AI is good sometimes
by
Susan Bradley
2 days ago -
Mozilla quietly tests Perplexity AI as a New Firefox Search Option
by
Alex5723
1 day, 14 hours ago -
Perplexity Pro free for 12 mos for Samsung Galaxy phones
by
Patricia Grace
3 days, 1 hour ago -
June KB5060842 update broke DHCP server service
by
Alex5723
2 days, 23 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.06.02.123
by
Alex5723
3 days, 3 hours ago -
Excessive security alerts
by
WSSebastian42
1 day, 18 hours ago -
* CrystalDiskMark may shorten SSD/USB Memory life
by
Alex5723
3 days, 13 hours ago -
Ben’s excellent adventure with Linux
by
Ben Myers
3 hours, 17 minutes ago -
Seconds are back in Windows 10!
by
Susan Bradley
3 days ago -
WebBrowserPassView — Take inventory of your stored passwords
by
Deanna McElveen
1 day, 17 hours ago -
OS news from WWDC 2025
by
Will Fastie
1 day, 3 hours ago -
Need help with graphics…
by
WSBatBytes
2 days, 8 hours ago -
AMD : Out of Bounds (OOB) read vulnerability in TPM 2.0 CVE-2025-2884
by
Alex5723
4 days, 4 hours ago -
Totally remove or disable BitLocker
by
CWBillow
3 days, 3 hours ago -
Windows 10 gets 6 years of ESU?
by
n0ads
3 days, 6 hours ago -
Apple, Google stores still offer China-based VPNs, report says
by
Nibbled To Death By Ducks
4 days, 15 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.