+ Reply to Thread
Results 1 to 5 of 5

Arrays referring to other file, cell converts to 'VALUE#!" when opened file ..

  1. #1
    Registered User
    Join Date
    07-06-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    73

    Arrays referring to other file, cell converts to 'VALUE#!" when opened file ..

    Hi..

    Required one help..

    I am preparing some report called Output.xls where I am using functions like sumif with array linked to cells of different files say Input1.xls etc..These Input files are having very large data base stored in different sheets.

    I can get the required answer in Output.xls as long as input data excel file i.e. Input1.xls remain open.

    When I open Output.xls alone, the field where I have used functions like sumif got converted to "#VALUE!"

    Is there any way by which I can open Output.xls without Opening Input1.xls ..but can get desired output linked to these files... I need to continue output file with formulas.

    I cannot copy the entire data in output file in different sheets to generate report...

    I am using Excel 2007 version. While closing of output.xls, excel pops with message about saving file in new format. Which format I need to save so as to get desired result without opening input files..

    Output.xls when Input.xls is open

    Cash Rs. Cheque Rs.
    10000 11000
    0 0
    0 0
    1000 2500
    3800 4700
    0 0

    Output.xls when Input.xls is closed

    #VALUE! #VALUE!
    #VALUE! #VALUE!
    #VALUE! #VALUE!
    #VALUE! #VALUE!
    #VALUE! #VALUE!
    #VALUE! #VALUE!


    Thanks and Regards,

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Arrays referring to other file, cell converts to 'VALUE#!" when opened file ..

    A number of functions (including SUMIF) don't work on closed sheets. However, if you can adapt the formula to be a combination of a SUM and an IF formula, it should work out perfectly.

    I should have added that SUMPRODUCT also works on closed sheets.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    07-06-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    73
    Quote Originally Posted by Glenn Kennedy View Post
    A number of functions (including SUMIF) don't work on closed sheets. However, if you can adapt the formula to be a combination of a SUM and an IF formula, it should work out perfectly.

    I should have added that SUMPRODUCT also works on closed sheets.

    Thanks a lot.. I will try to use SUMPRODUCT..

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Arrays referring to other file, cell converts to 'VALUE#!" when opened file ..

    If you hit problems - do report. However, in th emeantime, glad to have helped! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

  5. #5
    Registered User
    Join Date
    07-06-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    73

    Re: Arrays referring to other file, cell converts to 'VALUE#!" when opened file ..

    Thanks a lot.. I will try to use SUMPRODUCT..

+ 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. Replies: 1
    Last Post: 10-24-2014, 12:32 AM
  2. if data file is opened as read only, then the macro gives an "error" message
    By leeluquem in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2014, 11:13 PM
  3. Splash screen in file opened by VBA hinders further processing of opened file.
    By Rod38 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2012, 09:53 AM
  4. how to close a file opened with "Workbooks.Open Filename:=sWb"
    By ggremel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2011, 10:37 PM
  5. Transfert cell values from file "A" to file "B" skipping columns in file "B".
    By Sentrosi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-16-2009, 11:11 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