Newbie: Return values from one sheet to another if not blank

cburket

New Member
Joined
May 15, 2024
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
  2. Web
Hi Excel geniuses!

I have a master sheet that is fed by a MS Form collecting data. In the workbook, along side the master sheet are additional sheets that I'd like to have a small range of the data from the master sheet displayed—if not blank.

Each user that completes a form will produce data that collects in different areas of the Master Sheet, so the goal is to only populate the additional sheets with data when there is data in that specific section collected.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Welcome to the Board!

You can use the new Filter function to dynamically pull data from your Master sheet to the other sheets.
It is a spill function, so you only have to enter the formula in one cell on the other sheets, and all the matching data will automatically spill over to the other cells.
See: FILTER function - Microsoft Support
 
Upvote 0
Welcome to the Board!

You can use the new Filter function to dynamically pull data from your Master sheet to the other sheets.
It is a spill function, so you only have to enter the formula in one cell on the other sheets, and all the matching data will automatically spill over to the other cells.
See: FILTER function - Microsoft Support
Thanks Joe! This is perfect. If I wanted to return the results from Column B and G:L. how would I do that? Here is my working formula:
=FILTER(MASTER!G:L,MASTER!F:F=A2,"")

Thanks in advance!
 
Upvote 0
Thanks Joe! This is perfect. If I wanted to return the results from Column B and G:L. how would I do that? Here is my working formula:
=FILTER(MASTER!G:L,MASTER!F:F=A2,"")

Thanks in advance!
With two formulas in cells next to each other, i.e.
in first cell:
Excel Formula:
=FILTER(MASTER!B:B,MASTER!F:F=A2,"")
and then in cell right next to it on the right side:
Excel Formula:
=FILTER(MASTER!G:L,MASTER!F:F=A2,"")
 
Upvote 0
Actually, you can combine the two formulas in one cell if you use the HSTACK function, like this:
Excel Formula:
=HSTACK(FILTER(Master!B:B,Master!F:F=A2,""),FILTER(Master!G:L,Master!F:F=A2,""))

Here are details on the HSTACK function:
 
Upvote 0
Solution
Actually, you can combine the two formulas in one cell if you use the HSTACK function, like this:
Excel Formula:
=HSTACK(FILTER(Master!B:B,Master!F:F=A2,""),FILTER(Master!G:L,Master!F:F=A2,""))

Here are details on the HSTACK function:
Perfect! This is exactly what I needed. Thanks Joe!
 
Upvote 0

Forum statistics

Threads
1,224,943
Messages
6,181,913
Members
453,071
Latest member
Gizmo2024

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