Combining Filter function with Indirect/Concatenate to look up from another worksheet

wilsonb78

New Member
Joined
Apr 4, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,
I've created a formula that works fine if it is within the sheet where the data originates, if is filtering the routes our vans will be taking and excludes any blank routes (if a van is not scheduled out that day). But I want to have the summary in another sheet dynamically changing based on today's date.
The filter I have in the sheet named 'Routes' is =FILTER(CE113:CE122,(CE113:CE122<>""),"")
I can get it working in another sheet if I ditch the "<>0" part, but then I end up with an ugly result that has blanks.
The filter I used from the other sheet is this:
=FILTER(INDIRECT(CONCATENATE("Routes!"&A22&113&":"&A22&122),TRUE),(CONCATENATE("Routes!"&A22&113&":"&A22&122)<>""))
Where A22 contains the letters of the column I need to reference and the data is between row 113 and row 122.
I just don't know how/where to get the rule to ignore blanks into the indirect/concatenated formula.

Any help gratefully received.

Thanks
 

Attachments

  • excel query1.png
    excel query1.png
    5.7 KB · Views: 19
  • excel query2.png
    excel query2.png
    3.7 KB · Views: 19

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi & welcome to MrExcel.
How about
Excel Formula:
=LET(d,INDIRECT("Routes!"&A22&"113:"&A22&"122"),FILTER(d,d<>""))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,879
Messages
6,175,145
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