This might be simpler. With the sheet names listed in R1:R2 array-enter this formula in B2 and fill down.If you aren’t familiar with array-entered formulas array enter means the formula must be committed by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
This formula reflects querying Sheet1 and Sheet2. Since the layout of Sheet3 was different than the others I assumed you meant those sheets. This formula depends upon data in each sheet being in identical ranges.
Does this help?
Bookmarks