bearcub
Well-known Member
- Joined
- May 18, 2005
- Messages
- 734
- Office Version
- 365
- 2013
- 2010
- 2007
- Platform
- Windows
I'm trying to automate my file to extract payments for a certain group. I have to include them in the accrual but have to exclude them from actual payments until the end of the quarter.
I've created a formula that compares the Today's date to a predefined day of the month (the 15th of the month for example).
I do, though, at the end of the quarter (i.e. April, July, Oct & January) need to pay them for the previous 3 months.
I have been excluding payments by manually deleting their payments from the file but I just missed doing this for a couple of people who are going to get paid a month early.
Could I create a trigger that would exclude them for 2 months but include them on the third month?
I just thought that maybe I could use the Today function and compare it to predefined dates in an if statement (5/15, 8/15, 11/15, 2/15)? Commissions are always paid the following month so their quarterly payments would always be paid the month following the quarter.
I was thinking of building this formula in the name manager, would this be possible & how would this look?
If Today(), "mm-dd") => OR(5/15/2022,8/15/2022,11/15/2022,2/15/2023) then Sum(range).
Or would I have to spell this out in the cell formula.
Thank you for your help.
I've created a formula that compares the Today's date to a predefined day of the month (the 15th of the month for example).
I do, though, at the end of the quarter (i.e. April, July, Oct & January) need to pay them for the previous 3 months.
I have been excluding payments by manually deleting their payments from the file but I just missed doing this for a couple of people who are going to get paid a month early.
Could I create a trigger that would exclude them for 2 months but include them on the third month?
I just thought that maybe I could use the Today function and compare it to predefined dates in an if statement (5/15, 8/15, 11/15, 2/15)? Commissions are always paid the following month so their quarterly payments would always be paid the month following the quarter.
I was thinking of building this formula in the name manager, would this be possible & how would this look?
If Today(), "mm-dd") => OR(5/15/2022,8/15/2022,11/15/2022,2/15/2023) then Sum(range).
Or would I have to spell this out in the cell formula.
Thank you for your help.