Filtered Named Range display questions

jdt102010

New Member
Joined
Oct 8, 2020
Messages
9
Office Version
  1. 365
Platform
  1. Windows
1. The highlighted formula (YELLOW) is filtering a named range from another sheet, and displaying only the first five columns. Notice that the Target Date column is 1/0/1900 (RED) This is because there is no date entered in that cell in the named range. How do I write the formula to display a blank cell (or something like "NA") in these cases?
2. The Task name in column B (BLUE) isn't showing all of the task name, because it isn't wrapping the text. Is it possible to make it so it will always wrap the text for this column?
3. Finally, is there a way to put two of these filtered named ranges on the same page one over the other (vertically), so that depending on the number of rows, it bumps down the lower table to accommodate larger numbers of rows?
1690318773127.png
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
So I spent some time on this, and you're right. It's weird. I was sure that simply typing "" in the if_empty field would produce a blank space. Particularly since the vid on the link below says to do exactly that at the 49 second mark. Doesn't work though. The dynamic array I built to troubleshoot this always returns with zeros. I did find a workaround, but it's far from ideal. You can go into format cells-->number, and select "custom" in the type field you can type anything you'd like and that is what will be displayed for zeros. In the example I have pictured, I chose a single dash. The issue is, when you do enter in the dates, you'll have to go back in and change the format to date. Best I can do bro.

 

Attachments

  • excel date q.PNG
    excel date q.PNG
    33.2 KB · Views: 6
Upvote 0
Can you post both formulae, rather than an image of one of them.
 
Upvote 0
Here is the formula: =CHOOSECOLS(FILTER(tasklist,tasklist[Client]=A1),1,2,3,4,5)
 
Upvote 0
And the other formula you want to stack below it?
 
Upvote 0
You can change the Number formatting in Custom Number Formats to show dates when there is a date and either nothing or any text string in place of zero values by adding 2 semicolons after the date format to define the zero number format.

to display as nothing add 2 semicolons after the custom number format:
mm/dd/yyyy;;

to add "N/A" in place of zeros
mm/dd/yyyy;;"N/A"
 
Upvote 0
The named range is "tasklist" and the column name is "Client". This formula compares
And the other formula you want to stack below it?
It would be essentially the same formula with an additional criteria that filters another column in the same named range. These are tasks, and they have a column that indicates status. As the status changes, that task be picked up by these filters accordingly. Does that make sense?
 
Upvote 0
Try like
Excel Formula:
=let(a,CHOOSECOLS(FILTER(tasklist,tasklist[Client]=A1),1,2,3,4,5),b,your other formula,VSTACK(IF(a="","",a),IF(b="","",b)))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,219
Messages
6,123,687
Members
449,117
Latest member
Aaagu

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