Home
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Newsgroups
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Newsgroups
Microsoft Excel
Microsoft Excel Programming
Select Case
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="NickHK, post: 10649679"] Not sure where the column comes in ? You mean test each cell in a column ? For Each Cell In Range("A1:A10") Select Case Cell.Value Case Is > 80 Cell.Offset(0, 1).Value = "Good" Case Is > 60 Cell.Offset(0, 1).Value = "Fair" Case Else Cell.Offset(0, 1).Value = "Unclassified" End Select Next Unless you feel you may expand the number of comparisons in the future, you can achieve the result with a formula, then fill down: =IF(A1>80,"Good",IF(A1>60,"Fair","Unclassified")) NickHK [/QUOTE]
Verification
Post reply
Home
Forums
Newsgroups
Microsoft Excel
Microsoft Excel Programming
Select Case
Top