I am trying to find a formula that can count % ranges in a column. See the attached graph
Best Answer
-
The way I would do this is to set up a second, Metric sheet with cross-sheet formulas.
One column would identify the range you're looking for (e.g. "0 - 20%" in one cell, "21 - 40%" in the next cell).
Then you can use a COUNTIFS statement in a second column to look into your source sheet for your ranges, like so:
=COUNTIFS({Percent Column}, <= 0.2)
Then for the next range:
=COUNTIFS({Percent Column}, > 0.2, {Percent Column}, <= 0.4)
And the next...
=COUNTIFS({Percent Column}, > 0.4, {Percent Column}, <= 0.6)
And so on!
Then you can use this Metric sheet as the source for your Chart. Here's more information:
COUNTIFS Function / Create cross sheet references to work with data in another sheet
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
The way I would do this is to set up a second, Metric sheet with cross-sheet formulas.
One column would identify the range you're looking for (e.g. "0 - 20%" in one cell, "21 - 40%" in the next cell).
Then you can use a COUNTIFS statement in a second column to look into your source sheet for your ranges, like so:
=COUNTIFS({Percent Column}, <= 0.2)
Then for the next range:
=COUNTIFS({Percent Column}, > 0.2, {Percent Column}, <= 0.4)
And the next...
=COUNTIFS({Percent Column}, > 0.4, {Percent Column}, <= 0.6)
And so on!
Then you can use this Metric sheet as the source for your Chart. Here's more information:
COUNTIFS Function / Create cross sheet references to work with data in another sheet
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you !! This was exactly what I needed.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!