Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 4
Default Using Dynamic Criteria with DCOUNT/DSUM

I'm trying to DCOUNT with multiple criteria - but with one of the criteria changing.

I have a list with ..

Date - ID - Name - Data - Type


Where there are many "transactions" for each ID over a month.

I advance filter the ID's over to a new sheet - and I'm trying to get a new list

like...

ID - Combined Data

but only for a certain 'Type'

Basically I can do it with DSUM with multiple criteria...

ID - Type

but I have to change for every ID - or have a criteria listed for every ID which is more than annoying seeing the ID list changes depending on the month of Data I pull into it.

Sorry if this is confusing - I am probably thinking about this in the wrong way - and there is probably a simpler way of doing it.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Using Dynamic Criteria with DCOUNT/DSUM

Hi

Try using a Pivot Table,
For more help with Pivot tables take a look at the following sites
http://peltiertech.com/Excel/Pivots/pivotstart.htm
http://www.contextures.com/xlPivot02.html

http://www.datapigtechnologies.com/f...es/pivot1.html

http://www.edferrero.com/Tutorials.aspx


--
Regards

Roger Govier


"Nigel Rablin" wrote in message
...

I'm trying to DCOUNT with multiple criteria - but with one of the
criteria changing.

I have a list with ..

Date - ID - Name - Data - Type


Where there are many "transactions" for each ID over a month.

I advance filter the ID's over to a new sheet - and I'm trying to get
a
new list

like...

ID - Combined Data

but only for a certain 'Type'

Basically I can do it with DSUM with multiple criteria...

ID - Type

but I have to change for every ID - or have a criteria listed for
every
ID which is more than annoying seeing the ID list changes depending on
the month of Data I pull into it.

Sorry if this is confusing - I am probably thinking about this in the
wrong way - and there is probably a simpler way of doing it.




--
Nigel Rablin



  #3   Report Post  
Junior Member
 
Posts: 4
Default

Thanks but that's exactly what I am trying to avoid...

I hate pivot tables - easy to use, but they take up so much resources, and they are not really flexible enough..

Quote:
Originally Posted by Roger Govier View Post
Hi

Try using a Pivot Table,
For more help with Pivot tables take a look at the following sites
http://peltiertech.com/Excel/Pivots/pivotstart.htm
http://www.contextures.com/xlPivot02.html

http://www.datapigtechnologies.com/f...es/pivot1.html

http://www.edferrero.com/Tutorials.aspx


--
Regards

Roger Govier


"Nigel Rablin" wrote in message
...

I'm trying to DCOUNT with multiple criteria - but with one of the
criteria changing.

I have a list with ..

Date - ID - Name - Data - Type


Where there are many "transactions" for each ID over a month.

I advance filter the ID's over to a new sheet - and I'm trying to get
a
new list

like...

ID - Combined Data

but only for a certain 'Type'

Basically I can do it with DSUM with multiple criteria...

ID - Type

but I have to change for every ID - or have a criteria listed for
every
ID which is more than annoying seeing the ID list changes depending on
the month of Data I pull into it.

Sorry if this is confusing - I am probably thinking about this in the
wrong way - and there is probably a simpler way of doing it.




--
Nigel Rablin
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Using Dynamic Criteria with DCOUNT/DSUM

Hi Nigel

Can't agree with your comments about PT's, as IMHO they are one of the
best features of Excel.
Still, each to his own view.
Without bothering to extract data to another sheet with Advanced Filter,
set up a grid on another sheet as follows
Type1 Type2 Type3
ID1
ID2
ID3
then in cell B2 of this new sheet

=SUMPROUCT((Sheet1!$B$2:$B$1000=$A2)*(Sheet1!$E$2: $E$1000=B$1))
copy across and down
--
Regards

Roger Govier


"Nigel Rablin" wrote in message
...

Thanks but that's exactly what I am trying to avoid...

I hate pivot tables - easy to use, but they take up so much resources,
and they are not really flexible enough..

Roger Govier;498674 Wrote:
Hi

Try using a Pivot Table,
For more help with Pivot tables take a look at the following sites
http://peltiertech.com/Excel/Pivots/pivotstart.htm
http://www.contextures.com/xlPivot02.html

http://www.datapigtechnologies.com/f...es/pivot1.html

http://www.edferrero.com/Tutorials.aspx


--
Regards

Roger Govier


"Nigel Rablin" wrote in message
...-

I'm trying to DCOUNT with multiple criteria - but with one of the
criteria changing.

I have a list with ..

Date - ID - Name - Data - Type


Where there are many "transactions" for each ID over a month.

I advance filter the ID's over to a new sheet - and I'm trying to
get


a
new list

like...

ID - Combined Data

but only for a certain 'Type'

Basically I can do it with DSUM with multiple criteria...

ID - Type

but I have to change for every ID - or have a criteria listed for
every
ID which is more than annoying seeing the ID list changes depending

on
the month of Data I pull into it.

Sorry if this is confusing - I am probably thinking about this in

the
wrong way - and there is probably a simpler way of doing it.




--
Nigel Rablin -





--
Nigel Rablin



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dcount with Multiple Criteria conord Excel Worksheet Functions 0 August 16th 06 05:13 PM
DCOUNT and DSUM functions [email protected] Excel Worksheet Functions 1 June 27th 06 06:22 PM
DCOUNT? DSUM? Paul W Smith Excel Worksheet Functions 7 January 11th 06 03:02 PM
Using ADD function within DCOUNT criteria DaveF2002 Excel Discussion (Misc queries) 4 June 19th 05 09:48 PM
DSUM and DCount when criteria values are similar BAC Excel Worksheet Functions 1 February 14th 05 06:38 PM


All times are GMT +1. The time now is 11:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"