Using the If Function to select a identify a catagory a specifi cell fits into
I have a cell with a fixed number that is entered to identify how large a company may be. In another cell, I want to identify what the category is by using the IF function. There are 4 categories that the value of the first sell would be selected based on a numerical test. The numerical tests are A. <=.3 would be Micro Cap; B. >.3<=2 would be a Small Cap, C. >2<=10 would be a Mid Cap; D. >10<=200 would be a large cap; and E. >200 would be a mega cap.
My problem is that when I put this criteria into an IF function, it turns up as FALSE in the cell where the IF formula is located. This means it only looks at the first criteria but doesn’t go to the next test to determine its category. The formula I use is: =IF(B$5<=2,”SmallCap”,IF(B$5>2<=10,”Mid Cap”,IF(B$5>10<=200,”Large Cap”,IF(B$5>200,”Mega Cap”)))) where B5 is the value to be tested. I must have the formula messed up so any help would be appreciated. (I have intentionally left out the Micro Cap test in the formula.)
I have a cell with a fixed number that is entered to identify how large a company may be. In another cell, I want to identify what the category is by using the IF function. There are 4 categories that the value of the first sell would be selected based on a numerical test. The numerical tests are A. <=.3 would be Micro Cap; B. >.3<=2 would be a Small Cap, C. >2<=10 would be a Mid Cap; D. >10<=200 would be a large cap; and E. >200 would be a mega cap.My problem is that when I put this criteria into an IF function, it turns up as FALSE in the cell where the IF formula is located. This means it only looks at the first criteria but doesn’t go to the next test to determine its category. The formula I use is: =IF(B$5<=2,”SmallCap”,IF(B$5>2<=10,”Mid Cap”,IF(B$5>10<=200,”Large Cap”,IF(B$5>200,”Mega Cap”)))) where B5 is the value to be tested. I must have the formula messed up so any help would be appreciated. (I have intentionally left out the Micro Cap test in the formula.) Read More