Creating a table based on Category and Sub-Categories

Hi
I am building an extensive home budget. I have 3 tables showing, monthly, quarterly and annual costs. These tables contain Categories and Sub-Categories. I have created a table and chart to show the percentage of the total costs for each Category. For the two Categories with the largest percentage of the total cost I would like to create a table (and chart, no problem, based on my first template) showing the breakdown of the Sub-Categories. However this information is to be retrieved from 3 tables, and I was hoping to create the table automatically. If not I must individually go to each different table and find the relevant Sub-Category and manually input the text and link the cell for the value to my new table. This gives room for error in my opinion and is a nuisance as my budget file now contains about 8 sheets so even on 27" iMac requires a considerable amount of scrolling around.
Am I expecting too much of Numbers or missing something totally? I do not have much experience of spreadsheets, just basic tables and calculations in Excel before coming over from the Dark Side!
Many thanks for any advice
Shirley

Hi Barry
Many thanks for your reply and apologies for my delay in responding.
Hope I am doing this photo embedding correctly via Flikr:
Page 1
I apologise also for my incorrect terminology - please bear with me on this, unfortunately I never used Excel much so terminology is pretty much my own . I believe that I have one sheet, which then changes into different numbers of pages depending on the page size I set, so with these examples 4 pages. 14 tables and one chart at this time
The tables on the second screenshot were the only way I could figure out how to retrieve the data for the final table and chart (% Total Monthly Expenses)
Now what I want to do is for each (or in fact the three largest) budget categories is to give a breakdown of what in that category is, percentage wise, costing the most. Preferably, I want to get this breakdown category information automatically so that human error is ruled out (that I cannot overlook an entry in the any of the tables in my first example). Perhaps I am asking too much, but I thought it was worth asking!
Again many thanks for responding and for your help with this
regards
Shirley

Similar Messages

  • How do we create a a main podcast category with sub-categories similar to the way many bands have subcategories and artwork for each of their albums?

    How does a content producer create a main category with sub-categories similar to the way many bands have subcategories and artwork for each of their albums?

    I think you're talking about an 'Artist Page' in which several podcasts are 'aggregated' into one iTunes Store page?  This Apple Tech note deals with the subject (scroll to the bottom of the page):
    http://www.apple.com/itunes/podcasts/creatorfaq.html
    Although your mention of albums makes me wonder whether there you are talking about albums and songs in the music Library? - podcasts don't come in albums.
    You've also asked this in another forum:
    I have created a feed for our podcasts, but they are all under one umbrella. We would like to have subcategories under one main category.
    'A feed for your podcasts' doesn't make sense - a podcast has one feed (and vice versa). Are you confusing 'episodes' with 'podcasts'? A podcast is a collection of episodes - you can't categorize the episodes separately. The category shows only on the Store page and applies to the entire podcast. The 'Artist' page may again be what you are aiming for - if not perhaps you could post an example of what someone else is doing that you would like to.

  • Creating multiple tables based on existing tables

    Hi,
    I have to create 60 tables based on existing 60 tables. Instead of creating one by one how can I create all 60 at once.
    The current 60 tables are named FY11_ACC1, FY11_ACC2, FY11_SALES1, FY11_SALES2 ...... , but all 60 tables start with FY11. I need to create the same structured tables but with FY12 names like FY12_ACC1, FY12_ACC2, FY12_SALES1, FY12_SALES2 .....
    Currently I am using "create table FY12_ACC1 as select * from FY11_ACC1 where 1=0". Is there a way I can write all of them in one query?
    Thanks for your time and help.

    ssk1974 wrote:
    Hi,
    I have to create 60 tables based on existing 60 tables. Instead of creating one by one how can I create all 60 at once.
    The current 60 tables are named FY11_ACC1, FY11_ACC2, FY11_SALES1, FY11_SALES2 ...... , but all 60 tables start with FY11. I need to create the same structured tables but with FY12 names like FY12_ACC1, FY12_ACC2, FY12_SALES1, FY12_SALES2 .....
    Currently I am using "create table FY12_ACC1 as select * from FY11_ACC1 where 1=0". Is there a way I can write all of them in one query?
    Thanks for your time and help.Well, i'm assuming FY = Fiscal Year and 11 = 2011 and then ACC1 = Account #1.
    From the sounds of things, your design isn't likely "correct'.
    If you'd care to delve in to the requirements a little bit ... what you have and what you need (business speak wise) there are no shortage of experts here that i'm sure would be happy to help you.
    If you're stuck with what you've got (or don't care to change your 'design') and all you care about is achieving that please disregard this message.

  • SharePoint 2010 View Group By Category and Sub-Category

    I have a document Library with Category and Sub-Category columns. In the view I am grouping by Category and then Sub-Category. However, most of the documents do not have a Sub-Category. My desired result would be that the document would appear underneath
    the Category. However, if no Sub-Category is assigned then SP creates a generic Sub-Category and puts the document there. It should look something like this:
    Category : Main Category
    Document-1
    Document-2
    Sub-Category : Sub Category
        -Document-3
        -Document-4
    Instead it is Creating a generic SubCategory:
    Category : Main Category
    Sub-Category : (1)
        -Document-1
        -Document-2
    Sub-Category : Sub Category
        -Document-3
        -Document-4

    Hi,
    Per my knowledge, when you set group by Category and then Sub-Category, it should looks like the following:
    Category : Main Category
    Sub-Category : (2)
        -Document-1
        -Document-2
    Sub-Category : Sub Category
        -Document-3
        -Document-4
    I think there is no OOTB method that could make it looks like the following:
    Category : Main Category
    Document-1
    Document-2
    Sub-Category : Sub Category
        -Document-3
        -Document-4
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Table Link between Equipment and Sub-equipment

    Hi all
    My requirement is this
    I have one mobile set with a serial number. for that mobile set i have one battery with a serial number, now i want to link both the serial numbers, one as main and another as sub item
    I tried by maintaining the battery serial number as sub-equipment in the main mobile set equipment number master,
    Let me know the table link between equipment and sub-equipment
    I want a report based on the input mobile set equipment number what are all the sub-equipment associated with the main equipment
    Also suggest is there any other approach,
    Regards
    Amuthan M

    Hi
    EQUZ is the table,if u give the sub equipment in equipment field and execute.you can find the main equipment in superior equipment field

  • How to create a table with datatype blob and insert a pdf file (ravi)

    how to create a table with datatype blob and insert a pdf file,
    give me the explain asap
    1.create the table?
    2.insert the pdffiles into tables?
    3.how to view the files?
    Thanks & Regards
    ravikumar.k
    Edited by: 895044 on Dec 5, 2011 2:55 AM

    895044 wrote:
    how to create a table with datatype blob and insert a pdf file,
    give me the explain asapPerhaps you should read...
    {message:id=9360002}
    especially point 2.
    We're not just sitting here waiting to answer your question as quickly as possible for you.

  • Create RSA keys based on p and q

    Is there a way to create a KeyPair based on p and q (BigIntegers or byte[])
    The reason i need this is because i need to encrypt files that need to be decrypted in a c# program (and vice versa). The encryption needs to be RSA (so no DES or....) although i know that there is not really a need for asymetric encryption.
    The problem is I can generate a keypair in Java but then i cannot get the data for that keypair in c# (and vice versa).
    In c# i can create an equivalent of a keyPair based on p and q or on so if there would be a way to get the p and the q of a generated keypair that would also help (or all the other paramets, d, n, e, phi,....).
    Thanks

    You can generate a PKCS8 private key bytes and X509 public key byte using something like
                final KeyPairGenerator rsaKeyPairGenerator = KeyPairGenerator.getInstance("RSA");
                rsaKeyPairGenerator.initialize(2048); // or whatever size you want
                final KeyPair rseKeyPair = rsaKeyPairGenerator.generateKeyPair();
                // The private key as PKCS8 bytes
                final byte[] privateKeyAsBytes = rseKeyPair.getPrivate().getEncoded();
                // The public key as X509 bytes
                final byte[] publicKeyAsBytes = rseKeyPair.getPublic().getEncoded();then you can import the X509 into C# (C# must have a way of importing an X509).
    OR
    do a similar thing in C# and export the X509 public key and import it into Java.
    The private key should only be used by either the C# or Java application (not both) and I would expect whichever needs the private key should generate the key pair.

  • Problem creating a table with a subquery and a dblink

    Hello!!
    I have a little problem. When I create a table with a subquery and a dblink, for example:
    CREATE TABLE EXAMPLE2 AS SELECT * FROM EXAMPLE1@DBLINK
    the table definition is changed. Fields with a type of CHAR or VARCHAR2 are created with a size three times bigger than the original table in the remote database. Field of type DATE and NUMBER are not changed. For example if the original table, in the database 1, has a field of type CHAR(1) it is create in the local database with a type of CHAR(3), and a VARCHAR2(5) field is created with VARCHAR2(15).
    Database 1 has a WE8DEC character set.
    Database 2 has a AL32UTF8 character set.
    Could it be related to the difference in character sets?
    What can I do to make Oracle use the same table definition when creating a table in this way?
    Thanks!!

    That is related to character sets, and probably necessary if you want all the data in the remote table to be able to fit in the new table.
    When you declare a column VARCHAR2(5), by default, you're allocating 5 bytes of storage. In a single-byte character set, which I believe WE8DEC is, that also happens to equate to 5 characters. In a multi-byte character set like AL32UTF8, though, 1 character may require up to 3 bytes of storage, so you'd need to allocate 15 bytes to store that data. That's what's going on here.
    You could still store all the data if you create the table locally by explicitly requesting 5 characters of storage by declaring the column VARCHAR2(5 CHAR). You could also set the NLS_LENGTH_SEMANTICS parameter to CHAR rather than BYTE before creating the table, but I believe that both of these will only apply when you're explicitly defining columns as part of your CREATE TABLE. I don't believe either will apply to CTAS statements.
    Justin

  • Best way to create a table based on another table

    Hello,
    I am trying to create a table based on another table with all the data in it. It has large data.
    create table <tablename> as select * from table1.
    Is this the best way of doing it or is there any other way. please advice.
    thanks

    I am suggested to create new table as
    create table <newtable> as
    select * from <oldtable> where rownum < 1;
    then
    alter table <newtable> compress;
    then
    insert /*+ append */ into <newtable> as select * from <oldtable>;
    but i getting an error saying missing values key words ora- 00926.
    please advice

  • FM / BAPI to update STEUC field in marc Table basing on material and plant

    Hi,
    I need to to update STEUC field in marc Table basing on material and plant. please suggest FM / BAPI.
    Thanks.
    raviraj.

    Hi
    Try this BAPI function module:
    " BAPI_MATERIAL_MAINTAINDATA_RT "
    Data: LS_HEADDATA TYPE BAPIE1MATHEAD,
             LS_RETURN TYPE BAPIRETURN1,
              LT_PLANT TYPE TABLE OF BAPIE1MARCRT,          LS_PLANT TYPE BAPIE1MARCRT,
              LS_PLANTX TYPE BAPIE1MARCRTX,          LT_PLANTX TYPE TABLE OF BAPIE1MARCRTX.
            CALL FUNCTION 'BAPI_MATERIAL_MAINTAINDATA_RT'
                   EXPORTING
                       HEADDATA   = LS_HEADDATA
                   IMPORTING
                       RETURN     = LS_RETURN
                   TABLES
                       PLANTDATA  = LT_PLANT
                       PLANTDATAX = LT_PLANTX.
    Check the PLANTDATA in the above fm in which pass your ''STEUC'' to BAPIE1MARCRT-CTRL_CODE......
    Hope this works.....

  • Eliminated Category and Sub-Category "Featured" and "Rankings" Pages Hurts!

    I've been hosting my own show for two years, and have been lucky to be featured and ranked. But yesterday these features went away for many categories and sub-categories. IF this is a problem for you, get vocal! Check the threads in the podcast area -- there are some emotions in there...Help Apple! PS I don't believe VISTA is the problem.

    Yeah- that was a very helpful feature and to have it go to a bad browse now doesn't help.

  • My Categories and sub-categories are now missing

    I installed new PSE12 on my Win7x64. I previously had PSE9 installed.
    My Categories and sub-categories are now missing? I need to know how to reinstall them and auto attach to my pictures?
    <moved by mod from downloading,installing,setting up - kglad>

    So, did you import your pictures in a new catalog in PSE12? That can only restore tags which were specifically 'written to files' in the Organizer.
    As a matter of fact, the solution in your case is not an 'import' via the 'get photos and videos... from files or folders'.
    It's a catalog conversion, which creates a new PSE12 version from your old one. This is done in the File menu, catalogs... option : the catalog manager. There is a 'convert' button which you use to search and convert catalogs of any older version (shortcut Ctrl Maj C).
    http://helpx.adobe.com/elements-organizer/using/creating-editing-catalogs.html#use_convert _a_catalog_of_a_previous_version
    and:
    http://helpx.adobe.com/photoshop-elements/kb/common-catalog-issues-upgrade-elements.html

  • Creating an Alert Based on Category

    Hi ppl,
    We have requirement to create an alert based on the category we choose in the category modeler. Is it possible to do so in standard?
    I couldnt find an attribute for category. So, I tried to create a new attribute in the repository, using FG_ICWC_ORDER as the fact gathering service. But couldn't make it working.
    Does it work when we use this fact gathering service? I left the Input Support Class blank in Input Support for Conditions. Do we have a input support class for categories?
    Has anyone of you have had a similar requirment before? Any help would be great!
    Regards,
    Shwetha

    Hi,
    Why don't you define a new event. The same can be done at the following path:
    IMG>Customer Relationship Management>Interaction Center WebClient>Additional Functions>Intent-Driven Interactions>Define Events in Repository
    You would need to know the name of the component and the view to define the event and this you could get by pressing F2 in the relevant WEB UI screen.
    Regards,
    Deepak

  • Create new table based on old table

    Hello All,
    I have a JTable. The user can re-arrange columns in this table. Then the user can select a couple rows and create a new selection set table based on these rows. The problem is as follows: When the user re-arranges the columns, I cannot seem to retrieve the new order.
    Ex)
    A table is created with fields: A B C
    User rearranges to: B A C
    I call code and fields are returned as: A B C
    for(int i=0; i<((DefaultTableModel)super.getModel()).getColumnCount(); i++) {
      String name = ((DefaultTableModel)super.getModel()).getColumnName(i);
      System.out.println("Name: " + name);
    }Thanks for any/all help!

    Nevermind, got it to work by the below code. Still don't understand why the above code didn't work though.
    Enumeration e = super.getTableHeader().getColumnModel().getColumns();
    while(e.hasMoreElements()) {
      String name = (String)((TableColumn)e.nextElement()).getHeaderValue();
      System.out.println("Name: " + name);
    }

  • SSIS 2008 – Read roughly 50 CSV files from a folder, create SQL table from them dynamically, and dump data.

    Hello everyone,
    I’ve been assigned one requirement wherein I would like to read around 50 CSV files from a specified folder.
    In step 1 I would like to create schema for this files, meaning take the CSV file one by one and create SQL table for it, if it does not exist at destination.
    In step 2 I would like to append the data of these 50 CSV files into respective table.
    In step 3 I would like to purge data older than a given date.
    Please note, the data in these CSV files would be very bulky, I would like to know the best way to insert bulky data into SQL table.
    Also, in some of the CSV files, there will be 4 rows at the top of the file which have the header details/header rows.
    According to my knowledge I would be asked to implement this on SSIS 2008 but I’m not 100% sure for it.
    So, please feel free to provide multiple approaches if we can achieve these requirements elegantly in newer versions like SSIS 2012.
    Any help would be much appreciated.
    Thanks,
    Ankit
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    Hello Harry and Aamir,
    Thank you for the responses.
    @Aamir, thank you for sharing the link, yes I'm going to use Script task to read header columns of CSV files, preparing one SSIS variable which will be having SQL script to create the required table with if exists condition inside script task itself.
    I will be having "Execute SQL task" following the script task. And this will create the actual table for a CSV.
    Both these components will be inside a for each loop container and execute all 50 CSV files one by one.
    Some points to be clarified,
    1. In the bunch of these 50 CSV files there will be some exception for which we first need to purge the tables and then insert the data. Meaning for 2 files out of 50, we need to first clean the tables and then perform data insert, while for the rest 48
    files, they should be appended on daily basis.
    Can you please advise what is the best way to achieve this requirement? Where should we configure such exceptional cases for the package?
    2. For some of the CSV files we would be having more than one file with the same name. Like out of 50 the 2nd file is divided into 10 different CSV files. so in total we're having 60 files wherein the 10 out of 60 have repeated file names. How can we manage
    this criteria within the same loop, do we need to do one more for each looping inside the parent one, what is the best way to achieve this requirement?
    3. There will be another package, which will be used to purge data for the SQL tables. Meaning unlike the above package, this package will not run on daily basis. At some point we would like these 50 tables to be purged with older than criteria, say remove
    data older than 1st Jan 2015. what is the best way to achieve this requirement?
    Please know, I'm very new in SSIS world and would like to develop these packages for client using best package development practices.
    Any help would be greatly appreciated.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com
    1. In the bunch of these 50 CSV files there will be some exception for which we first need to purge the tables and then insert the data. Meaning for 2 files out of 50, we need to first clean the tables and then perform
    data insert, while for the rest 48 files, they should be appended on daily basis.
    Can you please advise what is the best way to achieve this requirement? Where should we configure such exceptional cases for the package?
    How can you identify these files? Is it based on file name or are there some info in the file which indicates
    that it required a purge? If yes you can pick this information during file name or file data parsing step and set a boolean variable. Then in control flow have a conditional precedence constraint which will check the boolean variable and if set it will execute
    a execte sql task to do the purge (you can use TRUNCATE TABLE or DELETE FROM TableName statements)
    2. For some of the CSV files we would be having more than one file with the same name. Like out of 50 the 2nd file is divided into 10 different CSV files. so in total we're having 60 files wherein the 10 out of 60 have
    repeated file names. How can we manage this criteria within the same loop, do we need to do one more for each looping inside the parent one, what is the best way to achieve this requirement?
    The best way to achieve this is to append a sequential value to filename (may be timestamp) and then process
    them in sequence. This can be done prior to main loop so that you can use same loop to process these duplicate filenames also. The best thing would be to use file creation date attribute value so that it gets processed in the right sequence. You can use a
    script task to get this for each file as below
    http://microsoft-ssis.blogspot.com/2011/03/get-file-properties-with-ssis.html
    3. There will be another package, which will be used to purge data for the SQL tables. Meaning unlike the above package, this package will not run on daily basis. At some point we would like these 50 tables to be purged
    with older than criteria, say remove data older than 1st Jan 2015. what is the best way to achieve this requirement?
    You can use a SQL script for this. Just call a sql procedure
    with a single parameter called @Date and then write logic like below
    CREATE PROC PurgeTableData
    @CutOffDate datetime
    AS
    DELETE FROM Table1 WHERE DateField < @CutOffDate;
    DELETE FROM Table2 WHERE DateField < @CutOffDate;
    DELETE FROM Table3 WHERE DateField < @CutOffDate;
    GO
    @CutOffDate which denote date from which older data have to be purged
    You can then schedule this SP in a sql agent job to get executed based on your required frequency
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

Maybe you are looking for

  • How to set up tv as second screen for pavilion 20-bo13w

    ???I have a hp pavilion 20-bo13w, all-in one and I need to to wire up my tv... How do I do this with only USB ports?????? Any ideas?

  • T-sql

    SELECT Partition_Id, Package_Number INTO #temp FROM Main_Test o WHERE LEFT(o.Partition_Id, 8) = 20150108 GROUP BY o.Partition_Id, o.Package_Number HAVING Count(*) > 1 I have all the duplicates in #temp table. Now, I have to get all the records from M

  • Show cfdiv and cfinput in the same row

    Hi, I have some probloms on the layout when using "ColdFusion.navigate". For example, I use function checkClosingDate() {      ColdFusion.navigate('cfc/value_validation.cfc?method=checkDate&date='+document.getElement ById('inputdate').value,'dateErro

  • 2 differents results with sys.all_objects

    select object_name,object_type from sys.all_objects where owner = 'GROUPE' and trunc(created) = to_date('12/08/2002','DD/MM/YYYY'); This select statement return 8 rows when running under SQL*Plus but inside a procedure it return 0 row when the proced

  • Report Access Error

    I am getting the following error message while accessing the report deployed on Oracle application Server. Internal Server Error 500. Sometime it runs and many times it gives the error message. any help will be highly appreciated.