Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populate one cell with words depending on the value of another cell

Status
Not open for further replies.

ThomasBrown

Technical User
Jan 15, 2004
42
ZA
Hi there,

What I am trying to do I think is simple but have come acccross a bit of a block ... any help would be appreciated.


I have column A which will have values between 1-70
Then I need to populate column B
If the value in Column A is between 1 - 9 - then Column B must say 'None'
If the value in Column A is between 10 - 19 - then Column B must say 'Poor'
If the value in Column A is between 20 - 34 - then Column B must say 'Average' etc.

There are 5 values in Total

Many Thanks
Thomas
 
Hi All,

It came back to me and I have done it.

The formula looks like this:
=IF(D6<10,"None",IF(D6<20,"Poor",IF(D6<35,"Average","")))

Regards
Thomas
 


Hi,

first build a lookup table
[tt]
LowerValue Category
1 None
10 Poor
20 Average
...
[/tt]
I use Named Ranges. faq68-1331

The formula, assuming that A1 contains a score (1 - 70)
[tt]
=INDEX(Category,MATCH(A1,LowerValue,1),1)
[/tt]


Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top