COUNTIF Solution was too much for Excel. Is this for PowerPivot?

Monsignor

Board Regular
Joined
May 30, 2011
Messages
162
I solved this with 1000 rows using COUNTIF, MATCH and INDEX. But when the user adds 100,000 rows of data (with the potential for 500,000) Excel crashes. Is this better handled in PowerPivot?

The image below is a simplification of what's happening.
The source data is just the 2 columns in A and B.
The desired result is complicated by the interest of choosing only the states of interest, as opposed to rearranging the entirety of the original data.



rearrange-lists.png



Again, I solved this with a solution that seemed pretty elegant. Regular Excel just can handle the magnitude. I've heard that Excel gets cranky around 500,000 rows no matter how simple the data set is. I rarely deal with data sets that large.
 
Thanks for the input, all!
I wrote some VBA code that loops through and lines things up. And it wasn't really so bad.
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,223,970
Messages
6,175,726
Members
452,667
Latest member
vanessavalentino83

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