+ Reply to Thread
Results 1 to 3 of 3

Thread: new column and filter

  1. #1
    Registered User
    Join Date
    10-15-2010
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    54

    new column and filter

    Hi, im working on a Access database, pretty basic, im not too good at access but understand the basics.

    What I have is a table, and am pulling the table and organizing the data. The first 2 that the input asks are these 2 names
    MÁQUINAS E EQUIPAM
    INSTALAÇÕES
    The second 2 names are
    Pindamonhangaba Cilindros
    Pindamonhangaba SBQ
    Then what I want to do in query design the Centro, i want to organize it where the multiple names dont come out and instead only shows the name once and sums all the #s to that name. So when I run the query, in the Centro row, the name
    AÇOBRUTO
    will show up 20+ times, i just want to sum the numbers next to it and have it show up once for each name. I have about 1 million lines like this, I just created a small one.

    *also wanted to know if i wanted to add a new column how i would do that which divides this # by 12.

    Anyone can help, thank you,
    Last edited by gill389; 12-07-2010 at 02:42 PM.

  2. #2
    Registered User
    Join Date
    10-15-2010
    Location
    Sacramento, CA
    MS-Off Ver
    Excel 2007
    Posts
    54

    Re: new column and filter

    solved it myself, thanks for reviewing it, the option was in sum area in design view in query design view. Dont know how to create a new column though with dividing the #.

  3. #3
    Valued Forum Contributor alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Lake County, Illinois
    MS-Off Ver
    MS Office 2010, 2007 and 2002
    Posts
    1,161

    Re: new column and filter

    In the QBE, create an expression in a new field (column) type the new name of the field followed by a colon. Example would be MyNewField:

    Follow this by typing a formula =[OldFieldName]/12

    Make sure to click on the display check box. This should give you a new field with a new name and result.

    Post back if you need additional help.

    Alan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0