Create histogram based on a column

neodjandre

Well-known Member
Joined
Nov 29, 2006
Messages
950
Office Version
  1. 2019
Platform
  1. Windows
Hello,

I have a column which represents a list of countries and the countries are repeated more than once..

I need to build a histogram which shows the number of times each country is repeated in the column..

what's the easiest way of doing this?

thanks
andy
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

thorpyuk

Well-known Member
Joined
Mar 14, 2006
Messages
1,453
Can you not create a new table of unique country names, then apply a formula next to it like:

=COUNTIF(A1:A100,C1)

Where A1:A100 is your range of country names with duplicates, and C1 is the cell with your unique country on....

Then create a chart from your new table (F11)
 
Upvote 0

neodjandre

Well-known Member
Joined
Nov 29, 2006
Messages
950
Office Version
  1. 2019
Platform
  1. Windows
hi thorpyuk,

i was actually thinking of a "one click" solution...

your idea is a bit time-consuming ...

Some clever guy needs to come up with a macro I would think!
 
Upvote 0

Forum statistics

Threads
1,190,781
Messages
5,982,871
Members
439,803
Latest member
sushilneupane

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top