Need row to turn yellow if date received is at least 2 days in the past

我需要一种方法来把一行黄色如果衰退的日期ived is at least two days in the past AND status is "bid complete", also turn red if date received is at least three days in the past and status is "bid complete". I would prefer if there was a way to do 48 hours and 72 hours but if not, days will work.

I could not figure out how to do this with conditional formatting. I can add helper columns or flag/RYG balls, just need the end result to turn the row red or yellow. Thanks!

Best Answer

Answers

  • Kimberly Loveless
    Kimberly Loveless ✭✭✭✭✭✭

    To turn the entire row yellow/red you would need to set up some conditional formatting rules. You can do this by selecting the gray/white grid icon in the top bar. Then enter the conditions for each. You can change the background color or the font color of the entire row that meets those criteria.

  • Thank you. I know how to use conditional formatting but I can't find a way to make it turn yellow if the date received is AT LEAST 2 days past due. So anything more than two days late would turn yellow and more than 3 days last would turn red.

  • Thank you, Nic. That worked!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out theFormula Handbook template!
I don't know if the extra spaces between HAS and your open parens would cause an issue, but you are also missing quotes around Reprint.<\/p>

=SUMIFS({Deliverables}, {Work Type}, HAS(@cell, \"Reprint\"), {Fiscal Quarter}, HAS(@cell, \"Q1\"), {Fiscal Year}, HAS(@cell, \"FY24\"))<\/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":[]},"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":[{"tagID":254,"urlcode":"formulas","name":"Formulas"}]},{"discussionID":112303,"type":"question","name":"HLOOKUP for first value not blank?","excerpt":"I've tackled this a few ways already but everything comes back with errors. Here's the latest - =INDEX([T1 BI Blend Options]1:[T1 Data Recon Options]1, MATCH(false, ISBLANK([T1 BI Blend Options]1:[T1 Data Recon Options]1), 0)) Does 'ISBLANK' come back with a value different than false? I tried using the ISBLANK formula…","snippet":"I've tackled this a few ways already but everything comes back with errors. Here's the latest - =INDEX([T1 BI Blend Options]1:[T1 Data Recon Options]1, MATCH(false, ISBLANK([T1 BI…","categoryID":322,"dateInserted":"2023-10-27T22:32:31+00:00","dateUpdated":null,"dateLastComment":"2023-10-30T15:33:23+00:00","insertUserID":169212,"insertUser":{"userID":169212,"name":"maggie82","url":"https:\/\/community.smartsheet.com\/profile\/maggie82","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!YStHGA0NUrg!wkHG_1FtuX4!aHvG88J3jzE","dateLastActive":"2023-10-30T17:12:48+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":169212,"lastUser":{"userID":169212,"name":"maggie82","url":"https:\/\/community.smartsheet.com\/profile\/maggie82","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!YStHGA0NUrg!wkHG_1FtuX4!aHvG88J3jzE","dateLastActive":"2023-10-30T17:12:48+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":33,"score":null,"hot":3397127754,"url":"https:\/\/community.smartsheet.com\/discussion\/112303\/hlookup-for-first-value-not-blank","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/112303\/hlookup-for-first-value-not-blank","format":"Rich","lastPost":{"discussionID":112303,"commentID":402229,"name":"Re: HLOOKUP for first value not blank?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/402229#Comment_402229","dateInserted":"2023-10-30T15:33:23+00:00","insertUserID":169212,"insertUser":{"userID":169212,"name":"maggie82","url":"https:\/\/community.smartsheet.com\/profile\/maggie82","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!YStHGA0NUrg!wkHG_1FtuX4!aHvG88J3jzE","dateLastActive":"2023-10-30T17:12:48+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,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/EGSG8YGDDHNQ\/image.png","urlSrcSet":{"10":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=10\/https:\/\/us.v-cdn.net\/6031209\/uploads\/EGSG8YGDDHNQ\/image.png","300":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=300\/https:\/\/us.v-cdn.net\/6031209\/uploads\/EGSG8YGDDHNQ\/image.png","800":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=800\/https:\/\/us.v-cdn.net\/6031209\/uploads\/EGSG8YGDDHNQ\/image.png","1200":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1200\/https:\/\/us.v-cdn.net\/6031209\/uploads\/EGSG8YGDDHNQ\/image.png","1600":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1600\/https:\/\/us.v-cdn.net\/6031209\/uploads\/EGSG8YGDDHNQ\/image.png"},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-10-30T15:30:14+00:00","dateAnswered":"2023-10-28T01:14:38+00:00","acceptedAnswers":[{"commentID":402142,"body":"

Hi @maggie82<\/a> <\/p>

'ISBLANK' indeed comes back with values like true and false.<\/p>

The MATCH function can not evaluate each value of a range with @cell.😅<\/span><\/p>

So, instead, you can use the COLLECT function to get a range with cell values that are not ISBLANK. <\/p>

COLLECT([T1 BI Blend Options]1:[T1 Data Recon Options]1, [T1 BI Blend Options]1:[T1 Data Recon Options]1, NOT(ISBLANK(@cell)))<\/p>

\n
\n \n \"HLOOKUP<\/img><\/a>\n <\/div>\n<\/div>\n

Then, use this range in the INDEX function.<\/p>

=INDEX(COLLECT([T1 BI Blend Options]@row:[T1 Data Recon Options]@row, [T1 BI Blend Options]@row:[T1 Data Recon Options]@row, NOT(ISBLANK(@cell))), 1)<\/p>

If there is more than one column with an option value, the second one, for example, would be;<\/p>

=IFERROR(INDEX(COLLECT([T1 BI Blend Options]@row:[T1 Data Recon Options]@row, [T1 BI Blend Options]@row:[T1 Data Recon Options]@row, NOT(ISBLANK(@cell))), 2), \"//www.santa-greenland.com/community/discussion/72697/\")<\/p>

If you are sure that there is only one option value, using the JOIN function is an easier way.<\/p>

=JOIN([T1 BI Blend Options]@row:[T1 Data Recon Options]@row)<\/p>

Please check that the function retrieves a non-blank value by changing the cell value in the option column in the demo sheet available from the link below.<\/p>

\n \n https:\/\/app.smartsheet.com\/b\/publish?EQBCT=58611ac8a7f847ca9a7ac8842dc6d40c\n <\/a>\n<\/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":[]},"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":112301,"type":"question","name":"IF function to return result based on drop downs not working","excerpt":"I have a column with 6 different drop down values (\"cover class\") and want to multiply the \"acres\" column by a different value depending on what was selected in \"cover class.\" This formula only works if the first value (\"1: 0-5%\") is selected, otherwise it returns \"#invalid operation.\" I know this is clunky. Any help is…","snippet":"I have a column with 6 different drop down values (\"cover class\") and want to multiply the \"acres\" column by a different value depending on what was selected in \"cover class.\"…","categoryID":322,"dateInserted":"2023-10-27T21:27:51+00:00","dateUpdated":null,"dateLastComment":"2023-10-30T12:30:42+00:00","insertUserID":160333,"insertUser":{"userID":160333,"name":"CJohnes","title":"Ms.","url":"https:\/\/community.smartsheet.com\/profile\/CJohnes","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-10-30T14:02:42+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":160333,"lastUser":{"userID":160333,"name":"CJohnes","title":"Ms.","url":"https:\/\/community.smartsheet.com\/profile\/CJohnes","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-10-30T14:02:42+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":23,"score":null,"hot":3397112313,"url":"https:\/\/community.smartsheet.com\/discussion\/112301\/if-function-to-return-result-based-on-drop-downs-not-working","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/112301\/if-function-to-return-result-based-on-drop-downs-not-working","format":"Rich","lastPost":{"discussionID":112301,"commentID":402205,"name":"Re: IF function to return result based on drop downs not working","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/402205#Comment_402205","dateInserted":"2023-10-30T12:30:42+00:00","insertUserID":160333,"insertUser":{"userID":160333,"name":"CJohnes","title":"Ms.","url":"https:\/\/community.smartsheet.com\/profile\/CJohnes","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-10-30T14:02:42+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-30T14:02:40+00:00","dateAnswered":"2023-10-27T22:08:06+00:00","acceptedAnswers":[{"commentID":402134,"body":"

@CJohnes<\/a> <\/p>

Delete all equals in front of \"IF\" except the first equal.<\/p>

=IF([cover class]@row = \"1: 0-5%\", acres@row * 0.025, IF([cover class]@row = \"2: 6-25%\", acres@row * 0.155,<\/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":[]},"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":[]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=322&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":10000,"limit":3},"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">

Trending in Formulas and Functions