Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Calculate how many times

Featured Replies

Hello!

I need to find out how many times someone attended in a month and year. something like:

IF(Month(ADate="4");Count(Adate)

It counts Adate, but all of them.

How do I get only the month of april?

Thanks in advanced!

Edited by Guest
removed shouting from the title

Create a calc field to calculate the year and month:

Year( ADate ) & " " & Month( ADate )

You need the year as well so April 2009 attendances aren't counted along with April 2010 and 2011.

Then make a summary report using this field as the sub-summary.

To get only the month of April, perform a find in ADate field before running the report.

I prefer turning the dates into generic date (first day of month date calc), learned from Comment as:

Date - Day ( Date ) + 1

There are many reasons:

  • Because it is a date, it can be used in many other date calculations
  • The same field can be used for many things, such as range relationships.
  • When printing reports, that date field can be used in the leading part (and displayed only as September, 2009)
  • Searching on the field is just as easy as searching a regular date (because it IS a regular date), such as 2009 will find all for the year, 9/2009 will find September 2009 etc

Whenever I've added this date to a table, I've ended up using it (and was glad it was there) for many other things.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.