I have a column with a number in it and I want to classify it as H (high) or L (low)
5-9 are high numbers
0-4 are low numbers
for instance,
1=L
7=H
I have a column with a number in it and I want to classify it as H (high) or L (low)
5-9 are high numbers
0-4 are low numbers
for instance,
1=L
7=H
Last edited by Jordans121; 09-27-2010 at 05:26 PM.
If the values start in A2, put this in B2 and then copy down:
=LOOKUP(A2, {0,5,10},{"L","H",""})
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
I got it by first formatting the Col as text and then pasting the numbers into that row.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks