what function to use

P

philhuntley

Hi

I'm creating a spreadsheet with percentages in one column and in the
next column i need to a specific word according the value of the
percentage.

For example

anything above 70% needs to be called fixed
anything above 50% but lower than 70% needs to be called flexible

etc
etc

Can anyone help with this please?

Thanks a lot!

Phil
 
S

Sam Wilson

If you had a percentage in A1, put this in B1
=IF(A1>0.7,"Fixed",If(A1>0.5,"Flexible",""))
 
S

Sean Timmons

If you have many different possible options, you can also create a table with
your percents and the desired return value:

A B
..5 flexible
..7 fixed

and do =vlookup(yourvalue,A:B,2)

to return flexible for any value between .5 and .6999999999 and fixed for
values .7+
In the above example, anything < .5 would return an error, so presumably,
you'll want somethign for value 0.
 

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