aggregating two lists

onsman

New Member
Joined
Jan 31, 2005
Messages
1
I have two lists. First is alphanumeric data (eg. "AB10", BD12"...). Second is floating point numeric.

I need to create a crosstab style table which the first list down the left, and counts in the following columns of the number of records within specific ranges.

There may be two or more records with the same alphanumeric data reading down eg.
AB10 | 1234.56
AB10 | 456456456
AB12 | 45.7
AB45 | 3455

I am familiar with SUMPRODUCT crosstab style tables on two numeric lists, but this does not seem to work as first column is alphanumeric.

Any thoughts on how to adapt one?

Cheers
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Welcome to the bord!

Maybe something like this:

E4: =SUMPRODUCT(--($A$2:$A$5=$D4),--($B$2:$B$5>=E$1),--($B$2:$B$5<=E$2))

Drag right / down.
Book1
ABCDEFG
1PartValueMin12000
2AB101234.56Max100010000
3AB10456456456Part
4AB1245.7AB1000
5AB453455AB1210
6AB4501
Sheet5
 
Upvote 0

Forum statistics

Threads
1,207,439
Messages
6,078,573
Members
446,349
Latest member
Malroos7912

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