This problem illustrates how to use the IF function to return different calculations.
At the core, this formula uses a singleIF function.
Notice B5 is still arelative referencebecause we want the reference to change as the formula is copied.
More than one condition can be tested by nesting IF functions.
The IF…