Vlookup-trouble with tables from different sheet?

I have trouble getting vlookup to work properly, especially when I try to name a table from a different sheet. Being a long time excel user I am used to only click on the top left cell in the lookup table and Excel assumes that the entire table is the area you want to look up. How is this supposed to work in Numbers? There is some irony here:
I get a #ref error in Numbers when it looks like everything is OK and I try to copy my formula. It looks like this in the first row: =vlookup(B3;[table name]::$A$!:E506;3;0) but when I drag that downwards I get #ref for the lookup table - unable to see what the trouble might be. So I export the file to Excel, and then open the exported Excel-file with Numbers, and it works... Any suggestions?

Hi aarild,
Here's a picture that may help:
Instead of clicking the top left cell of a table as in Excel it works better in Numbers 3.0 to select the entire columns as the range, in my example $Name:$Amount.
Unlike in Excel, generally you're better off structuring your data in tables with a Header Row (and perhaps Header Column) and then body rows with no blank rows beneath them, and perhaps a Footer Row.
That way you can refer to the ranges in your formulas similar to the way you would use named ranges in Excel.
SG

Similar Messages

  • Analytic View with tables from different schema

    Hi,
    I'm curious if I make something wrong or if this is not possible:
    I want to use two tables each in a different schema. I can drop them into the DataFoundation, can connect them, assign them some measure. But activation fails due to insufficient privileges. When I use the tables from the same schema activation works well. With the insufficient privileges I would guess HANA cannot create a View (failed with the statement CREATE COLUMN_VIEW "_SYS_BIC"."USER/ANALYTIC_VIEW_NAME"....).
    Since I tried the same assignment with the System-User and failed I wonder what kind of permissions are required. Or is this generally not allowed (resp. prohibited)?
    If not allowed, could somebody give me a hint, why its not possible?
    If it is possible, what kind of rights are required to get it working?
    roland

    Hm', I have allowed SYS_REPO the rights to the table and was able to activate the view. But now I have the problem, that the DataPreview is not working (again insufficient privileges). What user has to have additional permissions for the JDBC-query?
    Do I have to take care more on the privileges for other things?

  • Dealing with tables from different databases?

    Hi. I'm a newbie to Visual Studio 2012 and stuck on how to interact with different datasets.
    I am building a report that is associated with with two tables, each from a different database. The
    master_flat table with the primary key matter_number is from the first database and it contains all the columns I need that should show up in the report layout I've built. However,
    billing_table with the primary key matter_number contains a flag that I go by which I must use to determine whether each matter should come through in the reporting or not. 
    I've set the master_flat as dataset1 and the billing_table as dataset2. Now, what is the best way in Visual studio 2012 to filter by the matters that has flag "N" in dataset2?
    Thanks

    We are way out of sync.  Lets synchronize.  I'm not sure which question you are refering to.  Is it the "C# or VBnet"  question or is it the "One or two database Question".  It seem like it would be the database question since you
    should know which programming language you are using.
    Open SQL Server Management Studio (SSMS).  After login, there is an explorer where you can browse the databases, tables, and fields in the tables.  You should be able to view how you build the database.  If you right click any tables and then
    "Script Table As : Select To : New Query Editor Window".  There is an execute button to run the query.  You can aslo edit the query.  I usually test all my qeuries in SSMS before actually using them in an application.  I would get a JOIN
    SQL working in SSMS.
    If you let me know if you are using VBnet or C# I will write a simple LINQ.  Even better if you supply me the names of the columns of the two tables.
    jdweng

  • Accessing tables from different schema in CDS and AMDP

    Hi All,
    We are working on a HANA system which has several schema replicated from SAP R/3/Non SAP systems. We have BW 7.4 SP9 deployed on the same system and accessing the HANA views using latest BW virtual objects such as Open ODS , Composite providers etc.
    We are also using the BW system for few ABAP based data processing developments. We are currently accessing HANA views in ABAP programs by creating dictionary views based on external HANA views.
    We would like to however use recent possibilities of CDS and AMDP for better life cycle management of ABAP based solutions. The open SAP course on this subject was of very good help. Thanks a lot "open SAP team" for that. I would however have few open questions,
    As I understand AMDP gives us full flexibility of writing sql procedures within ABAP development environment, but can we access tables from different schema into AMDP code. If yes, then sample code would help.
    If the answer of first question is yes, then how do we manage transports between development and production systems where the schema names would be different. Currently in open HANA developments, such transport is manged using Schema mapping.
    Can I also use different schema tables in CDS views.
    We are updating few tables in ABAP dictionary after applying processing logic in ABAP program as detailed in step 1. With the new approach using AMDP, can we directly update database schema tables which will give us an optimization advantage.
    New ABAP HANA program interfaces are quite promising and we would like to use them to optimize many data intensive applications.
    Thanks & Regards,
    Anil

    Hi Anil,
    I can only answer 1. and 2. (and would be interested into 3. as well):
    1.
    Yes you can access tables from a different schema and also HANA views. In this case no 'using' is needed.
    Examples:
        RESULT = SELECT
        FROM
              "SAP_ECC"."T441V" AS t,
              "_SYS_BIC"."tmp.package/AFPO" AS a.
        WHERE ...
    2. In this case, if you need schema mapping: You could use HANA (projection) views which just forward to a different schema, also see example.
    Best regards,
    Christoph

  • How do you join two tables from different Oracle schemas using a subquery

    I am trying to join two tables from different Oracle schemas using a subquery. I can extract data from each of the tables without a problem. However, when I combine the select statements using a subquery I get the Oracle error *'ORA-00936: missing expression'*. Since each SELECT statement executes on its own without error I don't understand what is missing. The result set I am trying to get is to match up the LINE_ID from PDTABLE_12_1 in schema DD_12809 with the MAT_DESCRIPTION from table PDTABLE_201 in schema RA_12809.
    The query is as follows:
    sql = "SELECT [DD_12809].[PDTABLE_12_1].LINE_ID FROM [DD_12809].[PDTABLE_12_1] JOIN " _
    + "(SELECT [RA_12809].[PDTABLE_201].MAT_DESCRIPTION " _
    + "FROM [RA_12809].[PDTABLE_201]) AS FAB " _
    + "ON [DD_12809].[PDTABLE_12_1].PIPING_MATER_CLASS = FAB.PIPING_MATER_CLASS"
    The format of the query is copied from a SQL programming manual.
    I also tried executing the query using a straight JOIN on the two tables but got the same results. Any insight would be helpful. Thanks!
    Edited by: user11338343 on Oct 19, 2009 6:55 AM

    I believe you are receiving the error because you are trying to JOIN on a column that doesn't exist. For example you are trying to join on FAB.PIPING_MATER_CLASS but that column does not exist in the subquery.
    If you want to do a straight join without a subquery you could do the following
    SELECT  DD_12809.PDTABLE_12_1.LINE_ID
    ,       FAB.MAT_DESCRIPTION
    FROM    DD_12809.PDTABLE_12_1
    JOIN    RA_12809.PDTABLE_201    AS FAB ON DD_12809.PDTABLE_12_1.PIPING_MATER_CLASS = FAB.PIPING_MATER_CLASS  HTH!

  • No Easy Way to Join on Tables from Different Schemas

    Hi,
    The company policy does not allow to join on tables from different schemas or use db links...
    I'm tasked to come up with a Perl script that does exactly that - allows for the SELECT statement to do several joins on 3 different schemas. In addition 1 of the schemas is on the different host altogether.
    Upping the privileges for my user and allowing db links is not an option...Can someone, please help me to understand on a conceptual level how would I use Perl and what logic would it have and what would it (perl) do?
    Thank you,

    Court in the wrong job... ;)
    It's like a librarian who is a hard rock artist maintaining the silence in the premises. ;)
    My dear friend, i don't think this is the right place for your requirement. This is the PL/SQL forum. If you have any problem related PL/SQL or SQL you can place that here.
    Regards.
    Satyaki De.

  • Is it possible to display one table on different sheets?

    I'd like to use one table on different sheets.
    On these sheets are also other tables, but one should be the same on each sheet.
    Is this possible?

    You can make one table refer to (take data from) another. 
    Here is a simple example where I made a table named "Source" and duplicated the table and named is "Destination-1".
    the table "Destination-1" refers to table 1 like this:
    A1=Source :: A1
    copy cell A1 in the table "Destination-1" , then select ALL cells using the menu item "Edit > Select All", then paste
    you may now duplicate this table to make additional "copies" as needed.  To duplicate a table, select the table, then select the menu iten "Edit > Duplicate"
    NOTE:  you should be aware that data flows FROM the table "Source" to the destination tables-- NOT the other way.

  • How to join tables from different databases (DBLink/DB connection )

    Hello,
    i have an issue and i hope you could help me to solve it. My problem is: I want to create native sql select which joins two tables from different DB (both of them are ORACLE, one of them internal, another one - external). I have found several notes and posts, but without any success. Db connection exists in dbcon table, so this part of my problem has been solved.
    I would like something like that:
    select * from table1@xxx inner join table2.
    i can not split this select into two separate ones, because both tables store over 30 mln. entries and i do not want to create any copies of them.
    Br,
    dez

    Hi,
    you might need to create a DB-Link on DB level and use EXEC SQL.
    Lots of stuff on google about this, like
    Oracle DBLink ( external database )
    Volker

  • Place one order with Products from different sales orgs

    Hello,
    We are in CRM 7.0 EHP2 connected to ECC 6.0. We have Internet
    sales/Webchannel Application.
    We are rolling out Internet sales for a new country but they want the option to
    place one single order with products from different sales
    organizations.
    Currently Customers send fax/email to customer
    representative(CR) with list of products. The CR identifies and places
    multiple orders if products belong to different sales orgs.
    Currently customers don't have idea about sales orgs and they don't
    have a clue which product belongs to which sales orgs. So, for them to
    use Internet sales, we have to provide them an option to place one
    order with products from different sales orgs.
    I understand SAP doesn't support this. But, is there any way we can achieve this through some custom/out of the box solutions?
    Thanks,
    Ravi

    Hi Ravi,
    Please have a below help link, it may help you to explain the role of Distribution Channel and if it fits to your requirement.
    Organizational Data Determination in CRM E-Commerce - E-Commerce - SAP Library
    Thanks,
    Hamendra

  • Create pivot table from multiple sheets

    How to Create single pivot table from multiple sheets

    Hello,
    Debra Dahlgleish has a tutorial video on her site: 
    http://blog.contextures.com/archives/2010/04/16/how-to-create-an-excel-pivot-table-from-multiple-sheets/
    This Office support article also covers the steps:
    http://office.microsoft.com/en-001/excel-help/consolidate-multiple-worksheets-into-one-pivottable-report-HA010226585.aspx
    Both the video and the article relate to Excel 2007 but the steps will be similar in current versions.
    cheers, teylyn

  • Import Data Table from Different DB Schema in BI Administration

    Here is my scenario:
    Tables are imported from different DB schema in Administration. They are then joined together.
    When I select fields from more than one schema in BI Answer, incorrect result is returned.
    Below is the SQL it returns:
    -------------------- Sending query to database named DW_TESTING (id: <<15875>>):
    select D1.c4 as c1,
    D1.c5 as c2,
    D1.c2 as c3,
    D1.c1 as c4,
    D1.c3 as c5
    from
    *(select D1.c1 as c1,*
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5
    from
    *(select sum(T34.PRODUCT_SALES) as c1,*
    T52.DESCRIPTION as c2,
    T52.BE_TYPE as c3,
    T137.YEAR as c4,
    T137.QUARTER as c5,
    ROW_NUMBER() OVER (PARTITION BY T52.BE_TYPE, T137.QUARTER ORDER BY T52.BE_TYPE ASC, T137.QUARTER ASC) as c6
    from
    BEADMIN.BE_MASTER T52,
    DWADMIN.DATE_MASTER T137,
    BEADMIN.BE_DAILY_SALES T34
    where  ( T34.BE_TYPE = T52.BE_TYPE and T34.SALES_DATE = T137.CALENDAR_DATE )
    group by T52.BE_TYPE, T52.DESCRIPTION, T137.YEAR, T137.QUARTER
    *) D1*
    where  ( D1.c6 = 1 )
    *) D1*
    order by c2
    +++Administrator:7e0000:7e001f:----2009/06/08 17:22:09
    -------------------- Sending query to database named DW_TESTING (id: <<15938>>):
    select D2.c2 as c1,
    D2.c3 as c2,
    D2.c1 as c3
    from
    *(select D1.c1 as c1,*
    D1.c2 as c2,
    D1.c3 as c3
    from
    *(select sum(T109.PRODUCT_SALES) as c1,*
    T137.YEAR as c2,
    T137.QUARTER as c3,
    ROW_NUMBER() OVER (PARTITION BY T137.QUARTER ORDER BY T137.QUARTER ASC) as c4
    from
    DWADMIN.DATE_MASTER T137,
    DWADMIN.DAILY_SALES T109
    where  ( T109.SALES_DATE = T137.CALENDAR_DATE )
    group by T137.YEAR, T137.QUARTER
    *) D1*
    where  ( D1.c4 = 1 )
    *) D2*
    order by c2
    It seems that query has been seperated into two, and doesn't have relationship between each others.
    However, I also tested the same situation in other environment, and it returns correct result. I found that the query hasn't been seperated into two, but one. The query is as below:
    -------------------- Sending query to database named BI (id: <<2392>>):
    WITH
    SAWITH0 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    *(select sum(T29.PRODUCT_SALES) as c1,*
    T96.DESCRIPTION as c2,
    T120.YEAR as c3,
    T120.QUARTER as c4,
    ROW_NUMBER() OVER (PARTITION BY T96.DESCRIPTION, T120.QUARTER ORDER BY T96.DESCRIPTION ASC, T120.QUARTER ASC) as c5
    from
    SIMULATION.BE_MASTER T96,
    SIMULATION.DATE_MASTER T120,
    BIEE.BE_DAILY_SALES T29
    where  ( T29.BE_TYPE = T96.BE_TYPE and T29.SALES_DATE = T120.CALENDAR_DATE )
    group by T96.DESCRIPTION, T120.YEAR, T120.QUARTER
    *) D1*
    where  ( D1.c5 = 1 ) ),
    SAWITH1 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    *(select sum(T102.PRODUCT_SALES) as c1,*
    T120.YEAR as c2,
    T120.QUARTER as c3,
    ROW_NUMBER() OVER (PARTITION BY T120.QUARTER ORDER BY T120.QUARTER ASC) as c4
    from
    SIMULATION.DATE_MASTER T120,
    SIMULATION.DAILY_SALES T102
    where  ( T102.SALES_DATE = T120.CALENDAR_DATE )
    group by T120.YEAR, T120.QUARTER
    *) D1*
    where  ( D1.c4 = 1 ) )
    select distinct case  when SAWITH0.c3 is not null then SAWITH0.c3 when SAWITH1.c2 is not null then SAWITH1.c2 end  as c1,
    case  when SAWITH0.c4 is not null then SAWITH0.c4 when SAWITH1.c3 is not null then SAWITH1.c3 end  as c2,
    SAWITH0.c2 as c3,
    SAWITH1.c1 as c4,
    SAWITH0.c1 as c5
    from
    SAWITH0 full outer join SAWITH1 On nvl(SAWITH0.c4 , 8) = nvl(SAWITH1.c3 , 8) and nvl(SAWITH0.c4 , 9) = nvl(SAWITH1.c3 , 9)
    order by c1, c2, c3
    This query returns correct result and seems reasonable.
    Assume that the setup in BI Administration is the same for both environment, why the first situation returns query that are separated?

    I have made the same remark but not with two different environment and same design.
    What can influence the construction of two queries ?
    Here some ideas :
    - if you have of course two connections pools (I assume not)
    - if in our database features (double click on the icon and choose the tab feature), full outer join is not supported
    But I have this two requirement on my laptop and I can see that I have also two sql fired.
    What you can do is to make a comparison of your two repository.
    In the administration tool, File/Compare.
    The result will be very interesting.

  • Materialized view with tables in different schemas

    Hello,
    I want to create a materialized view with a table from a different schema in the SELECT statement. For materialized view I would like to apply the "REFRESH COMPLETE ON COMMIT" option.
    Here the code:
    CREATE MATERIALIZED VIEW S1.MV_EXAMPLE
    TABLESPACE TS1
    PCTFREE 0
    BUILD IMMEDIATE
    REFRESH COMPLETE ON COMMIT
    AS
    SELECT T.COLUMN1 COLUMN
    FROM S2.TABLE1 T
    I can't execute this SQL because I get an "insufficient privileges" error to this table:
    FROM S2.TABLE1 T
    FEHLER in Zeile 9:
    ORA-01031: Insufficient privileges
    User S1 has the following privileges:
    CREATE SESSION
    CREATE SNAPSHOT
    CREATE TABLE
    CREATE QUERY REWRITE
    SELECT ANY TABLE
    User S2 has the following privileges:
    CREATE SESSION
    CREATE SNAPSHOT
    CREATE TABLE
    CREATE QUERY REWRITE
    ALTER ANY SNAPSHOT
    Which privileges are missing?
    Thanks, Mathias

    Thanks Kamal for your answer!
    S1 has the grant select directly. But I solveld the problem. The system privilege "ON COMMIT REFRESH" was missing for S1. This has to be set if any of the tables are outside the owner's schema of the materialized view (ORACLE documentation - Data Warehouse Guide).
    But one thing is not clear to me yet and the ORACLE documentation doesn't give me an answer. I can set the refresh-attribute ON COMMIT on a materialized view containing only joins when a group by clause is set. If the group by clause is missing I can't! Why?
    Regards, Mathias

  • Select query based on joining of tables from different database is taking too long

    Hi Team,
    Select query on table with millions of records is taking very long time. It took 50mins, the below query is joining on multiple table from two databases DB1.dbo.Table1 contains 100 million records and also Table3 and Table4 (of different database) might
    contain close to 1million records.
    Select T1.*
    From DB1.dbo.Table1 T1
    Join DB1.dbo.Table2 T2 on RTRIM(T1.Col3) = RTRIM(T2.Col3)
    Join Table4 CA on RTRIM(T1.Col1) + T2.Col2 = CA.Col1
    Join Table3 U on CA.Col2 = U.Col2 AND RTRIM(T2.Col2) = U.Col3
    Where U.Col4 NOT IN ('A1', 'A2', 'A3', 'A4', 'A5', 'A6','A7','A8','A9')
    And (T1.flg IS NULL OR T1.flg = 'N')
    And LTRIM(RTRIM(T2.Col2)) NOT IN ('B1','B2')
    How can i improve the performance of this query. Actual thing is update the data in Db1.dbo.table1 based on the conditions but if the select is taking close to 1hr then update will take hours together. Indexes already implemented on all the tables.
    Thanks,
    Eshwar.
    Please don't forget to Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful. It will helpful to other users.

    Thanks.
    Join Table4 CA on RTRIM(T1.Col1) + T2.Col2 = CA.Col1
    This join is not working with spaces if Rtrim is not used.
    Thanks! Eshwar.
    Please don't forget to Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful. It will helpful to other users.

  • How to copy table from one sheet to another making formulas relative to current sheet

    I'm truly sorry if this has been answered within this forum but I've been reading these posts for the last hour and nothing. Ok so here's my issue:
    I'm trying to do a budget spreadsheet. My ss contains sheets with each one representing a month. So sheet 1 is called January, 2 February etc.
    I have two table in each sheet, one with a list of expenses and the other is a subtable with that references the first table for special expenses. The second table is identical in functionality in each sheet so I do a copy from January into February. However, when I copy into Feburary, all my formulas still point to 'January::' and I have to go and remove the 'January::' from each cell.
    Is there any way to copy the second table and make it relative to the sheet that it's in? It seems simple and maybe I'm doing something fundamentally wrong but I can't find the answer anywhere.

    I made a simple version of what I think you are describing:
    I gave each table a name "Tabl" and "SubTable"
    SubTable cell A1 is assigned as follows:
    A1=Table :: A1
    Then I duplicated the January Sheet by highlighting the sheet and typing the key command <COMMAND>+d (or selceting the menu item "Edit > Duplicate"):
    Then I change the name of the new shee from "January -1" to "February"
    The relative reference should already exist.
    You can confim this by changing the contants of the informaiton in cell A1 of Table in the "February sheet

  • How to design universe with tables from two databases using a db link?

    I am building a universe (v3.1) that has tables from two different oracle db instances.  My dba created synonyms for me and there is a database link in place.  I don't know how to get this working in Designer.  I can see the views under my ID when I browse to insert a table, but there is no structure.  I think I have to create a new strategy.  I attempted to do that, but the directions aren't very clear to me, and it isn't working.  Any help or advice would be greatly appreciated.  Thanks!!

    i've been working with DB links much before, but this was since long time ago before i join the Business Intelligence field
    from my understanding that you Have link from DB1 to DB2
    and from your user in DB1 you can access tables and view from DB2
    if you are using your user to create a universe im not sure if you can use tables from DB2 or not
    and you dont see the tables of the link in the Universe
    but you can try to create a drived table selecting from any tables from DB2
    for example
    select id,name from user.table2@mylink
    check this way and give me your feedback
    good luck

Maybe you are looking for

  • Can you transfer game saves to another iTunes account?

    When my little sister got an iPod touch I let her use my iTunes account as I couldn't see the harm. Since then, I've got an iPhone and there's a problem with using the same account. Whenever she uses iMessage, the conversations come up on my phone an

  • Font problem in snow leopard

    Up until I installed snow leopard I had access to a whole range of helvetica fonts. When I installed snow leopard I was prompted about a conflict which I opted to choose "resolve". After this I no longer had access to these fonts. I attempted to reop

  • Traces are not being generated

    hi, I have 9.1.0.8 database on windows 2003 (32 bit). I am suing following statement to start system wide tracing but i don't see any tarces being generated at user_dump_dest location. any idea what is going wrong and what thing i am missing? ALTER S

  • Burning flaw in iTunes 10

    Since installing iTunes 10, I'm getting flawed burns. The burn process completes successfully, and CDs (or some) will play in the computer or in the car, but NOT ONE will play in my Sony ES player that has played iTunes-burned discs without a hitch f

  • Depriciation Posting with Non-Leading Ledger

    Dear SAP Asset Experts,      I am struggling a lot for Depreciation Posting with  Non-Leading Ledgers. I have configured Non-Leading Ledgers and Assign with Dep areas, 1 - Define How Depreciation Areas Post to General Ledger Asset Accounting  Integr