🔒 Closed Adding criteria

Status
Not open for further replies.

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
 
Status
Not open for further replies.

About this Thread

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

Trending Topics

Online now

Members online
1,061
Guests online
12,295
Total visitors
13,356

Forum statistics

Threads
2,364,762
Posts
29,426,862
Members
1,048,732
Latest member
Zebraaa11
Back
Top