Several Problems in One - Auto fill formula to cell 'X', with sequential number change in formula. All using VBA.

jap7675

New Member
Joined
Nov 13, 2015
Messages
23
I have this formula, which does exactly what I want it to, but in a primative way. It searches for numbers that correspond to another sheet, and pulls out corresponding tag names. However it completes row by row.

I would like this formula to automatically repeat itself, for the amount of times that the number is present in the othre sheet.

E.g. In one sheet I have a column of 1, 2 & 3's. The formula searches (from a second sheet) and brings up tag names corresponding to every number 1 present. I want this formula to repeat for the amount of 1's there are. Bearing in mind, this amount could change.

At the same time, it needs to look through different rows: ROW('Compliation 1600 Daily'!1:1),ROW('Compliation 1600 Daily'!2:2),ROW('Compliation 1600 Daily'!3:3). I would also like it to do this automatically.

=INDEX('Compliation 1600 Daily'!G3:G243, SMALL(IF(1='Compliation 1600 Daily'!F3:F243, ROW('Compliation 1600 Daily'!F3:F243)-ROW('Compliation 1600 Daily'!F3)+1),ROW('Compliation 1600 Daily'!1:1)))
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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