Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5442 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hey gang,

I am attempting to achieve in Filemaker, something that is rather simple in softwares like Excel. I have a table with sales figures for a group of sales people (over 200) that I import sales data into weekly. I tag this data using a date token (1252010 for example would be January, 25th 2010). I am trying to get the database to spit out a total for sales revenue when the date is equal to 1252010 (week 1 of our year).

The desired outcome is to be able to display total sales by week in a separate table. This database is quite meaty so suggestions on how to restructure probably wont be the best solutions.

Any help would be appreciated.

Posted

Why not just use a subsummary report grouped by datetoken?

  • 4 weeks later...
  • Newbies
Posted (edited)

sumif = case, case = sumif. To use it as excel, use the calculation:

case (what.you're.trying.to.test = what.it.should.equal ; sum (what.field.it.should.sum))

This way, IF whatever you're trying to test equals whatever field or value it should equal, that will sum the fields where it is equal. This is different than general Excel or other spreadsheet behavior where a similar "if" function would sum the entire column instead of just what you wanted it to sum. It behaves differently because it's database software and not a spreadsheet.

I wish some forum would've told me this before I spent 3 days trying to figure it out.

Enjoy!

Edited by Guest
Posted

We are probably not talking about the same thing (hard to tell from your description what exactly you are summing, under what conditions). Why don't you post a simple file showing your method?

This topic is 5442 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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