Doing a Count in Access 2013 Query -- How to?

  • Thread starter Thread starter WWGD
  • Start date Start date
  • Tags Tags
    Count
Click For Summary

Discussion Overview

The discussion revolves around creating queries in Access 2013, specifically focusing on how to perform a count of values and define new columns based on existing data. The scope includes practical application and technical clarification related to database queries.

Discussion Character

  • Homework-related
  • Technical explanation

Main Points Raised

  • One participant expresses uncertainty about how to perform a count in a query, mentioning the use of the Σ symbol but indicating it has not worked.
  • Another participant suggests using the SUM function to add values of successive cells, which may not directly address the counting issue.
  • A participant seeks clarification on how to define a new column that multiplies the values of two other columns, questioning whether an equals sign is needed after the colon.
  • A later reply provides a format for defining a new variable as the product of two fields, indicating that new fields can be created using arithmetic or logical operations.

Areas of Agreement / Disagreement

The discussion contains multiple competing views and remains unresolved regarding the best approach to perform a count in Access queries. Participants are exploring different methods without reaching a consensus.

Contextual Notes

Participants have not clarified specific assumptions about the data structure or the exact nature of the queries being attempted, which may affect the applicability of their suggestions.

WWGD
Science Advisor
Homework Helper
Messages
7,806
Reaction score
13,120

Homework Statement


I have a data table and I am doing a query on some of the attributes.[/B]

Homework Equations

The Attempt at a Solution


I think I need to use ## \Sigma ## in the menu bar, but that has not worked.

I know how to return all other query values, but not how to do a count.

Thanks.[/B]
 
Physics news on Phys.org
Are you just trying to add the values of successive cells?
It would look like this: =SUM(A1:A10)
 
Thanks Borg, sorry, I was about to say I got it. My new question is how to define a new column that uses the values of two other columns.
I tried :

New Column : (Column i)*( Column j )

Do I need an = after the colon?
 
Answering my on question: to define a new variable 'varname' , (as a field ) as the product of other fields , we set, in any field entry of the query,

varname: [ field_i, ]* [ field_j ]

of course, one may define new "derived" fields using other arithmetic or logical operations, or maybe both.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 51 ·
2
Replies
51
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
639
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K