Help

IF,SWITCH,Contains and Rollups? Not sure

Topic Labels: Formulas
Solved
Jump to Solution
1172 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Perez_Construct
4 - Data Explorer
4 - Data Explorer

Hiii
So I am trying to track checks and employees. I have an “Employees” table and I have a separate “Checks” table. They are linked. I was able to do a rollup for each employee to get the total amount they received no problem. My issue is I want my rollup to only show me the checks they received in 2021. I see a lot of the forums talking about SWITCH and IF stuff. But what I want is different. I want the formula to look at my dates, see which ones contain the year 2021, and then spit out the check amount so I can then do a rollup on each individual year.

This may be way too complicated and I would love a better answer. But ideally, I want to be able to look at how much each employee made by year in the employee table and not just in the checks table. But as each check is individually added, it would need to add up all the checks of that year from the checks table.

1 Solution

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hi! Could you check this out and see if it solves your problem? You can duplicate the base to see the exact field set up

The idea is to have a conditional rollup field to filter by the check’s date, only taking in records that have a date on or after, for example, 1 Jan 2021, and on or before 31 Dec 2021.

Screenshot 2022-05-15 at 2.13.19 PM

And then we’d create one field per year we needed
Screenshot 2022-05-15 at 2.14.40 PM

See Solution in Thread

2 Replies 2
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hi! Could you check this out and see if it solves your problem? You can duplicate the base to see the exact field set up

The idea is to have a conditional rollup field to filter by the check’s date, only taking in records that have a date on or after, for example, 1 Jan 2021, and on or before 31 Dec 2021.

Screenshot 2022-05-15 at 2.13.19 PM

And then we’d create one field per year we needed
Screenshot 2022-05-15 at 2.14.40 PM

omg I am the worst, I completely forgot that was a thing. I have that on some other fields. I am so sorry! And thank you SOOOO much for the help. Saved me!