Formula for 2 columns - checkbox and a date range
Hi there - newbie here. Looking for help with a formula.
I am trying to drive a metric which shows the percentage of activities on 'THD Brands' in the past week. The 'THD Brand' column is a checkbox, so essentially I need to count anything that is ticked in this column, and also the 'Last met?' column has a date within the last 7 days, divided by the overall count of all the activities that happened in the 7 days, whether they have a checkbox or not in the 'THD Brand' column.
Hopefully I have described that clearly enough ☺️
Best Answers
-
Thank you @Bassam Khalil - that worked!!
-
You are welcome and I will be happy to help you any time.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Please try the following formula, and don't hesitate to ask for any help. am at your service.
=IFERROR(COUNTIFS([Last met]:[Last met], AND(@cell >= TODAY(-7), @cell < TODAY())), "")
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Answers
-
Hi @Asad Ullah
Hope you are fine, please try the following formula:
=IFERROR(COUNTIFS([HD Brand]:[HD Brand], 1, [Last met]:[Last met], @cell >= TODAY(-7)) / COUNTIFS([Last met]:[Last met], @cell >= TODAY(-7)), "")
screenshot shows the result:
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Thank you @Bassam Khalil - that worked!!
-
You are welcome and I will be happy to help you any time.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
@Bassam Khalil Can I be cheeky and ask for a formula for counting all dates within a column that happened in the last week? I need to count the number of 'Last Met' in total, regardless of THD Brand checkpoint
-
Please try the following formula, and don't hesitate to ask for any help. am at your service.
=IFERROR(COUNTIFS([Last met]:[Last met], AND(@cell >= TODAY(-7), @cell < TODAY())), "")
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
@Bassam Khalil - superstar - thank you!!!
-
I Am Glad that it's work with you.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!