• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

rules for when formula is applied

Hi Guys,

I have a sheet that is collecting information.

Can I alter the formula so it only works when a certain keywords are in a certain cell.

For example:

This is my formula,

=IFERROR(INDEX(Sales!L:L,MATCH(IN!E4177,Sales!C:C,0)), "")

I only want this formula to apply if cell C4177 contains “Debit Card” or “Credit Card”

Many thanks guys

Regards

Brian
 
Hi Brain,
Try this:

=IF(OR(C4177="Debit Card",C4177="Credit Card"),IFERROR(INDEX(Sales!L:L,MATCH(IN!E4177,Sales!C:C,0)), ""),"")

Regards,
 
Back
Top