+ Reply to Thread
Results 1 to 5 of 5

Query rows and generate a report: possible with Excel?

  1. #1
    Registered User
    Join Date
    03-12-2008
    Posts
    14

    Query rows and generate a report: possible with Excel?

    I am part of a non-profit gallery where inventory and sales of art are captured in Excel 2003 (soon 2007). I wish to query all rows looking for a certaiun value (say, sales amt >0) then sort all rows by artist name and then generate separate sales reports for each artis so we can pay them commission.

    In the attached example, I want to select by each artist and list their art sales on separate reports (hopfully separate worksheets). Hee is a basic example (also contained in teh attachment):

    artist art piece price paid commission
    tom a 33 19.8
    tom e 44 26.4
    dave d 55 33
    bill f 6 3.6
    tom c 67 40.2
    dave t 88 52.8
    jim q 0 0
    bill s 22 13.2

    And here's what I would like (on separated worksheets or the equivalent:

    artist art piece price paid commission
    tom a 33 19.8
    tom e 44 26.4
    tom c 67 40.2
    TOTAL COMMISSION 86.4

    artist art piece price paid commission
    dave d 55 33
    dave t 88 52.8
    TOTAL COMMISSION 85.8

    artist art piece price paid commission
    bill f 6 3.6
    bill s 22 13.2
    TOTAL COMMISSION 16.8

    artist art piece price paid commission
    jim q 0 0
    TOTAL COMMISSION 0


    Yes, yes, I know: USE A PIVOT TABLE! But this approach is too complicated for our users who are mostly Mac users and very casual Excel users.

    From experience, I know this would be a pretty easy job in Access but I don't want to go down that path.

    Any ideas? Thanks!

  2. #2
    Registered User
    Join Date
    03-12-2008
    Posts
    14

    Forgot attachment, sorry.

    SampleSalesForExcelForum.zip

    This attachment is for this thread. Thanks.

    dan

  3. #3
    Registered User
    Join Date
    03-12-2008
    Posts
    14

    version 2 of attachment

    Boy, I'm on a roll here... please use this attachment instead.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-03-2008
    Posts
    2

    Same Problem

    I have the exact same problem. If I find an answer I'll be sure to post

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Sort your data then use data > subtotals

    http://www.bettersolutions.com/excel...A823711331.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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.6.0 RC 1