Current year formula
Hi Everyone,
I currently have a sheet that populates mostly 2020 data. But we now would like to start integrating reports for 2021. Every individual formula has criteria for 2020, which I will now have to change 1 by 1 to 2021.
I have an old excel sheet that allows me to change the year in 1 single cell, and then all formulas will change to report for that given year. Is there a way to do this in smartsheet?
Example of a formula I am currently using:
=COUNTIFS({Environmental Incident Tracking Range 3}, "1", {Environmental Incident Tracking Range 1}, "Leak / Fuite", {Environmental Incident Tracking Range 7}, =(2020))
Snip of the sheet:
TIA
Answers
-
I hope you're well and safe!
Yes, you can reference a specific cell in the formulas. Either in the sheet or the Sheet Summary.
Would that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
-
-
Yes, sorry about the delayed response.
It would look something like this.
Add a sheet summary field called Year that you'd then reference in the formula.
=COUNTIFS({Environmental Incident Tracking Range 3}, "1", {Environmental Incident Tracking Range 1}, "Leak / Fuite", {Environmental Incident Tracking Range 7}, =Year#)
Make sense?
Did it work?
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Andrée Starå Thank you!
How does the formula match between the sheets
(Sheet i want the data populated on) added year cell
(Sheet the data is being pulled from)
Every cell with the blue mark on (SC- Refrigerant leak data) uses a formula very close to:
=COUNTIFS({Environmental Incident Tracking Range 3}, "1", {Environmental Incident Tracking Range 1}, "Leak / Fuite", {Environmental Incident Tracking Range 7}, =(2020))
I think I need a new formula that pulls the same data but if the pink cell is 2020, then it only pulls 2020 data. If 2021, only pulls data from this year, etc. from the other sheet
Like a match formula for the year columns?
The above formula you provided comes up unparseable.
Thoughts?
-
You're more than welcome!
I'd be happy to take a quick look.
Can you maybe share the sheet(s)/copies of the sheet(s)? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
made 2 new empty sheets in the same format, and shared with you
Thank you for your help!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!