Count values on worksheet & show in Listbox on worksheet

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,890
Office Version
  1. 2007
Platform
  1. Windows
I would like to count specific values on my worksheet & show them in the worksheet Listbox.

Some info for you.

Worksheet name is MCVIN
The column where the values are is always column E
The first row of values start at row 5
The values to search for are AFRICA, CBR, TIGER & ZZR
The worksheet Listbox is called ListBox1

Please advise.

Listbox should then show something like this
AFRICA 7
CBR 4
TIGER 12
ZZR 8


The Listbox i assume will just update itself as more values are added without the need to use command button ?

Have a nice day
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Just a thought that it doesnt have to be a Listbox.

Maybe have a code in cells t5o shows count value for AFRICA cell Z2 for CBR etc etc

So it would be like this
Cell Y1 text would be AFRICA the code would then be in cell Z1 to show counted value
Cell Y2 text would be CBR "" Z2 ""
Cell Y3 text would be TIGER "" Z3 ""
Cell Y4 text would be ZZR "" Z4 ""
 
Upvote 0

Forum statistics

Threads
1,226,117
Messages
6,189,061
Members
453,524
Latest member
AshJames

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
Back
Top