VSTACK data from multiple sheets and filter results for specific dates

newxl

New Member
Joined
Apr 14, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Creating an excel spreadsheet that will have multiple users inputting data in specific sheets. I’m then planning on using VSTACK to combine the data from all their sheets to one sheet and have a "from" and "to" date search box to allow a user to view rows that fall in between those specific dates and also a search box to search all the rows.

Once I learned about VSTACK it seemed to be faster than Power Query as there is no need for the users to hit refresh. I’m trying to make it as simple as possible for the end-user.

I thought I could have VSTACK in one sheet with all the data combined and then use the FILTER function in another sheet where I'll have the search boxes. I can't seem to make the functions work. Getting VALUE error. CALC error.

One sheet (DATA) where I'm calling all the various sheet/table data where Column A are Dates in the format, 14-APR-24:

Excel Formula:
=VSTACK(Table1,Table2,Table3,Table4,Table5,Table6)

Then use FILTER in another sheet using that VSTACK data.

Excel Formula:
=FILTER(Data,(Data!A2:A20000>=N1)*(Data!A2:A20000<=O1))

I haven't been able to get it to work.

Thanks.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Do you mean something like this:

20240415 Vstack Filter newxl.xlsx
AB
1Date From19/04/2024
2Date To11/05/2024
3
4
5
6DateValue
720/04/2024150
830/04/2024160
910/05/2024170
1020/04/2024250
1130/04/2024260
1210/05/2024270
1320/04/2024350
1430/04/2024360
1510/05/2024370
Summary
Cell Formulas
RangeFormula
A7:B15A7=FILTER(DATA!A2#,(CHOOSECOLS(DATA!A2#,1)>=$B$1)*(CHOOSECOLS(DATA!A2#,1)<=$B$2),"")
Dynamic array formulas.


Where the Data VStack sheet looks like this:

20240415 Vstack Filter newxl.xlsx
AB
1DateValue
210/04/2024140
320/04/2024150
430/04/2024160
510/05/2024170
620/05/2024180
710/04/2024240
820/04/2024250
930/04/2024260
1010/05/2024270
1120/05/2024280
1210/04/2024340
1320/04/2024350
1430/04/2024360
1510/05/2024370
1620/05/2024380
DATA
Cell Formulas
RangeFormula
A2:B16A2=VSTACK(Table1,Table2,Table3)
Dynamic array formulas.
 
Upvote 0
Perfect, thanks!

I’m running into a problem. How can I allow users to add info.(in the next column) that will be saved and will stay locked with that filtered or VSTACK row? I have users that need to add data to rows based on the filtered results. How can this be done?
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,178
Members
452,615
Latest member
bogeys2birdies

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