Microsoft Access - Count Multiple Cells (Fields)

Manny74

Board Regular
Joined
May 6, 2016
Messages
124
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello All,

I am using MS Access....

As I run the data, I have each client's appointments listed (1st, 2nd, etc.)

I need a total count of appointments for each client (Number of Appts)...

I know how to create a count in Excel, but not sure how to attempt this in Access...

How do I add a count in Access to give me total number of appointments? (similar to what I have below)

[TABLE="width: 661"]
<tbody>[TR]
[TD]CLIENT[/TD]
[TD]1ST APPT[/TD]
[TD]2ND APPT[/TD]
[TD]3RD APPT[/TD]
[TD]4TH APPT[/TD]
[TD]NUMBER OF APPTS[/TD]
[/TR]
[TR]
[TD]DOE, JOHN[/TD]
[TD]8/1/2017[/TD]
[TD]2/1/2018[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]DOE, JANE[/TD]
[TD]9/2/2017[/TD]
[TD]10/1/2017[/TD]
[TD]3/2/2017[/TD]
[TD] [/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]DOE, JAKE[/TD]
[TD]10/5/2017[/TD]
[TD]12/5/2017[/TD]
[TD]2/5/2018[/TD]
[TD]3/3/2018[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]DOE, JUNE[/TD]
[TD]11/15/2017[/TD]
[TD]6/18/2018[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]DOE, JOE[/TD]
[TD]6/22/2018[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]1[/TD]
[/TR]
</tbody><colgroup><col><col span="3"><col><col></colgroup>[/TABLE]
 
Is sgn(Nz([APPT 1],0)) etc any better? If not, are the fields static or part of a crosstab query?
 
Last edited:
Upvote 0

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top