简体   繁体   English

Excel-超过50万行的Vlookup公式-如何加快速度?

[英]Excel - Vlookup formula for over 500k rows - how to speed this up?

I'm new to this forum and need your help. 我是这个论坛的新手,需要您的帮助。

I have a few tables on my report with over 500k rows in each and need to perform multiple vlookups. 我的报表中有几张表,每张表中有超过50万行,并且需要执行多个vlookup。 With the below vlookup formula it takes me forever to do so (I need to do it for the last few years, monthly). 使用下面的vlookup公式,我花了很多时间去做(最近几年,我需要每月做一次)。

My formula is as below: 我的公式如下:

=VLOOKUP(A:A,'Oct Corrected'!A:C,2,0)

How can I speed these calculations up? 如何加快这些计算? Can I use any different formula instead? 我可以改用其他公式吗?

Thanks guys! 多谢你们!

Try to use macro then add like this 尝试使用宏,然后像这样添加

Application.ScreenUpdating = False
Application.WorksheetFunction.VLookup(A:A,'Oct Corrected'!A:C,2,0)
Application.ScreenUpdating = True

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM