What formula do you use to determine a number within a scale?

G

Guest

Ok heres the deal. I am trying to find an excel formula that will do the
following:

Scale is
Amount / Factor
170-200 / =1
201-250 / =2

Somehow I need to find a formula that if someone types 190 into a cell, then
the cell to the right would have a formula that would calculate a whole
number (Factor). Just a brief idea of what I am trying to do... My grandma
has diabetes and my mother has asked that I create some kind of form that
will factor in how much insulin she must take. So if her Blood Suger is
within 170-200, then 1 dose of insulin would be taken.... I appreciate any
help you can give me :) God Bless
 
G

Guest

Assuming the cell you are entering data into is A1 try

=IF(AND(A1>=170,A1<=200),1,IF(AND(A1>200,A1<=250),2,"Out of Range"))

Rowan
 
T

Tom Ogilvy

Look at excel help on Vlookup. You would build a table of equivalencies and
lookup the entered value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top