Index on other sheets.

Xylia

New Member
Joined
Jun 15, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hey everyone,

I am sure I am over complicating a simple task, so if there is an easy way I am all ears.

I have 4 separate tables I have been asked to add in an attendance column, if attendance is less than 90% I want ID, child's name, school and attendance pulled into a new table. So far I have managed to do this from only 1 table and only if it is on the same sheet. Is there a way to a) include the other 3 tables and b) have my new table on a separate sheet.

the formula I am currently using is

=INDEX($A$2:$E$120,SMALL(IF((INDEX($A$2:$E$120,,$I$4)<=$I$3)*(INDEX($A$2:$E$120,,$I$4)>=$I$2),MATCH(ROW($A$2:$E$120),ROW($A$2:$E$120)),""),ROWS(H14:$H$14)),COLUMNS($M$4:M4))

Thanks a lot in advance.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
how about using

=VSTACK(FILTER(Sheet2!A2:D4,Sheet2!D2:D4<0.9),FILTER(Sheet3!A2:D4,Sheet3!D2:D4<0.9),FILTER(Sheet4!A2:D4,Sheet4!D2:D4<0.9),FILTER(Sheet5!A2:D4,Sheet5!D2:D4<0.9))

Book7
ABCD
1IDChildSchoolattendance
2sheet2-1sheet2-a1a10.1
3sheet2-3sheet2-a3a30.6
4sheet3-1sheet3-a1a10.1
5sheet3-3sheet3-a3a30.6
6sheet4-1sheet4-a100.1
7sheet4-3sheet4-a300.6
8sheet5-1sheet5-a100.1
9sheet5-3sheet5-a300.6
Sheet1
Cell Formulas
RangeFormula
A2:D9A2=VSTACK(FILTER(Sheet2!A2:D4,Sheet2!D2:D4<0.9),FILTER(Sheet3!A2:D4,Sheet3!D2:D4<0.9),FILTER(Sheet4!A2:D4,Sheet4!D2:D4<0.9),FILTER(Sheet5!A2:D4,Sheet5!D2:D4<0.9))
Dynamic array formulas.


school-attendance-ETAF.xlsx
ABCD
1IDChildSchoolattendance
2sheet2-1sheet2-a1a10.1
3sheet2-2sheet2-a2a21
4sheet2-3sheet2-a3a30.6
Sheet2


school-attendance-ETAF.xlsx
ABCD
1IDChildSchoolattendance
2sheet3-1sheet3-a1a10.1
3sheet3-2sheet3-a2a21
4sheet3-3sheet3-a3a30.6
Sheet3


same on other sheets

dropbox version
will only be available for a few days


A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
Hi & welcome to MrExcel.

Can you post some sample data?

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Hey thanks for your responses, I am not great at this but I'm keen to learn. As I am on my work PC i can't download anything but here is some fake data :) as you will see we have other information that we need to manage and we don't want to duplicate information - hence I want this data on a different sheet. I hope this is clear but if you need more information please just ask.

Thanks again.

 
Upvote 0
how about

=VSTACK(FILTER(Data1!A2:D39,(Data1!D2:D39<90)*(Data1!A2:A39<>"")),FILTER(Data2!A2:D39,(Data2!D2:D39<90)*(Data2!A2:A39<>"")),FILTER(Data3!A2:D39,(Data3!D2:D39<90)*(Data3!A2:A39<>"")),FILTER(Data4!A2:D39,(Data4!D2:D39<90)*(Data4!A2:A39<>"")))

Test data-ETAF.xlsx
ABCD
2Clark Kent 0Cake89
3Robert Bruce Banner8Cake74
4Anthony Edward Stark9Cake56
5Pietro Maximoff7Cake55
6Lucas Lawson5Cucumber 84
7Henry Jonathan5Cucumber 74
8Janet van Dyne5Cucumber 77
9Thor Odinson7Cucumber 62
10Richard Milhouse7Cucumber 89
11Steven Grant Rogers7Cucumber 88
12Jacques Duquesne6Lemon52
13Victor Shade6Lemon15
14Natalia Alianovna Romanova4Lemon35
15Henry P. McCoy2Lemon44
16Heather Douglas2Lemon49
17Patsy Walker1Lemon69
18Simon Williams1Lemon79
19Zackary Bentley0Kiwi89
20Mckayla Dyer8Kiwi74
21Dominique Sullivan9Kiwi56
22Dashawn Owen7Kiwi55
23Gabriella Galvan5Kiwi84
24Holden Ferrell5Kiwi74
25Taylor Murray5Kiwi77
26Aria Kemp7Kiwi62
27Kamryn Cobb7Kiwi89
28Tristin Roberson7Kiwi88
29Leila Cherry6Kiwi52
Attendance
Cell Formulas
RangeFormula
A2:D69A2=VSTACK(FILTER(Data1!A2:D39,(Data1!D2:D39<90)*(Data1!A2:A39<>"")),FILTER(Data2!A2:D39,(Data2!D2:D39<90)*(Data2!A2:A39<>"")),FILTER(Data3!A2:D39,(Data3!D2:D39<90)*(Data3!A2:A39<>"")),FILTER(Data4!A2:D39,(Data4!D2:D39<90)*(Data4!A2:A39<>"")))
Dynamic array formulas.


dropbox version - only available for a few days

I have also added a comparison in F,G,H,i
 
Last edited:
Upvote 0
Solution
Thanks for that, how about
Excel Formula:
=LET(d,TAKE(VSTACK(Table1,Table135,Table13,Table134),,4),FILTER(d,INDEX(d,,4)<90))
 
Upvote 0
That would have been perfect!!! however i have just checked and we don't have office 356 we have 2019 and it doesn't have the =vstack and i don't seem to be able to download it.. ****!
 
Upvote 0
I have done it!!! thank you so much for your help :)
 
Upvote 0
would you mind posting the formula you used , it may help others who are searching the forum or google who need a similar solution and dont have the later versions of excel
 
Upvote 0

Forum statistics

Threads
1,215,390
Messages
6,124,670
Members
449,178
Latest member
Emilou

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