Filter/Xlookup error

Jedi Master

Board Regular
Joined
Jun 10, 2024
Messages
70
Office Version
  1. 365
Platform
  1. Windows
Hello Everyone! Would someone be able to help me with understanding and fixing the error I am getting when trying to filter results? It is finding the correct results(Name values based on date entered and hours >0), but returning a portion of them as errors. When I go through the calculation steps it shows that it finds the correct values but returns some portion of the list as #N/A:

1719322257757.png


1719321948603.png

Below is the referenced PM Project tracker in the above formula bar:

1719322051445.png
 

Attachments

  • 1719321880020.png
    1719321880020.png
    24.4 KB · Views: 2

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Get rid of the 2nd IF & just use the filter.
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
You're welcome & thanks for the feedback.
Using the same data sets and screenshots is there a way to filter the numerical values to just the numbers above zero for the corresponding date for the "HRS" column in the 2nd screenshot? Would this be an index/match function?
 
Upvote 0
If you are on about col E, then there are no dates for that column.
 
Upvote 0
If you are on about col E, then there are no dates for that column.
It would be pulling the corresponding values of hours from the array for the given date matched to the name. Should look like the below:
1719338090505.png
 
Upvote 0
You can use LET to store the result of the xlookup in a variable & then use vstack to add that to the range being filtered.
 
Upvote 0
You can use LET to store the result of the xlookup in a variable & then use vstack to add that to the range being filtered.
While I could not get that to work as I am unfamiliar with those functions, I did get the following to work, thank you very much for your help!:

=IF(ISBLANK($G11),"",IF(SUMPRODUCT(('PM Project Tracker'!M9:UM21)*('PM Project Tracker'!C9:C21=G15)*('PM Project Tracker'!M4:UM4=G11))=0,"",SUMPRODUCT(('PM Project Tracker'!M9:UM21)*('PM Project Tracker'!C9:C21=G15)*('PM Project Tracker'!M4:UM4=$G11))))
 
Upvote 0
Can you post your original formula?
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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