Show only columns/rows where information where data is entered

anjadevilliers

New Member
Joined
Aug 28, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have a large sheet with column headings and row labels. I want to create a second sheet and, automatically, only show the columns and rows where there is information completed. This has to be automated, thus I can't use a filter on the sheet.

In the image example - on a secondary tab I want to show the result should exclude the columns Tuesday and Saturday (as they have no data) and it should exclude the road Simon (as again there is no data for that row)

I hope someone can help.
 

Attachments

  • Screenshot 2024-08-28 124537.png
    Screenshot 2024-08-28 124537.png
    6.7 KB · Views: 5

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi & welcome to MrExcel.
How about
Fluff.xlsm
ABCDEFGHIJKLM
1MonTueWedThuFriSatSun
2JohnSchoolSwimJohnMonSchool
3PeterGymParkJohnFriSwim
4PaulGymPeterWedGym
5SimonPeterSunPark
6FelixSwimParkPaulWedGym
7FelixThuSwim
8FelixSunPark
Sheet5
Cell Formulas
RangeFormula
K2:M8K2=LET(d,B2:H6,HSTACK(TOCOL(IF(d<>"",A2:A6,1/0),2),TOCOL(IF(d<>"",B1:H1,1/0),2),TOCOL(d,1)))
Dynamic array formulas.
 
Upvote 0
Hi - Thank you for the welcome :)

Is there a any way to get the results in the same format, just excluding the columns and rows without the data - like the image attached
 

Attachments

  • Screenshot 2024-08-28 135454.png
    Screenshot 2024-08-28 135454.png
    5.5 KB · Views: 2
Upvote 0
How about
Excel Formula:
=LET(d,A1:H100,FILTER(FILTER(d&"",BYROW(d,LAMBDA(br,COUNTA(br)>1))),BYCOL(d,LAMBDA(bc,COUNTA(bc)>1))))
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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