Forum Discussion

Hussein_Mohamed's avatar
Hussein_Mohamed
Brass Contributor
Oct 25, 2023
Solved

formula assist

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('Unde...
  • SergeiBaklan's avatar
    SergeiBaklan
    Oct 25, 2023

    Hussein_Mohamed 

    That 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