Let's together create formula with nested if with combined and & or functions. You will need that to select data from your table. This Excel's lesson is for analytics who would like to select some particular data from the huge data set.
1. You will input the data and establish a criteria. In the following example, the selection criteria is that players with batting average above 25 and strike rate above 30 or batting average above 60 will be selected.
2. In the IF function, you will first insert the OR statement which in this example is batting average should be above 60. We will enter this in Excel as follows:
3. Now, in the IF function, we will insert the AND statement which in our example is that batting average should be above 25 and strike rate above 30. We will enter this in Excel highlighted as follows:
4. Finally, we will first input what would be the outcome if criteria is fullfilled and then we will enter what will be the outcome if criteria is not fulfilled. (In this case, it is select and reject)
Formula here is:
Feel free to use it. Check the image above to see which addresses you may need to change.