Excel pulling information from another SpreadSheet (source) when (source) is closed

Hi,
I have been struggling with changing some fields in a SpreadSheet from COUNTIFS and SUMIFS to SUMPRODUCT as below:
=COUNTIFS('S:\Data\HQ\2014\Report.xlsx'!Table2[RFI Date],">="&B1,'S:\Data\HQ\2014\Report.xlsx'!Table2[RFI
Date],"<="&B2)
to
=SUMPRODUCT(('S:\Data\HQ\2014\Report.xlsx'!Table2[RFI Date]>=B1)*('S:\Data\HQ\2014\Report.xlsx'!Table2[RFI
Date]<=B2))
It still seems to require the source spreadsheet to be open.
Can somebody please advise is it possible to pull cell data from a closed source SpreadSheet without first opening it or using VBA?
Thanks,
Charles 

Hi,
If a formula that contains the SUMIF, SUMIFS, COUNTIF, COUNTIFS or COUNTBLANK functions may return the "#VALUE!" error when it contains the function refers to cells in a closed workbook and the cells are calculated.
To work around this behavior, use a combination of the SUM and IF functions together in an array formula.
Example:
SUMIF:
Instead of using a formula that is similar to the following:
=SUMIF([Source]Sheet1!$A$1:$A$8,"a",[Source]Sheet1!$B$1:$B$8)
use the following formula:
=SUM(IF([Source]Sheet1!$A$1:$A$8="a",[Source]Sheet1!$B$1:$B$8,0))
COUNTIF:
Instead of using a formula that is similar to the following:
=COUNTIF([Source]Sheet1!$A$1:$A$8,"a")
use the following formula:
=SUM(IF([Source]Sheet1!$A$1:$A$8="a",1,0))
Quote From:
http://support.microsoft.com/kb/260415/en-us
Regards,
George Zhao
TechNet Community Support

Similar Messages

  • How do I pull information from a master table to another table?

    This may be quite simple, but I'm missing something.  I want to pull information from my master table into a secondary table.  In the Master Table in Column A, I have a list of teams ("Team 1" through "Team 12"), then in Columns B through D I have information for each assignment given to each team.  I want to have a secondary table for each team that lists all of their assignments.  So, this is what I want:   if Column A says 'Team 1', then I want the secondary table to have the info from Columns B through D.
    Again, I'm sure it's simple, but I just can't figure it out.
    Thanks for any help.
    Mark

    Hi Mark,
    1)  But does this work if in the Master Table (which will be over 300 rows long) each team will show up 10-15 times over the course of the 300 rows randomly (hence the need to have sub-tables for each team...so it's easier for them to see what their tasks are).
    Your fellow Numbers enthusiasts in this forum will need more information to help you with that. You are on the right track though with the idea of many tables. Therein lies the power of Numbers.
    2)  I'm a bit confused by the formula.  With the "$A2" do I select the first column in the Master Table?  And can you break down the second part of the formula?  The "$A$2:$D$4,2,0"  Why would you have A2 and D4 in the same formula?  They are not in the same row.  And what's the 2,0 at the end?
    Breaking this question down:
    With the "$A2" do I select the first column in the Master Table? 
    No. The $ keeps the reference to Column A absolute (it won't change to B then C as you Fill Right in the Team Task Table.
    And can you break down the second part of the formula?  The "$A$2:$D$4,2,0"  Why would you have A2 and D4 in the same formula?  They are not in the same row.
    $A$2:$D$4 is the range of cells (a rectangle) where VLOOKUP will search (in my example) but not in your 300 row table!
    And what's the 2,0 at the end?
    The syntax of VLOOKUP is VLOOKUP(search-for, columns-range, return-column, close-match)
    The 2,0 at the end means "return column" is 2 (the second column of the range) and 0 means "Exact Match" - it won't find a close match. After Fill Right you will need to edit the formula in each Column to change "return column" to 3, then 4, then ...
    With a table selected, click on the Function Button in the Toolbar and choose Function Browser. I find that much more useful than the Help Menu. However (there is always a however in life) the Help Menu will show Numbers User Guide, and Formulas and Functions Help. Download them and read at your leisure. The first four chapters of the User Guide are well worth a read. Use other chapters as a reference when you need them.
    Regards,
    Ian.

  • Can I assign a task based on information from another column?

    For example:
    Let's say I have a column called "Question Type" and this column has multiple checkbox choice, those being:
         Math
         Science
         History
         English
         Other
    I want to allow users to be able to select multpile catagories for the question, like making one both math and science (which right now is completely possible)
    I then want another column that says who the problem is assigned to. Bob is good at math, Joe at science, Jill at histroy, Jenn at English, and Billy handles everything else.
    1) Is there a way that the task can be automatically assigned to my math expert Bob when I specify that the item I am adding is a math problem?
    2) If I make a problem both math and science, can the task be assigned to both Bob and Joe?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to assign a task based on information from another column.
    To assign task to multiple users, you need to:
    Create a workflow and add action: Start Approval Process.
    Click these user, select the Group, change One or a time(serial) to
    All at onec(paralle).
    Right click the action, select Properties, click ExpandGroups, change No to
    Yes.
    Then you can assign task to each member of the group.
    I recommend to follow the steps as below to achieve what you want:
    Create a custom list, add columns: Question Type(Choice); Assigned to(Person or Group).
    Create a workflow associated the list.
    Add conditions and action as below:
    Then the task can be automatically assigned to 123 when the item is a math problem.
    In addition, if you make a problem both math and science, the task can be assigned to both 456 and 789.
    You can add other conditions to satisfy all the requirements.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Portal's ability to pull information from foreign data stores?

    Besides gateways, what are other alternatives to allow Portal to pull
    information from foreign data stores?

    Outside of gateways, the main way is to write a web provider/portlet that directly access the data in the store and formats the result into portlet html.

  • TS3276 Cannot send emails in mountain lion from another wireless network, when are apple gong to fix this

    Cannot send emails in mountain lion from another wireless network, when are apple gong to fix this

    You might be able to set up the SMTP server settings in Mail to authenticate with a password. That may get the email through.
    In Mail Preferences, Accounts, select the account.
    Click on the Outgoing Mail Server (SMTP) popup menu and select Edit SMTP Server List
    Select the Server and then click the Advanced tab at the bottom.
    Select Password authentication and add your details.
    You might also want to set a custom port (even if it is one of the defaults)
    This solution is normally for an email provider that will not let you send outside of your ISP network, which most prevent. They also must support password authentication of the SMTP server.

  • Copy information from another application

    Hello Experts,
    I'm facing some issue, and I've tried a lot of approachs and still without a answer.
    There is two application, one of Sales and another of Production.
    After planned the Sales, based in the volume of sales, we project the production applying another measures.
    So, what I need is after planned Sales, copy the informations of volume, from Sales to Prodution, changing just one member, that is a master data.
    I've tried to use script logic, LOOKUP (script below), and use BADI with this [document|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0480970-894f-2d10-f9a5-d4b1160be203?QuickLink=index&overridelayout=true]. But the point is, that with this document, we start from the app source to the app destination, and what I'm looking for is the opposite.
    Well, if somebody could help me. Thank you a lot.

    Hi, thanks for your reply.
    Ok, let me explain better. What I need is this, in the source application we have this data.
    APP:SALES
    CATEGORY=PLAN1
    ENTITY=1000
    INPUTCURRENCY=NONE
    MATERIAL=E00000778
    TIME=2012.JAN
    UNIT=KG
    P_ACCT=0002
    SIGNNEDDATA=1050,000
    And I need to copy this values to another app, but, changing the P_ACCT and adding the CostCenter, like this:
    APP:PROD
    CATEGORY=PLAN1
    ENTITY=1000
    COSTCENTER=NONE ***
    INPUTCURRENCY=NONE
    MATERIAL=E00000778
    TIME=2012.JAN
    UNIT=KG
    P_ACCT=0012 ***
    SIGNNEDDATA=1050,000
    The script is the folowing. I'd done this based in some threads that I saw.
    //Production APP
    //Take informations from SALES
    *LOOKUP SALES
    *DIM SALES1:CATEGORY="PLAN1"
    *DIM SALES1:ENTITY = "1000"
    *DIM SALES1:INPUTCURRENCY = "NONE"
    *DIM SALES1:P_ACCT = "0002"
    *DIM SALES1:UNIT = "KG"
    *DIM SALES1:MATERIAL = "E00000778"
    *ENDLOOKUP
    *WHEN LOOKUP(SALES1)
         *IS > 0
                 *BEGIN
                   *REC(P_ACCT="0012",EXPRESSION=%VALUE%)
                 *END
            *NEXT
    *NEXT
    Thanks!
    Edited by: Lucas Gabriel Corrêa da Costa on Jan 6, 2012 12:45 PM

  • How do I stop my Macbook Air from transferring your information from another computer?

    Just purchased my Macbook Air. When I started it up, it asked if I wanted to tranfer information from my other computer. the first thing it started to download was the music and it suddenly froze when it had a 1hr and 46 mins left and now I can escape out of it. It is the only thing that is on my screen. I ended the transfer on my PC but it wont clear out on my Macbook Air. Is there a way to restart the computer so it will retry the tranfer without the music?

    Welcome to Apple Support Communities
    Hold the Power button until the Mac turns off, and turn it on again.
    Instead of transferring your files from another computer through the network, copy your data from your old PC or Mac to an external drive, connect the external drive to your MacBook Air and transfer your files

  • Saving Excel sheet information from webpage !

    Hi,
    I have one requirement in Dialog programming. When user clicks a button it open the excel sheet thru webpage link. Can I save that excel sheet information into internal table thru weblink automatically?
    I would greatly appreciate your inputs.
    Thanks
    Somi Reddy

    Hi Sonal,
    The below might not be the actual answer to your question,but it might help in giving some information .excelsheet to internal table.
    there are some more alternative other than the below coding,
    u2018KCD_EXCEL_OLE_TO_INT_CONVERTu2019
    and u2018ALSM_EXCEL_TO_INTERNAL_TABLEu2019 but the method below is by far the simplest method to use.
    This is a simple example program to get data from an excel :
    *: file and store it in an internal table. :
    *:u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026:
    REPORT zupload_excel_to_itab.
    TYPE-POOLS: truxs.
    PARAMETERS: p_file TYPE rlgrap-filename.
    TYPES: BEGIN OF t_datatab,
    col1(30) TYPE c,
    col2(30) TYPE c,
    col3(30) TYPE c,
    END OF t_datatab.
    DATA: it_datatab type standard table of t_datatab,
    wa_datatab type t_datatab.
    DATA: it_raw TYPE truxs_t_text_data.
    At selection screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CALL FUNCTION u2018F4_FILENAMEu2019
    EXPORTING
    field_name = u2018P_FILEu2019
    IMPORTING
    file_name = p_file.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    CALL FUNCTION u2018TEXT_CONVERT_XLS_TO_SAPu2019
    EXPORTING
    I_FIELD_SEPERATOR =
    i_line_header = u2018Xu2019
    i_tab_raw_data = it_raw u201D WORK TABLE
    i_filename = p_file
    TABLES
    i_tab_converted_data = it_datatab[] u201CACTUAL DATA
    EXCEPTIONS
    conversion_failed = 1
    OTHERS = 2.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    END-OF-SELECTION.
    END-OF-SELECTION.
    LOOP AT it_datatab INTO wa_datatab.
    WRITE:/ wa_datatab-col1,
    wa_datatab-col2,
    wa_datatab-col3.
    ENDLOOP.

  • BP telephone pulled out from another BP in CRM webui

    Dear Experts:
    When I created a bp through CRM webui 7.0, I maintained the general address info. and saved it. after that, I accessed the address details section by clicking on address assignment block in order to add the phone and email info. however, the  fields had been already filled with the phone and email info. from another BP which I have created right before this BP.  it should be blank before adding any data. It seems like the second BP's address detail view still pointed to that of the last BP I have created prior to this one.  However, if I logoff from webui and logon back, it is blank and looks right.   Is ther any advise?
    Thanks

    Hello,
    Perhaps you could check if the BSP component view BP_ADDR/StandardAddress has been enhanced in your system. If so, see if the getter for TELEPHONE of the model node for BuilStandardAddress is available.
    If this method has been enhanced, it is possible there is an error in the code. Possibly, casting the property access to an object of CL_CRM_BOL_ENTITY and calling the REREAD( ) method could solve your problem.
    Kind regards,
    Tom.

  • Pull Information from the Web

    Is there a way to set up a LiveCycle form, so that it will pull information directly from a web-based ordering system?
    Our salesmen have to enter information into the on-line ordering system and then fill out the contractual documents.  I would like to get it set up, so that the form will pull the customer information off of the ordering system, instead of the salesman having to re-enter the information.  Is this possible?  If so, what do I need to do to accomplish it?

    Since the user is using an online ordering system, I expect that the info is saved to a database.
    You will have three options to get the data from the database.
    1) Create a DSN and link the form directly to the OLEDB database using the DSN.
    2) Bind a schema to the form and generate the data from the DB in the form of XML and then render the PDF with the XML data. You ned to have workbench server software for this.
    3) Develop a webservice to retrieve the data and in your form, create a dataconnection using the webservice to get the data.
    For the options 1) and 3) above, you need to have the reader extensions server software to communicate with the database/ webservice.
    Hope this give some ideas to you..
    Thanks
    Srini

  • Reference cell from another spreadsheet

    In Numbers, is it still not possible to reference a cell from one spreadsheet to another spreadsheet? I know it's possible between sheets within a spreadsheet but it would be nice to "grab" info from a different spreadsheet.

    No way to know as noone here in the forums are Apple employees.  You can post your feedback and feature requests to Apple using the menu item "Numbers > Provide Numbers Feedback"

  • Pulling information from .sparse

    I was wondering if anyone could provide me with instructions or has knowledge of how to pull specific information from a full- time machine to Time Capsule backup. I have access to a backup that was finished six months ago and there are e-mails existing within the mail program that I would like to retrieve. However, I do not wish to replace any of the current programs, files that I have on my new hard drive. Is there a way for me to just recover the mail?
    Thank you in advance for your time and knowledge.

    Certainly -- that's what Time Machine is all about!
    See #15 in the Frequently Asked Questions *User Tip,* also at the top of this forum. There is special handling for Apple Mail, if that's what you were using. If you were using some other mail app, you'll need to know where to find it's data file(s).
    If these aren't your current backups, you may need to manually mount the sparse bundle (by opening the Time Capsule via the Finder and double-clicking it), and the +*Browse ...+* option to access them. See #17 in the FAQ Tip.

  • How do i add something to my firewall ask me password when somebody try to exchange information from another browser

    <pre><i>Locking duplicate thread.
    Please continue here: [[/questions/972954]]
    </i></pre>
    Hi,
    I have master password add-one because i don't like any body can access to my browser since last week i don't have any problem but after that one of my friend sync all my info from Mozilla to google chrome whit out access to my Mozilla so what should i do to fix this? do we have any add-one or something to warn me before this such things ?

    You should disable sync and change the password and the sync key to prevent more data to get synced.
    *https://support.mozilla.org/kb/ive-lost-my-phone-how-do-i-deactivate-sync
    *https://support.mozilla.org/kb/firefox-sync-troubleshooting-and-tips

  • Using a java program to fill in forms using information from a spreadsheet

    I had an idea to "automate" some data entry at work and need to know if my idea is feasible with Java. Here is the back story:
    I work on a research project and we have all of our contact data in an Excel spreadsheet (I know access may be better for this but for "political reasons" I just set it up in Excel). Every day we need to pay participants and this is done through a third party website. When the participant is new to this website we need to fill in all their personal information via a form on the webpage. Since we already have all their information stored in a spreadsheet, I was thinking we could create a little program that pulls the data from the excel sheet and inserts it into the form fields.
    Can this be done with a simple java program?
    Thank you for any help!

    peroija wrote:
    Can this be done with a simple java program?No.
    Can this be done with a java program?Yes. You could certainly have your page upload the spreadsheet to your server, and you could certainly have your server program attempt to extract the data from Excel using Apache POI or JExcel or something like that. But you have to be prepared for people to upload the wrong file, or the right file in which the users have chosen unusual date formats, and so on. You could make things easier by distributing a spreadsheet which is locked down so that the users can only enter the information in specific places and specific formats, but it looks like you have missed that opportunity too.

  • Error: unable to retrieve column information from the data source

    Hi,
    I am trying to set up a data flow task. The source is "SQL Command" which is
    a stored procedure. The proc has a few temp tables that it outputs the final
    resultset from. When I hit preview in the ole db source editor, I see the
    right output. When I select the "Columns" tab on the right, the "Available
    External Column List" is empty. Why don't the column names appear? What is
    the work around to get the column mappings to work b/w source and
    destination in this scenario.
    In DTS previously, you could "fool" the package by first compiling the
    stored procedure with hardcoded column names and dummy values, creating and
    saving the package and finally changing the procedure back to the actual
    output. As long as the columns remained the same, all would work.
    Thats not working for me in SSIS.
    Thanks in advance.
    Asim.

    I had a similar problem retrieving column information when calling a stored procedure which returned a table declared as a variable within the procedure. I used "Command SQL" as data access within the OLE DB Source Editor, and "exec <sproc_name> <param_list>" as text for the SQL command.
    After a few trials and errors, I noticed when I removed the IF statement that validated the parameter passed to the sproc it worked, i.e. SSIS could retrieve the column information, otherwise it wouldn't.  Is it because of the IF, the BEGIN/END, or the RETURN? I do not know as I did not test further, but by removing the entire instruction block pasted below, it worked. Hope that it helps.
        if @Reel_Ou_Budgete not in ('B', 'R')
        begin
            print 'Le paramètre de cette procédure stockée doit être B ou R.'
            return -1
        end

Maybe you are looking for

  • Gimp-sharp compiles, but all filters just segfault

    Hi, I'm trying to get GIMP# to run on Arch Linux. I've compiled and installed with no errors (the makefiles don't respect DESTDIR so my PKGBUILD requires some patching, but the files all seem to go in the right places now). However, when I try eg. Fi

  • Process Invocation within multiple process server machines

    Is there a way to invoke a process which is located at another server machine from an existing process engine? The idea is similar to subprocess, however the "subprocess" here needs to be located at another machine for the purpose of ownership and se

  • Can the Workflow Model Options in the sidekick be site specific

    Hi, Do anyone know if the workflow options in the sidekick can be site specific or not? potentially using tag in the model? Thanks. Johnny

  • Can't Finish Previewing...

    I have Illustrator CS6 running on a 2011 iMac, 4GB RAM. Error message states it cannot finish previewing file and reverts to outline mode. I've read that this issue should have been fixed with the 64 bit upgrade in CS6. How can I improve the performa

  • Spfile

    My database is using spfile.(9i on NT). I want to start my database using a pfile.How can I ahieve it.