Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default No of Records returned by a Query

Hi All,

How I can count the number of records returned by an MS Query from
Access DB?

TIA

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default No of Records returned by a Query

you can use the COUNT() or COUNTA() functions on any of your querytable
columns, as long as it is one you know is never null (blank); for example, if
I had a date in column C that ALWAYS had a value, I would use
=COUNT($C:$C)-1. The purpose of the -1 is to subtract the column header,
assuming you chose to display them.

"Soniya" wrote:

Hi All,

How I can count the number of records returned by an MS Query from
Access DB?

TIA


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
How do I sort the information returned from a query? Fortarel Excel Discussion (Misc queries) 2 June 29th 09 11:23 PM
Query returned more data than will fit on a worksheet Mike H. Excel Discussion (Misc queries) 0 July 26th 07 08:38 PM
Using Excel's Auto Filter, how can I show # of records returned? Jim Excel Worksheet Functions 1 March 13th 06 07:39 PM
This query returned no data Tjeerd Excel Worksheet Functions 0 September 22nd 05 10:00 PM
The Web query returned no data [email protected] Excel Programming 1 February 9th 05 08:06 PM


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

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

About Us

"It's about Microsoft Excel"