Google sheet filter function

Giovannicavuccio

New Member
Joined
Apr 17, 2024
Messages
1
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi guys, a silly question: is it possible to make it so that if I leave the cells with conditions empty, that condition is not counted? Let me explain better:

KLMNO
👤 Player🚺🚹 Gender🎚️Expertise📅 Weekday🕐 Hours
=filter functionMBeginnerMonedyPM

Right now, if for example I leave cell O8, which would be Hours blank the formula shows me ‘Player not found’ Instead, I would like to be shown all the player that got the other 3 conditions without caring about Hours. At the moment, I have tried to structure it like this, but it works fine only with gender (F/M) cause are only two options, but for the level and availability, things change. Could you help me?
Excel Formula:
=IFNA(FILTER(Names!A3:A1001;Names!E3:E1001=M8; (IF(L8=”"; (Names!B3:B1001=“M”)+(Names!B3:B1001=“F”); Names!B3:B1001=L8));((Names!I3:I1001=N8) + (Names!G3:G1001=N8) + (Names!H3:H1001=N8) + (Names!F3:F1001=N8) + (Names!F3:F1001=“Every day”)); (Names!J3:J1001=O8));“Player not found”)

I also tried to maybe put in the condition of the levels instead of
Excel Formula:
Names!E3:E1001=M8
this
Excel Formula:
if(M8=“”;TRUE;Names!E3:E1001=M8)
but it doesn’t work the same, could you help me? Thank you
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
You should be able to use something like:

(Names!B3:B1001=L8)+(L8="")
 
Upvote 0
Solution

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
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