Summary Sheet. I want to reference other calculations in Sum Sheet but cannot use values
我想计算季度today()... Below I calculated Month1(Today()). Below comes after and I want to determine the Quarter. Can I use the Month1 value calculated previously? Right now the equation below is "Unparsable". Thank you. C
=IF(Month1<4, 1, IF(AND(MONTH1 < 7, MONTH1 > 3), 2, IF(AND(MONTH1 < 10, MONTH1> 6), 3, 4))
Answers
-
Doyle54 ✭✭✭✭✭
These calculations are hopefully done separate from the Main Sheet but can be referenced in the Summary Sheet and the Main Sheet. Thanks
-
RossL ✭✭✭✭✭✭
You can use this
=IF((MONTH(TODAY())) >= 10, 4, IF((MONTH(TODAY())) >= 7, 3, IF(MONTH(TODAY())) >= 4, 2, 1))
-
Doyle54 ✭✭✭✭✭
Spectacular!!. This variable - field is Quarter1. Can I reference Quarter1 in the Main Sheet?
Big thanks! C
-
RossL ✭✭✭✭✭✭
Yes it should be able to be referenced in any of your other sheets using a cross sheet ref in a formula.
-
Doyle54 ✭✭✭✭✭
Since the Summary Sheet is an extension of the Main Sheet, I should be able to simply reference it in the Main Sheet by its Variable Name.
Mr Smart Person - Can I ask you to help an old man to figure out the coding of a concept? I work on an Indian Reservation and I'm helping the energy department with the Administrative Field Management Needs. We have 625 Well Pads that they need to inspect quarterly. I have a Sheet for the Well Pads (WP) and their locations and I have a Pad Inspection (PI) Sheet.
工作的概念始于自动切cking the "Visited Pad" field in PI if the date on their visit changes. The change signals that the Field Officer is at the Pad. And then I can use Index in the WP for auto update the pads visited column field using the Quarter calculation in Sum Sheet. Again, there would be a field - column in WP - PV - that the Pad had been visited. 1 How do I automatically reset the PV as the quarter changes? 2 Is there a way to toggle Hide and Unhide of a record in the WP sheet based on an input into a cell?
Thanks.
Carey
-
RossL ✭✭✭✭✭✭
With Smartsheet formulas you are not able to call variables like you can in coding. If you are referencing a sheet summary field back in the main sheet you can just select the sheet summary field in your formula. it will look something like this [Quarter 1]#
Do you mind sharing a screen shot of your two sheets?
-
Doyle54 ✭✭✭✭✭
RossL - I apologize. I did not see your request. You can see from the image that the [QuarterYr]# is not working.
Also, I want to shift the Pad Inspection...Range to Pad Inspection [Loc...]:[Loc...] Format because setting it up as a Range does not work as Field Officers add more and more Rows.
-
Doyle54 ✭✭✭✭✭
Closer
=IF(AND(Combine Loc & Name1={Pad Inspection Report Sheet 7-7 2 [CombPN&L]:[CombPN&L]}, [QuarterYr]#={Pad Inspection Report Sheet 7-7 2 [QTRfiscal]:[QTRfiscal]}, 1,0)
Or Should it be:
=If(AND(MATCH($[Combine Loc & Name]@row, {Pad Inspection Report Sheet 7-7 2 Range 1})=TRUE, (Match([QuarterYr]#, {Pad Inspection Report Sheet 7-7 2 Range 2})=TRUE,1,0)
Unfortunately, I think SS is rejecting the [QuarterYr]# as SS keeps taking out the parenthesis for [QuarterYr]#
Help Article Resources
Categories
Check out theFormula Handbook template!
Try this:<\/p>
=IF(ISDATE([Event Date]@row), IF(AND([Event Date]@row > TODAY(), [Event Date]@row <= TODAY(30)), \"Less than 30 days from today\", \"More than 30 days from today\"), \"//www.santa-greenland.com/community/discussion/71992/\")<\/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":108267,"type":"question","name":"Combining IF Formula for Blank\/ Not Blank Cells","excerpt":"I want to create a formula that provides the below statuses: -Complete: Based on \"Collected Date\" not null -Incomplete: Based on \"Collected Date\" null and \"Antcipated Collected Date\" null -Pending: Based on \"Anticipated Collcted Date\" not null and \"Collected Date\" null Below is what I have, but it's unparseable:…","snippet":"I want to create a formula that provides the below statuses: -Complete: Based on \"Collected Date\" not null -Incomplete: Based on \"Collected Date\" null and \"Antcipated Collected…","categoryID":322,"dateInserted":"2023-07-28T17:23:40+00:00","dateUpdated":null,"dateLastComment":"2023-07-28T18:28:47+00:00","insertUserID":164288,"insertUser":{"userID":164288,"name":"brownrobe","url":"https:\/\/community.smartsheet.com\/profile\/brownrobe","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-28T18:42:06+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":164288,"lastUser":{"userID":164288,"name":"brownrobe","url":"https:\/\/community.smartsheet.com\/profile\/brownrobe","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-28T18:42:06+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":36,"score":null,"hot":3381135147,"url":"https:\/\/community.smartsheet.com\/discussion\/108267\/combining-if-formula-for-blank-not-blank-cells","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/108267\/combining-if-formula-for-blank-not-blank-cells","format":"Rich","lastPost":{"discussionID":108267,"commentID":387885,"name":"Re: Combining IF Formula for Blank\/ Not Blank Cells","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/387885#Comment_387885","dateInserted":"2023-07-28T18:28:47+00:00","insertUserID":164288,"insertUser":{"userID":164288,"name":"brownrobe","url":"https:\/\/community.smartsheet.com\/profile\/brownrobe","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-28T18:42:06+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-07-28T18:30:11+00:00","dateAnswered":"2023-07-28T18:22:11+00:00","acceptedAnswers":[{"commentID":387882,"body":"