Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Software > Spreadsheets   »   Several Criteria Classification on Excel

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Jun 23, 2006, 01:49 AM
Amyunimus
New Member
Amyunimus is offline
 
Join Date: Jun 2006
Posts: 14
Amyunimus See this member's comment history on his/her Profile page.
Several Criteria Classification on Excel

Quick question...

I'd like to do the following:

If the value in Column A is between 1-50 or 200-250 or 400-450, or 600-650 etc etc I want it to be classified as "people" in Column B. If it does not fall in those number ranges, I want it to be classified as "monkey" in Column B.

This seems straight forward enough to me, but I can't figure out how to use the IF function (or anything else...) to get it to work.

Any help would be greatly appreciated.

Emily

Reply With Quote
 
     

Answers
 
 
Old Jun 23, 2006, 04:59 AM   #2  
ScottGem
Computer Expert
ScottGem is online now
 
ScottGem's Avatar
 
Join Date: Jan 2003
Location: LI, NY - USA
Posts: 22,927
ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.
Pay to call ScottGem for advice ($.75/min)
Call ScottGem via Skype™
Probably best to use a VLookup. Create a table like:

1......People
51.....Monkey
200...People
251...Monkey

etc.

Then use a VLookup in Column B
  Reply With Quote
 
     
 
 
Old Jun 23, 2006, 07:24 AM   #3  
colbtech
Senior Member
colbtech is offline
 
colbtech's Avatar
 
Join Date: Aug 2005
Location: Guernsey
Posts: 608
colbtech See this member's comment history on his/her Profile page.
A1 = value, doesn't matter how many digits
B1 = convert this value to text, right most 2 digits
C1 = convert B1 back to a number
D1 = Your answer

A1 = 1021
B1 = 21 =Right(A1,2)
C1 = 21 =Value(B1)
D1 = People =If(C1>50.01,"Monkey","People")

Hope this helps

Colin
  Reply With Quote
 
     
 
 
Old Jun 23, 2006, 07:48 AM   #4  
ScottGem
Computer Expert
ScottGem is online now
 
ScottGem's Avatar
 
Join Date: Jan 2003
Location: LI, NY - USA
Posts: 22,927
ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.
Pay to call ScottGem for advice ($.75/min)
Call ScottGem via Skype™
I see what Colin is doing, but he's making an assumption that may not be valid. For example is the value is 160, his solution will still return Monkey. using a lookup table allows you to fine tune the ranges.
  Reply With Quote
 
     
 
 
Old Jun 25, 2006, 11:36 PM   #5  
colbtech
Senior Member
colbtech is offline
 
colbtech's Avatar
 
Join Date: Aug 2005
Location: Guernsey
Posts: 608
colbtech See this member's comment history on his/her Profile page.
Hi Scott,

Is that not what is required?

Col
  Reply With Quote
 
     
 
 
Old Jun 26, 2006, 05:09 AM   #6  
ScottGem
Computer Expert
ScottGem is online now
 
ScottGem's Avatar
 
Join Date: Jan 2003
Location: LI, NY - USA
Posts: 22,927
ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.
Pay to call ScottGem for advice ($.75/min)
Call ScottGem via Skype™
Quote:
Originally Posted by colbtech
Hi Scott,

Is that not what is required?

Col

Not from my read. Look at the ranges. Its not consistently distributed.
  Reply With Quote
 
     
 
 
Old Jun 26, 2006, 06:26 AM   #7  
colbtech
Senior Member
colbtech is offline
 
colbtech's Avatar
 
Join Date: Aug 2005
Location: Guernsey
Posts: 608
colbtech See this member's comment history on his/her Profile page.
Got it now. That will teach me to read the question a little closer!
  Reply With Quote
 
     
 
 
Old Jun 26, 2006, 06:56 AM   #8  
ScottGem
Computer Expert
ScottGem is online now
 
ScottGem's Avatar
 
Join Date: Jan 2003
Location: LI, NY - USA
Posts: 22,927
ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.ScottGem See this member's comment history on his/her Profile page.
Pay to call ScottGem for advice ($.75/min)
Call ScottGem via Skype™
Quote:
Originally Posted by colbtech
Got it now. That will teach me to read the question a little closer!

Your solution was a neat idea, if the pattern was more consistent.
  Reply With Quote
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
fruit classification stw Botany 2 Dec 18, 2007 11:22 AM
Racial Classification robertaloe Issues & Causes 4 May 4, 2007 06:30 AM
Counting Cells If several criteria are true Amyunimus Spreadsheets 1 Jun 27, 2006 12:35 AM
Excel: 2 criteria - 1 answer Srecak Spreadsheets 9 May 17, 2006 11:20 PM
Classification of Organisms MISS_understood Biology 0 Jan 29, 2006 05:16 PM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 06:10 PM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.