Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Database and List Management functions

I am using the output from a combobox as a variable in a database formula
(DCOUNT). The variable is a name. My problem occurs when one name is used
that is also part of another name in the database. Example: Luc will return
counts not just for Luc but also Lucinda.

How can I get DCOUNT to return just Luc counts?

Thank you very much!

(I did not find an answer in the help file or forum search but I am no
expert.) : )
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Database and List Management functions

=COUNTIF(A:A,"Luc")


"Rob B." wrote:

I am using the output from a combobox as a variable in a database formula
(DCOUNT). The variable is a name. My problem occurs when one name is used
that is also part of another name in the database. Example: Luc will return
counts not just for Luc but also Lucinda.

How can I get DCOUNT to return just Luc counts?

Thank you very much!

(I did not find an answer in the help file or forum search but I am no
expert.) : )

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Database and List Management functions

I'm sorry, I did not explain my problem very well. : (

There are actually several combo boxes all supplying variables to the DCOUNT
criteria; there are at least two variables, name and rating, and can be more,
such as location, start date, end date, etc.

A two variable example could be to return a count of the number of 5's in
one column for the name Luc that is in another column.

DCOUNT(Reference!$L$1:$AK$10000,Reference!AA$1,Ref erence!$A$10022:$K$10023)
Here L1:AK10000 is the database, AA1 is the column of rating numbers, and
A10022:K10023 is the following criteria:

A B C D E F G H I J
K
Location_Location_Name_T.1_T.2_T.3_T.4_T.5_T.6____ Date____Date
Luc 4 =39814 <=39911

Let me know if I can provided a clearer example or anything else that would
help!

And thanks again! : )

"Teethless mama" wrote:

=COUNTIF(A:A,"Luc")


"Rob B." wrote:

I am using the output from a combobox as a variable in a database formula
(DCOUNT). The variable is a name. My problem occurs when one name is used
that is also part of another name in the database. Example: Luc will return
counts not just for Luc but also Lucinda.

How can I get DCOUNT to return just Luc counts?

Thank you very much!

(I did not find an answer in the help file or forum search but I am no
expert.) : )

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
List Management Help Please reneets Excel Discussion (Misc queries) 1 June 28th 07 02:12 AM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Excel Database management Jessicau Excel Discussion (Misc queries) 1 July 12th 06 10:56 PM
which is best for mailing list management, Outlook or Excel? Thrival New Users to Excel 1 March 4th 05 07:55 PM
Database functions easygoer714 Excel Worksheet Functions 5 December 16th 04 07:10 PM


All times are GMT +1. The time now is 02:10 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"