0% found this document useful (0 votes)
5 views

Sample Worksheet: Thinking Question

This document provides examples of using nested IF functions in Excel worksheets. The first example shows an IF function that returns different values based on the contents of cell A1. The second example shows a nested IF statement using AND functions to return different dollar amounts based on the sum of cells A1 and B1. The document includes the formulas that could be used to solve the described problems.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Sample Worksheet: Thinking Question

This document provides examples of using nested IF functions in Excel worksheets. The first example shows an IF function that returns different values based on the contents of cell A1. The second example shows a nested IF statement using AND functions to return different dollar amounts based on the sum of cells A1 and B1. The document includes the formulas that could be used to solve the described problems.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Sample Worksheet

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)))

2. Question:In Excel, I need a formula in cell C5 that does the following:


IF A1+B1 <= 4, return $20 IF A1+B1 > 4 but <= 9, return $35 IF A1+B1 > 9 but <= 14, return $50 IF A1+B1 > 15, return $75 Answer:In cell C5, you can write a nested IF statement that uses the AND function as follows: =IF((A1+B1)<=4,20,IF(AND((A1+B1)>4,(A1+B1)<=9),35,IF(AND((A1+B1)>9,(A1+B1)< =14),50,75)))

You might also like