imimin
Active Member
- Joined
- May 9, 2006
- Messages
- 404
Hello!
How could I change the following VLOOKUP to set the range so it will stop on the last row that has data (instead of using the range $A$2:$A$10000) AND so it will auto populate that range? Is that EVEN possible? I guess that would be a macro?
Thanks for the help!
How could I change the following VLOOKUP to set the range so it will stop on the last row that has data (instead of using the range $A$2:$A$10000) AND so it will auto populate that range? Is that EVEN possible? I guess that would be a macro?
Code:
=IF(COUNTIF(Sheet2!$A$2:$A$10000,A2),VLOOKUP(A2,Sheet2!$A$2:$B$10000,2,FALSE),"")
Thanks for the help!