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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You should be able to use something like:

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

Forum statistics

Threads
1,216,500
Messages
6,131,016
Members
449,615
Latest member
Nic0la

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