Question: We want a function that ( a ) references Inv _ Num to determine the Inventory _ Class ( C , J , N ,
We want a function that a references
InvNum to determine the InventoryClass C J N Xb applies criteria to determine if
the purchase qualifies for any promotion, and if soc determine the amount of the
promotion. We can use a combination of the ISNUMBER and SEARCH functions to search
each InvNum for the letter C J N X corresponding to the Inventory class. Use the
following logic steps for the function in this column.
a Row : Begin with an IF statement, and use ISNUMBERSEARCH to reference
InvNum to determine if it contains C
i If true, then embed another IF statement to test the promotion criteria, ie IF
SOTotal
If true, then the promotion is multiplied by SOTotal
If false, the promotion is zero
ii If false ie if InvNum does not contain C
b Row : Begin with an IF statement, and use ISNUMBERSEARCH to reference
Inventory # to determine if it contains J
i If true, then embed another IFAND statement to test the promotion criteria,
ie IF SOTotal AND SODate is the Start Date of the
promotion AND SODate is the End Date of the promotion. Refence the
dates in the Promotions Worksheet absolute references!! or type in the
dates manually
TAYLOR, INC. Exercise: Revenue Recognition w Promotional Sales
If true, then the promotion is multiplied by SOTotal
If false, the promotion is zero
ii If false ie if InvNum does not contain J
c Row : Begin with an IF statement, and use ISNUMBERSEARCH to reference
Inventory # to determine if it contains N
i If true, then embed another IFAND statement to test the promotion criteria,
ie IF Quantity AND SODate is the Start Date of the promotion
AND SODate is the End Date of the promotion
If true, then the promotion is multiplied by the SOTotal
If false, the promotion is zero
ii If false ie if InvNum does not contain N
d Row : Begin with an IF statement, and use ISNUMBERSEARCH to reference
Inventory # to determine if it contains X
i If true, then embed another IFAND statement to test the promotion criteria,
ie IF Quantity AND SODate is the Start Date of the promotion
AND SODate is the End Date of the promotion
If true, then the promotion is multiplied by the SOTotal
If false, the promotion is zero
ii If false, return a value of zero.
Note: You need a final returned value of zero for if false outside of the final logic
statement, followed by several closed parentheses
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
