Apply Date parameter in different rows
Hello,
I need to use the same date in different rows but using a formule.
I built a sheet named "Meses" with the dates like below:
to use the same dates in different rows instead of changing by hand. However it is not working because it is returning 0 in the formule below (for example):
=SUMIFS({Project_Product Release Roadmap Intervalo 11}; {Project_Product Release Roadmap Intervalo 2}; Resource318; {Project_Product Release Roadmap Intervalo 3}; {Meses Intervalo 3}; {Project_Product Release Roadmap Intervalo 3}; {Meses Intervalo 4})
If I use the dates inside works perfectly:
=SUMIFS({Project_Product Release Roadmap Intervalo 11}; {Project_Product Release Roadmap Intervalo 2}; Recurso318; {Project_Product Release Roadmap Intervalo 3}; >=DATE(2020; 10; 1); {Project_Product Release Roadmap Intervalo 3}; <=DATE(2020; 10; 2))
Could you help me?
thank you
Best Answers
-
Genevieve P. Employee Admin
My apologies! I see that some of the instructions in my formula are repeated/incorrect (the <=>= is not a proper instruction). In addition, you would need to wrap [these] around the date column names since there is a number and text all together in the name.
Try this:
=SUMIFS({Project_Product Release Roadmap Intervalo 11}; {Project_Product Release Roadmap Intervalo 2}; Recurso@row; {Project_Product Release Roadmap Intervalo 3}; >=[Date1]@row; {Project_Product Release Roadmap Intervalo 3}; <=[Date2]@row)
This looks for the following:
The cell in this row (Recurso@row) in theRecursocolumn, matches content within the column {Project_Product Release Roadmap Intervalo 2}
If the date in this row ([Date1]@row) in theDate1column isgreater or equal toa date in the column {Project_Product Release Roadmap Intervalo 3}
If the date in this row ([Date2]@row) in theDate2column isless than or equal toa date in the column {Project_Product Release Roadmap Intervalo 3}
Then it will SUM the content in the {Intervalo 11} range, if it meets the three criteria above. Is this what you are looking to do?
Cheers!
Genevieve
-
Genevieve P. Employee Admin
No problem at all! I'm glad that worked for you
Answers
-
M Underbrink ✭✭✭✭✭
If you pull the range into a DATE() formula in your equation, would that work?
DATE({Meses Intervalo 3})
-
Hello,
Thank you for the answer.
Did not work. Appears the error below:
-
Anyone can help me?
-
Genevieve P. Employee Admin
You will need to reference a specific criteria after each {range}, instead of referencing an entire column after a range... this is why you're getting an error with your first formula but not with your second.
How is this formula being used in your destination sheet? Could you have specific dates listed in aDate Columnin this sheet, and use that as your reference?
EX:
=SUMIFS({Project_Product Release Roadmap Intervalo 11}; {Project_Product Release Roadmap Intervalo 2}; Recurso318; {Project_Product Release Roadmap Intervalo 3}; >=[Date Column]$1; {Project_Product Release Roadmap Intervalo 3}; <=>=[Date Column]$2)
^Here I would have your two dates in rowsone ($1)andtwo ($2).Would that work for you? If not, it would be helpful to see a full screen capture of both sheets (but please block out any sensitive data), with an explanation as to what each of your cross-sheet references are referring to.
Cheers,
Genevieve
-
Hello@Genevieve P
Thank you for the feedback. I tried what you say and did not work.
Returned the error Incorrect Argument SET"
My date columns are:
Maybe it is the format?
-
Any clue?
-
Genevieve P. Employee Admin
My apologies! I see that some of the instructions in my formula are repeated/incorrect (the <=>= is not a proper instruction). In addition, you would need to wrap [these] around the date column names since there is a number and text all together in the name.
Try this:
=SUMIFS({Project_Product Release Roadmap Intervalo 11}; {Project_Product Release Roadmap Intervalo 2}; Recurso@row; {Project_Product Release Roadmap Intervalo 3}; >=[Date1]@row; {Project_Product Release Roadmap Intervalo 3}; <=[Date2]@row)
This looks for the following:
The cell in this row (Recurso@row) in theRecursocolumn, matches content within the column {Project_Product Release Roadmap Intervalo 2}
If the date in this row ([Date1]@row) in theDate1column isgreater or equal toa date in the column {Project_Product Release Roadmap Intervalo 3}
If the date in this row ([Date2]@row) in theDate2column isless than or equal toa date in the column {Project_Product Release Roadmap Intervalo 3}
Then it will SUM the content in the {Intervalo 11} range, if it meets the three criteria above. Is this what you are looking to do?
Cheers!
Genevieve
-
Hello@Genevieve P,
It is exactly that and worked perfectly :)
Thank you very much for the help. It was a big help.
-
Genevieve P. Employee Admin
No problem at all! I'm glad that worked for you
Help Article Resources
Categories
=COUNTIFS(Status:Status, =\"Full\", [Media Type]:[Media Type], OR(@cell = \"Press Release\", @cell = \"News Release on CHA.com\")<\/strong>, [Completion Date]:[Completion Date],<\/p><\/div><\/div>
<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":["discussion","question"]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]},{"discussionID":112389,"type":"question","name":"Formula to create \"all that apply\" for Knowledge Check Form","excerpt":"Hello Community, I am currently creating a knowledge check and was wondering if there was a formula to create an \"all that apply\" type of question. For example: 5. What is on the customer experience call flow? Smile Engage Trust Own Listen This is my broken formula: =IF(CONTAINS((\"Trust\", \"Smile\", “Own”), [5. What is on…","snippet":"Hello Community, I am currently creating a knowledge check and was wondering if there was a formula to create an \"all that apply\" type of question. For example: 5. What is on the…","categoryID":322,"dateInserted":"2023-10-31T17:20:52+00:00","dateUpdated":null,"dateLastComment":"2023-10-31T18:17:19+00:00","insertUserID":169329,"insertUser":{"userID":169329,"name":"Michael_Selfe","title":"Just looking to learn","url":"https:\/\/community.smartsheet.com\/profile\/Michael_Selfe","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-10-31T18:49:43+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":165153,"lastUser":{"userID":165153,"name":"DKazatsky2","url":"https:\/\/community.smartsheet.com\/profile\/DKazatsky2","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-11-01T03:53:52+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":27,"score":null,"hot":3397550291,"url":"https:\/\/community.smartsheet.com\/discussion\/112389\/formula-to-create-all-that-apply-for-knowledge-check-form","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/112389\/formula-to-create-all-that-apply-for-knowledge-check-form","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":112389,"commentID":402434,"name":"Re: Formula to create \"all that apply\" for Knowledge Check Form","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/402434#Comment_402434","dateInserted":"2023-10-31T18:17:19+00:00","insertUserID":165153,"insertUser":{"userID":165153,"name":"DKazatsky2","url":"https:\/\/community.smartsheet.com\/profile\/DKazatsky2","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-11-01T03:53:52+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-10-31T18:49:41+00:00","dateAnswered":"2023-10-31T18:17:19+00:00","acceptedAnswers":[{"commentID":402434,"body":"