+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : Crash when saving after vlookup

  1. #1
    Registered User
    Join Date
    03-06-2009
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Crash when saving after vlookup

    I'm trying to solve an issue for a user where they are performing a vlookup and the wookbook crashes when saving AFTER the vlookup calculation is performed. The spreadsheet is very large (70K+ rows) and the wookbook it is linking to for the lookup is bigger again (900K+ rows). It doesn't matter whether I calculate for 1 row or the whole spreadsheet, it still hangs when trying to save (there is no error message). The formula i'm using is

    =VLOOKUP(B2,'[code listing.xlsx]Sheet1'!$B$1:$C$900000,2,FALSE)

    Sheet looks like this:


    | A | B |C | D | E | F | G|H| I |
    1| - |projserial | -| - | - | - | - | -|Allocation |
    2| - | 220002 |- | - | - | - | - | -|derived price/gain
    3| - | 220002 |- | - | - | - | - |- |derived price/gain
    4| - | 260021 |- | - | - | - | - |- |derived price cost+
    5| - | 100063 |- | - | - | - | - |- |lump sum
    6| - | 100063 |- | - | - | - | - |- |lump sum

    (The dashed fields have data in them but are not relevant to the lookup)

    The vlookup formula is in column I

    The "code listing" sheet that it is looking up is like this:

    | A | B | C |
    1| - | 100000 | lump sum |
    2| - | 100001 | lump sum |
    3| - | 100002 | lump sum |
    4| - | 100003 | lump sum |
    5| - | 100004 | lump sum |
    6| - | 100005 | lump sum |

    This continues on to 900K with different values in the C column.

    (Sorry about the drawings html takes all the spaces out!)

    I can't work out whether its an add-in problem (crashes on multiple machines) an invalid data entry (It would take me a long time to sort through 65K+ entries!). Is the formula correct? Can I use some sort of alternative that won't crash?

    Please help!

    Geoff

  2. #2
    Registered User
    Join Date
    03-06-2009
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Crash when saving after vlookup

    anybody? would it help if I posted the files in a zip archive?

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Crash when saving after vlookup

    Hi Geoff,
    it looks like a good idea, but don't post the entire fiel, just a sample will do

  4. #4
    Registered User
    Join Date
    03-06-2009
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Crash when saving after vlookup

    unfortunately this crash isnt reproduced when I only take a sample of the file. It seems to occur only with the full file. Would anybody be willing to take alook if I upload it to rapidshare?

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Crash when saving after vlookup

    Maybe it's long winded but you could try it out with 100 k rows, than 200, etc.. and see when it crashes
    If you can post a sample maybe some alternatives ( VBA f.i. ) can be found?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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