FALSE Return when using IF Function.

bardown205

New Member
Joined
Mar 3, 2022
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I am new to excel and also new to the this forum.

I have a data set which I am trying to return values to another table.

The data I want returning needs to meet three different criteria, I have achieved this using a nested IF function (perhaps not the cleanest solution but it works, kind of).

My only issue is that prior to my desired value showing, it shows FALSE for all returns.

So;
FALSE, data1, data2, data3

My current formula is:
=TEXTJOIN(", ",TRUE,UNIQUE((IF(Sheet1!E:E=Info!A2,IF(Sheet1!G:G=D2,IF(Sheet1!S:S=Info!$G$1,Sheet1!K:K,""))))))
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi & welcome to MrExcel.
How about
Excel Formula:
=TEXTJOIN(", ",TRUE,UNIQUE(FILTER(Sheet1!K:K,(Sheet1!E:E=A2)*(Sheet1!G:G=D2)*(Sheet1!S:S=$G$1),"")))
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
=TEXTJOIN(", ",TRUE,UNIQUE(FILTER(Sheet1!K:K,(Sheet1!E:E=A2)*(Sheet1!G:G=D2)*(Sheet1!S:S=$G$1),"")))

Excellent, thanks that has worked a treat.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
I have an adaption to the previously used formula, I'm trying to add a filter to only bring back results of past events.

=TEXTJOIN(", ",TRUE,UNIQUE(FILTER(JR_MAINT!I:I,(JR_MAINT!E:E=[@ERM])*(JR_MAINT!L:L=Table811[[#Headers],[Level 2]])*(JR_MAINT!K:K<TODAY()),"")))

This is what I have but it does not return any results. When I change the direction of the < before TODAY it brings back all results with no date stamp?
 
Upvote 0
Are you sure that there are rows which meet all 3 criteria?
 
Upvote 0
Glad you sorted it & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,028
Members
448,940
Latest member
mdusw

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