+ Reply to Thread
Results 1 to 7 of 7

#VALUE! Error from one version to another (without any structure or content change)

  1. #1
    Registered User
    Join Date
    09-02-2015
    Location
    Erlangen, Germany
    MS-Off Ver
    2007 and 2010
    Posts
    3

    #VALUE! Error from one version to another (without any structure or content change)

    Hello all,

    Ok, in my company there's an Excel time record sheet which we must use to record our time utilization per month (this time utilization is assigned to different projects, depending what specifically each one of us is working on).

    This file was not created by me, the colleague who created it left a couple of years ago and I have been responsible for its maintenance since then.

    This is a German company. The original file was created with an Excel German version. However, the displayed texts in the Excel sheet are in English (is the company's official language), for instance, "Reason of absence", "Task Description" and so. I don't know if this information is relevant, but just in case, I provide it.

    Some of my colleagues have migrated their Microsoft Office versions from 2007 to 2010. The original file was created in the 97-2003 Version, but has had no problems to be opened in the 2007 version (however, it has to be saved specifically in the 97-2003 version to keep all its characteristics).

    The specific problem is that, without modifying at all the file, once I want to open it in the 2010 Version, I get a huge amount of #VALUE! error messages (literally, almost all formulas in the Workbook have references to another place WITHIN THE SAME FILE). I have tried to open these same files in the Excel 2007 Version and I haven't had any problem. My first thought is that this is a adapting-Settings issue in the 2010 Version.

    Does anyone have an idea?

    Im Voraus, vielen Dank!

    Luis

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: #VALUE! Error from one version to another (without any structure or content change)

    Are there any macro in the spreadsheet?

    Also, did you try converting the file in 2007 to 2007 version (xlsx/xlsm/xlsb) and reopening it in 2010?

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: #VALUE! Error from one version to another (without any structure or content change)

    Welcome to the forum

    What are some of the formulas being used here?

    I have a file with a bunch of sample forumlas that I have gathered over the years, the file started in 2003, went to 2007, then 2010 and now to 2013, have not found any conflicts
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    09-02-2015
    Location
    Erlangen, Germany
    MS-Off Ver
    2007 and 2010
    Posts
    3

    Re: #VALUE! Error from one version to another (without any structure or content change)

    Thans quekbc, these are my answers to your questions:

    1) Yes, there are macros in the spreadsheet. I just select the "activate macros" option when I'm prompted to do so (by opening the file).
    2) Yes. I tried. But the result is still the same.

  5. #5
    Registered User
    Join Date
    09-02-2015
    Location
    Erlangen, Germany
    MS-Off Ver
    2007 and 2010
    Posts
    3

    Lightbulb Re: #VALUE! Error from one version to another (without any structure or content change)

    I'm attaching an example of this aforementioned file...by itself, is a compendium of Excel formulas

    WORKTIME_BEISPIEL_2015_KW01.xls

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: #VALUE! Error from one version to another (without any structure or content change)

    wow that sure is a mess

    1 problem I see if in B13 of your month sheets. You have this formula...
    =VALUE("1. "&E6&" "&G6)
    which looks like it is supposed to be returning a date? without the VALUE, it returns "1. Januar 2015", which I can see no possible way of converting to a date just like it is.
    Changing that to 1/1/15 removes a LOT of errors fro that sheet

    Anothetr problem I see - and not sure if the german translation will fix this - your formulas seem to be looking for English month names for the sheets, but the sheet names appear to be in german format?
    Sheet name = Januar
    sheet reference name = january
    If it cannot find the sheet name, it will wrror

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: #VALUE! Error from one version to another (without any structure or content change)

    looking at those formulas in sheet1 that are giving an error...
    =SUMIF(OFFSET(INDIRECT(ADDRESS(13,8,1,TRUE,E$7)),0,0,95),$C10,OFFSET(INDIRECT(ADDRESS(13,7,1,TRUE,E$7)),0,0,95))

    I adjusted that to look for teh actual sheet name (this ONLY works for 6-letter sheet names), and came up with this...
    =SUMIF(INDIRECT(LEFT(TEXT(E$6,"mmmm"),6)&"!H13:H105"),$C10,INDIRECT(LEFT(TEXT(E$6,"mmmm"),6)&"!G13:G105"))
    This also eliminates the need for the hidden formulas in row 7

    If you use actual (english?) sheet names that match the month names, you can shorten that to this...
    =SUMIF(INDIRECT(TEXT(E$6,"mmmm")&"!H13:H105"),$C10,INDIRECT(TEXT(E$6,"mmmm")&"!G13:G105"))

+ 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. [SOLVED] Modify code instead equal content change to specified content
    By elmnas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-28-2015, 07:55 AM
  2. MDAC version and ADO version (Run-Time error '430')
    By ccs1981 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2014, 01:48 AM
  3. Replies: 1
    Last Post: 06-11-2014, 10:12 PM
  4. Change content of one cell based on content of another
    By FloraLina in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-24-2014, 08:34 AM
  5. Change content of one cell based on content of another
    By stlellen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2014, 03:26 PM
  6. VBA to change structure of excel file
    By Jedgroev in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-21-2012, 09:13 AM
  7. Change ws3 Cell Content Depending On ws1 Content
    By heliskier89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2011, 04:52 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