Oct 25 2023 08:57 AM
Dear Gents,
i have a formula and need to add a condition if i need to get data if meet the condition for both parts of formula like(if range()="Contract",get the data matched
VSTACK(FILTER('Under Collection'!B:B,ISNUMBER(FIND(Aging!$B$2,'Under Collection'!C:C))),FILTER(AR!B:B,ISNUMBER(FIND(Aging!$B$2,AR!C:C))))
N.B: the database in two sheets
Thanks in advance
Oct 25 2023 09:19 AM
Oct 25 2023 09:45 AM
thank you for your reply, i am unfortuntly fail to add the criteria in the formula, i have attached the original sheet culumn B is the range in both sheets.
if you please reform the formula in the aging sheet to get the data in a simple form.
Thanks
Oct 25 2023 12:05 PM
SolutionThat could be
=FILTER( 'Under Collection'!C:C,
ISNUMBER(SEARCH(Aging!$B$2,'Under Collection'!C:C))*
ISNUMBER(SEARCH($C$2,'Under Collection'!B:B))
)
- AND(), OR() don't work with the FILTER(). Use * and + instead
- FIND() is case sensitive, I guess in your case SEARCH() is more suitable