Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default DCount, with mixed type data

First off, here is a sample set...
--------------------------
Database:
MyCode Score Rating
9 641 22
G 649 23
9 675 23
J 649 23
M 999 95
B 529 21

--------------------------
and my Criteria:
Rating MyCode
22 a
23 b
c
--------------------------

I can get a DCOUNT as long as I use a letter for the criteria under
MyCode. What I need to do is get a DCOUNT of everything except the 9's
(<9) in the criteria. BUT, everytime i put the <9 in, I get bad
results.

How do I count all the non numeric entries?!?!

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Use DCOUNTA instead ( or post your formula that does not work if you use
other criteria as well) and then <9 as criteria (works for me), You know you
can easily do this using other functions, like

=COUNTIF(MyCode,"<9")

to count <9 in the MyCoder range and if you want multiple conditions like
testing for rating 23 as well

=SUMPRODUCT(--(MyCode<9),--(Rating=23))

There is no need really for the somewhat clumsy D functions, that was
probably just to be compatible with Lotus


Regards,

Peo Sjoblom

" wrote:

First off, here is a sample set...
--------------------------
Database:
MyCode Score Rating
9 641 22
G 649 23
9 675 23
J 649 23
M 999 95
B 529 21

--------------------------
and my Criteria:
Rating MyCode
22 a
23 b
c
--------------------------

I can get a DCOUNT as long as I use a letter for the criteria under
MyCode. What I need to do is get a DCOUNT of everything except the 9's
(<9) in the criteria. BUT, everytime i put the <9 in, I get bad
results.

How do I count all the non numeric entries?!?!


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
Getting data from another workbook based on variable joemc911 Excel Discussion (Misc queries) 3 May 25th 05 09:18 AM
Copying conditional formatting...HELP PLEASE!!!! trixiebme Excel Worksheet Functions 3 March 24th 05 01:53 PM
SORT MIXED DATA jem Excel Worksheet Functions 3 March 23rd 05 10:41 PM
Help making a chart that doesn't graph cells without data? Filtration Guy Excel Discussion (Misc queries) 0 March 22nd 05 09:21 PM
Adding more source data to existing scatter plot Tom Charts and Charting in Excel 1 March 21st 05 10:03 PM


All times are GMT +1. The time now is 04:21 AM.

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"