create table from data on second sheet

Mattlake

Board Regular
Joined
Apr 9, 2020
Messages
91
Office Version
  1. 2021
Platform
  1. Windows
Please tell me to go away if you like.

I have a table full of names (starting at B3 to H3), column A has which sites to work at.

1707315468854.png


I need to 'transfer' the data in columns D to H from this table to another sheet depending on the site in column A

I think this is a VLookup or a filter formula but neither of these works.

Any guidance would be much appreciated

Regards
Matthew
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
The new Excel FILTER function is not available in Excel 2016 (what you have listed as your current version).
It came out after that (see: FILTER function - Microsoft Support).

If you want to copy data from this table to other sheets based on the "Site", there are various of doing that, such as:
- a series of VLOOKUP or other lookup functions
- an Advanced Filter, which allows you to filter data to another location (see here: Excel Advanced Filter – how to create and use)
- VBA
- the new FILTER function, if you are using a new version of Excel that has it

I think an Advanced Filter (as described in my link above) should probably serve you well.
 
Upvote 0
Thank you for this, forgot to change we now have office 2021.

I have got
Excel Formula:
 =INDEX(firstaiders,1,2)
to work for the first line, and apart from changing ever row number is there a way to fill down 60 lines?

just realised I need to get it to only show if field A4 is in column 1 of the firstaiders

so really not a clue now
 
Last edited:
Upvote 0
I assume "firstaiders" is a named range. What range exactly is it set to?

It might be good to see some actual sample data and expected results. Just "dummy up" the data, if you have to (remove any sensitive 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
Thank you, I will get my IT team to allow me to install the addon
 
Upvote 0
just an update I have managed to use
Excel Formula:
=FILTER('First Aiders 1'!B:H,'First Aiders 1'!A:A='First Aiders'!I4," ")

This does the section that i want to show (first aiders 1 columns B to H) looking at the column of the sites (First aiders 1 column A) and I4 is the word I need to filter
 
Upvote 0
Solution

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