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 information? 👀 | 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 information? 👀 | 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
- 66.2K Get Help
- 430 Global Discussions
- 150 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 500 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!