+ Reply to Thread
Results 1 to 6 of 6

Vlookup to another workbook file size

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Vlookup to another workbook file size

    Hi i have a 20kb workbook,

    i need to vlookup into another workbook, however this workbook is 27mb (with A-F, 500,000 rows)
    when i put my vlookup in the 20kb workbook,the file size jumps up too 27mb

    anyway way to stop this?

    =VLOOKUP(D4,'Account List.xlsm'!$A$1:$F$548222,2,FALSE)

    many thanks

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup to another workbook file size

    Quote Originally Posted by papasmurfuo9 View Post

    =VLOOKUP(D4,'Account List.xlsm'!$A$1:$F$548222,2,FALSE)
    Don't know if this will make any difference or not...

    The lookup table is 6 columns wide but you only need to reference 2 since you're pulling the result from column B.

    =VLOOKUP(D4,'Account List.xlsm'!$A$1:$B$548222,2,0)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Vlookup to another workbook file size

    thanks for the reply, it helps, but not majorly, im not at 16mb, any other suggestions?
    thanks

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup to another workbook file size

    See if this makes a difference:

    =INDEX('Account List.xlsm'!$B$1:$B$548222,MATCH(D4,'Account List.xlsm'!$A$1:$A$548222,0))

  5. #5
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Vlookup to another workbook file size

    thank you
    its 9MB now. getting there

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup to another workbook file size

    Another thing that can adversely effect file size is the used range.

    See this:

    http://www.contextures.com/xlfaqApp.html#Unused

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. reduce file size by using if and vlookup
    By mattmorris in forum Excel General
    Replies: 5
    Last Post: 08-03-2012, 05:25 AM
  2. File Size: SUMIFS or VLOOKUP
    By GreatLakesJK in forum Excel General
    Replies: 4
    Last Post: 02-08-2011, 11:56 AM
  3. Vlookup and file size
    By Alex532 in forum Excel General
    Replies: 6
    Last Post: 12-19-2005, 06:08 PM
  4. VLOOKUP blows up file size
    By BlueTill in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-14-2005, 08:54 AM
  5. Controlling Workbook File Size?
    By Mark in forum Excel General
    Replies: 1
    Last Post: 03-29-2005, 04:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1