Trouble with Formula

LzzygrlCharmed

New Member
Joined
Sep 22, 2015
Messages
1
Below is a formula I am trying to use in cell E206. I am trying to have the formula fill in E206 with either Common, Plentiful, Limited, Rare, Scarce based on the Price in Column F. I am trying to have the formula reference the cells that say 0-10, 10-19.99, 20-29.99, 30-39.99, 40-1,000 as the rule. Example: if the price falls in between 0-10 it will show the word Common in cell E206.

Forumula: =IF(F206=$J$212,"Common",IF(F206=$J$213,"Plentiful",IF(F206=$J$214,"Limited",IF(F206=$J$215,"Rare",(IF(F206=$J$216,"Scarce","ERROR"))))))

Example of Spreadsheet:
$ - 100 $ - $-0-10
Common $ 9.25100 $ 0.0000013504 $ 1.9910-19.99
$ - 100 $ - $- 20-29.99
Common $ 3.06100 $ 0.0000318750 $ 1.9930-39.99
Plentiful $ 12.14100 $ 0.0000119020 $ 2.9940-1,000

<colgroup><col><col span="2"><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I'd probably rearrange things a little. Somewhere on this sheet put these 2 columns:

0Common
10Plentiful
20Limited
30Rare
40Scarce

<tbody>
</tbody>

You could put this on another sheet, but let's call them Y1:Z5. The left column is the lower bound for the range, and the right is the description. Given that, you could use this function based on the price:

=LOOKUP(C5,$Y$1:$Z$5)

where C5 is the price. And that's it.
 
Upvote 0

Forum statistics

Threads
1,215,645
Messages
6,125,995
Members
449,279
Latest member
Faraz5023

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top