Microsoft Access - Count Multiple Cells (Fields)

Manny74

Board Regular
Joined
May 6, 2016
Messages
103
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)

CLIENT1ST APPT2ND APPT3RD APPT4TH APPTNUMBER OF APPTS
DOE, JOHN8/1/20172/1/2018 2
DOE, JANE9/2/201710/1/20173/2/2017 3
DOE, JAKE10/5/201712/5/20172/5/20183/3/20184
DOE, JUNE11/15/20176/18/2018 2
DOE, JOE6/22/2018 1

<tbody>
</tbody><colgroup><col><col span="3"><col><col></colgroup>
 

sheetspread

Well-known Member
Joined
Sep 19, 2005
Messages
5,119
Is sgn(Nz([APPT 1],0)) etc any better? If not, are the fields static or part of a crosstab query?
 
Last edited:

Some videos you may like

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Watch MrExcel Video

Forum statistics

Threads
1,127,632
Messages
5,625,988
Members
416,149
Latest member
Bigpotato 668

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
Top