Sample Worksheet: Thinking Question
Sample Worksheet: Thinking Question
Let's take a look at an example to see how you would use a nested IF function in a worksheet:
Based on the Excel spreadsheet above, the IF functions would return the following: =IF(A1="10x12",120,IF(A1="8x8",64,IF(A1="6x6",36))) =IF(A2="10x12",120,IF(A2="8x8",64,IF(A2="6x6",36))) =IF(A3="10x12",120,IF(A3="8x8",64,IF(A3="6x6",36))) would return 120 would return 64 would return 36
Thinking question
1. Question: In Microsoft Excel, I need to write a formula that works this way:
If (cell A1) is less than 20, then multiply by 1, If it is greater than or equal to 20 but less than 50, then multiply by 2 If its is greater than or equal to 50 and less than 100, then multiply by 3 And if it is great or equal to than 100, then multiply by 4 Answer: You can write a nested IF statement to handle this. For example: =IF(A1<20, A1*1, IF(A1<50, A1*2, IF(A1<100, A1*3, A1*4)))