textjoin formula with multiple if statement not working properly specially start date to end date results not appear in formula result

chnder

New Member
Joined
Jul 2, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
my arry tet join formula is {=TEXTJOIN(",", TRUE,IF( F5:F12 >= K5, IF(G5:G12 <=L5, IF(J5="REVENUE", IF(A5 >=H5:I12, IF(A5<=I5:I12, D5:D12,""),""),""),""),""))}

ABCDEFGHIJKLM
A/C no.NamesDesignationtenure Fromtenure uptostart a/c noend a/c no.sectiondefaluting startdefaluting endname of all defaulters work during tenure
15010101​
AAAATH28-09-201930-09-2019
15000000​
16000000​
revenue
29-09-2019​
30-04-2023​
BBBBB,CCCCC,DDDDD,FFFFF,GGGGG,HHHHH
16050225​
BBBBBTH01-10-201930-04-2020
15000000​
16000000​
revenue
02-04-2021​
30-04-2023​
CCCCCTH01-04-202030-09-2020
15000000​
16000000​
DDDDDTH01-10-202030-04-2021
15000000​
16000000​
EEEEETH01-04-202130-09-2021
16000000​
17000000​
FFFFFTH01-10-202130-04-2022
15000000​
16000000​
GGGGGTH01-04-202230-09-2022
15000000​
16000000​
HHHHHTH01-10-202230-04-2023
15000000​
16000000​
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Does this get you what you are after ?
Excel Formula:
=TEXTJOIN(",",TRUE,FILTER($D$2:$D$9,($F$2:$F$9>=K2)*($G$2:$G$9<=L2)*($J$2:$J$9="revenue")*($H$2:$H$9<=A2)*($I$2:$I$9>=A2),""))
 
Upvote 0
Does this get you what you are after ?
Excel Formula:
=TEXTJOIN(",",TRUE,FILTER($D$2:$D$9,($F$2:$F$9>=K2)*($G$2:$G$9<=L2)*($J$2:$J$9="revenue")*($H$2:$H$9<=A2)*($I$2:$I$9>=A2),""))
filter formula not in my excel ,so formula not run , please help
 
Upvote 0
Welcome to the MrExcel board!

filter formula not in my excel ,so formula not run , please help
  1. Filter is a standard function in MS365. Have you checked for any updates for your Excel? Does that mean that your account details showing that your version is 365 is incorrect? If so, it would be a good idea to amend your details.

  2. If the formula does not 'run' then presumably it is not the solution to your problem, so I have removed the 'Mark as solution' from Alex's post for now.
 
Upvote 0

Forum statistics

Threads
1,215,123
Messages
6,123,181
Members
449,090
Latest member
bes000

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