Database-esq Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
Hi all,
I have a 'table' that looks something like..
Name Code Sales Comment
... x yyy ......
... x yyy ......

Need to produce a report that looks something like...

Code: X Total Sales:$YYY
Code: Y Total Sales:$ZZZ

The data is kind of big, roughly 30 Megs
Can't use SUMIF etc. because the conditions are a lot more complicated than illustrated here.

Tried DCOUNTA, DSUM but found out the criteria gets too weird..
There are roughly 30 different codes.

What's the best way to do it? Trying to find ideas... Thanks guys

Help!!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
You're post is fairly vague but it smells like an array formula (or control-shift-enter (cse) formula).

Here's some examples of how they work:

http://www.j-walk.com/ss/excel/tips/tip74.htm

Remember you enter the formula like a normal one, but, instead of pressing enter, you press control-shift & enter at the same time.

HTH. Cheers,

Nate
 
Upvote 0
Thanks, exactly what I am looking for... Guess I can't phrase my questions properly.. Cheers
 
Upvote 0
Glad to hear the examples looked good. Your example was great if your wanted a general answer, all's well that ends well eh. Have a good one.

Cheers, Nate
This message was edited by NateO on 2002-02-28 19:39
 
Upvote 0
On 2002-02-28 19:39, NateO wrote:
Glad to hear the examples looked good. Your example was great if your wanted a general answer, all's well that ends well eh. Have a good one.

Cheers, Nate
This message was edited by NateO on 2002-02-28 19:39

Also, for a non-array approach, try searchign this board for "SUMIFs with multiple criteria" (SUMPRODUCT), which'll change your life via-a-vis extracting numerical info from a large database

HTH
Chris

ps Nate : Q) what goes "clip clop, clip clop, BANG !, clip clop" ?

(Friday evening joke...)

A) an Amish drive-by shooting

:grin:
This message was edited by Chris Davison on 2002-03-01 12:41
 
Upvote 0

Forum statistics

Threads
1,223,355
Messages
6,171,614
Members
452,411
Latest member
sprichwort

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top