Index with small limitations

mbarbera83

New Member
Joined
Feb 17, 2015
Messages
27
Hi all.
I am trying to create a list of products by brand, using the Index function with Small, but it seems that my data base is too big for the memory. when i index only to row 21, then it works, but when i take it to row 1500 which I need, i get an error

=IF(ROWS(E$3:E3)>E$2,"",INDEX($A$2:$A$21,SMALL(IF($B$2:$B$21=E$1,ROW($B$2:$B$21)-ROW($B$2)+1),ROWS(E$3:E3))))

is there any way to get around this?


<tbody>
</tbody>


ProductBrandBrand1Brand2
product1Brand1=count Brand1 in column B=count Brand2 in column
product2Brand2FUNCTION GOES HERE
product3Brand1

<tbody>
</tbody>
 
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
THANKS A MILLION.

I noted that the actual brands that i was looking up, had "_" characters in, but when i removed these for pure text based lookups, then it worked, that is why it worked for the example, but when i put the actual data in, it did not work.

thanks for the code and the help!!

I assume you are using the formula I set up for you...
 
Upvote 0
I assume you are using the formula I set up for you...

i am thanks.
now knowing that it was the "_"character causing the problem - is there a reason why i should use your given formula, over my original one.

yours works, so not going to change it - more for my understanding - where there limits/potential problems with my original code?
 
Upvote 0
i am thanks.
now knowing that it was the "_"character causing the problem - is there a reason why i should use your given formula, over my original one.

yours works, so not going to change it - more for my understanding - where there limits/potential problems with my original code?

At a closer look, I see the formulas are the same. I missed I guess your count specification.
 
Upvote 0

Forum statistics

Threads
1,216,360
Messages
6,130,175
Members
449,562
Latest member
mthrasher16

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