I am trying to count the number of rows in one column with reference to a value in another column
Hi All,
I am trying to build a formula in 'summary sheet' data to refer two two columns. Count the number of rows in MCB Rational Column(if a value exists) only if the other column 'Count of current year' says 'true'.
I am using formula - =COUNTIFS([MCB Rational]:[MCB Rational],@row, [Count for current year]:[Count for current year], CONTAINS("TRUE", @cell)).Can you suggest the correction in the formula? Thank You.
Best Answer
-
Hi @medhapar
Hope you are fine, please try the following formula:
=COUNTIFS([MCB Rational]:[MCB Rational], @cell <> "", [Count for current year]:[Count for current year], @cell = "TRUE")
the following screenshot:
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 @medhapar
Hope you are fine, please try the following formula:
=COUNTIFS([MCB Rational]:[MCB Rational], @cell <> "", [Count for current year]:[Count for current year], @cell = "TRUE")
the following screenshot:
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,
That solution worked!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!