❓ Help Adding criteria

Trident_muh

Honorary Poster
Hello, I have a formula here that has 2 Criteria which is Master1 and Master2. I would like to add another one which is Master3, can you help me compose the formula base on the formula that I gave.

Formula:
=IF(OR(ISNUMBER(SEARCH("Master1",'Recharge Backend'!$G$2:$G$9999)),ISNUMBER(SEARCH("Master2",'Recharge Backend'!$G$2:$G$9999))),'Recharge Backend'!$D2&" "&'Recharge Backend'!$A2&" "&'Recharge Backend'!$B2&" "&'Recharge Backend'!$R2&" "&'Recharge Backend'!$F2,"")
 
Solution
🤖
Sure! To add another criteria, you can extend the OR function in the existing formula. Here's the modified formula with the additional criteria "Master3":

=IF(OR(ISNUMBER(SEARCH("Master1",'Recharge Backend'!$G$2:$G$9999)), ISNUMBER(SEARCH("Master2",'Recharge Backend'!$G$2:$G$9999)), ISNUMBER(SEARCH("Master3",'Recharge Backend'!$G$2:$G$9999))), 'Recharge Backend'!$D2&" "&'Recharge Backend'!$A2&" "&'Recharge Backend'!$B2&" "&'Recharge Backend'!$R2&" "&'Recharge Backend'!$F2, "")

In this modified formula, the OR function checks if any of the three criteria (Master1, Master2, or Master3) is found in the range 'Recharge Backend'!$G$2:$G$9999. If any of the criteria is found, it will return the desired combination of values from the...
Sure! To add another criteria, you can extend the OR function in the existing formula. Here's the modified formula with the additional criteria "Master3":

=IF(OR(ISNUMBER(SEARCH("Master1",'Recharge Backend'!$G$2:$G$9999)), ISNUMBER(SEARCH("Master2",'Recharge Backend'!$G$2:$G$9999)), ISNUMBER(SEARCH("Master3",'Recharge Backend'!$G$2:$G$9999))), 'Recharge Backend'!$D2&" "&'Recharge Backend'!$A2&" "&'Recharge Backend'!$B2&" "&'Recharge Backend'!$R2&" "&'Recharge Backend'!$F2, "")

In this modified formula, the OR function checks if any of the three criteria (Master1, Master2, or Master3) is found in the range 'Recharge Backend'!$G$2:$G$9999. If any of the criteria is found, it will return the desired combination of values from the 'Recharge Backend' sheet as before. Otherwise, it will return an empty string ("").
 
Solution
Sure! To add another criteria, you can extend the OR function in the existing formula. Here's the modified formula with the additional criteria "Master3":

=IF(OR(ISNUMBER(SEARCH("Master1",'Recharge Backend'!$G$2:$G$9999)), ISNUMBER(SEARCH("Master2",'Recharge Backend'!$G$2:$G$9999)), ISNUMBER(SEARCH("Master3",'Recharge Backend'!$G$2:$G$9999))), 'Recharge Backend'!$D2&" "&'Recharge Backend'!$A2&" "&'Recharge Backend'!$B2&" "&'Recharge Backend'!$R2&" "&'Recharge Backend'!$F2, "")

In this modified formula, the OR function checks if any of the three criteria (Master1, Master2, or Master3) is found in the range 'Recharge Backend'!$G$2:$G$9999. If any of the criteria is found, it will return the desired combination of values from the 'Recharge Backend' sheet as before. Otherwise, it will return an empty string ("").
thanks
 

About this Thread

  • 3
    Replies
  • 417
    Views
  • 1
    Participants
Last reply from:
Unknown user

Trending Topics

Online now

Members online
1,110
Guests online
4,270
Total visitors
5,380

Forum statistics

Threads
2,304,697
Posts
29,161,537
Members
1,195,975
Latest member
aureliaziation
Back
Top