Working across sheets

fatboy95

New Member
Joined
Mar 9, 2011
Messages
3
I am trying to build a spreadsheet that has multiple sheets.

NameList sheet is built like this
Column A
A1 = 1
A2 = 2
A3 = 3

Column B
B1 =IF(COUNTIF('J-3'!$A$2:$D$41,A1)>=1,"",ROW())
B2 =IF(COUNTIF('J-3'!$A$2:$D$41,A1)>=1,"",ROW())
B3 =IF(COUNTIF('J-3'!$A$2:$D$41,A1)>=1,"",ROW())

Column C
C1 =IF(ROW(A1:A15)-ROW(A1)+1>COUNT(B1:B15),"",INDEX(A:A,SMALL(B1:B15,ROW(INDIRECT("1:"&ROWS(A1:A15))))))
C2
=IF(ROW(A1:A15)-ROW(A1)+1>COUNT(B1:B15),"",INDEX(A:A,SMALL(B1:B15,ROW(INDIRECT("1:"&ROWS(A1:A15))))))
C3
=IF(ROW(A1:A15)-ROW(A1)+1>COUNT(B1:B15),"",INDEX(A:A,SMALL(B1:B15,ROW(INDIRECT("1:"&ROWS(A1:A15))))))

This is working great off of sheet J-3. I can't figure out how to make it work when I add more sheets like J-4 and so on.

Thanks for any help...

Thanks for any help
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Insufficient information to help. Do you have a sheet called NameList that does the reference to J-3, J-4 etc? Perhaps you should do all the calculations in the J-3, J-4 sheet and simply summarise in the NameList sheet. Post and example and I'm sure we can find a solution.
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,843
Members
452,948
Latest member
UsmanAli786

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