bearcub
Well-known Member
- Joined
- May 18, 2005
- Messages
- 734
- Office Version
- 365
- 2013
- 2010
- 2007
- Platform
- Windows
I asked something similar to this a couple of months ago but I have a better idea of what I need.
I have sheet that documents our companies new employees that receive a monthly draw (normally 5,000 USD for 3 months).
My heard row includes a date column with the end of each month for a year.
In the rows that follow I list the new employees who are receiving a draw. They all start at different times of the year but will only have at the most 3 months of draws.
What I want to do is add all the draws that have dates (in the column headers) that are less than the Today() function date.
I thought about using the sumif function but I realized this would have to be an array function. I also tried using the sumproduct function but it didn't work either - I get 0
SUMPRODUCT((B2:G2)<TODAY())*(B3:G3)
Since today is June 1, the total should be 10,000. When Today's date is 7/1/2019 I would expect the total to be 15,000, etc.
Is the a formula that could do this in Excel dynamically so i don't have to manually update the total every month. I want to show how much draw is being paid up to todays date. I would like to have it update automatically.
Thank you for you help in advance,
Michael
I have sheet that documents our companies new employees that receive a monthly draw (normally 5,000 USD for 3 months).
My heard row includes a date column with the end of each month for a year.
In the rows that follow I list the new employees who are receiving a draw. They all start at different times of the year but will only have at the most 3 months of draws.
What I want to do is add all the draws that have dates (in the column headers) that are less than the Today() function date.
I thought about using the sumif function but I realized this would have to be an array function. I also tried using the sumproduct function but it didn't work either - I get 0
SUMPRODUCT((B2:G2)<TODAY())*(B3:G3)
Code:
B2:G2 :1/31/2019,2/28/2019,3/31/2019, 4/30/2019,5/31/2019,6/30/2019
B3:G3 0 0 0 5000 5000 5000
Since today is June 1, the total should be 10,000. When Today's date is 7/1/2019 I would expect the total to be 15,000, etc.
Is the a formula that could do this in Excel dynamically so i don't have to manually update the total every month. I want to show how much draw is being paid up to todays date. I would like to have it update automatically.
Thank you for you help in advance,
Michael