Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
petevang
 
Posts: n/a
Default What formula can I use


I am analyzing a cloumn of data which consist of 400 records. I'd need
to classify the records into 4 groupings A,B,C, and D. I used the "IF"
formula to return a value of "A" for all of the records that meet the
"A"criteria. How can I get my formula to do the same for records that
are in the B,C, and D groupings? Thanks:)


--
petevang
------------------------------------------------------------------------
petevang's Profile: http://www.excelforum.com/member.php...o&userid=25034
View this thread: http://www.excelforum.com/showthread...hreadid=510165

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mphell0
 
Posts: n/a
Default What formula can I use


=IF([Your criteria for A],"A",IF([Your criteria for B],"B",IF([Your
criteria for C],"C",IF([Your criteria for D],"D","FALSE"))))

[Your criteria for A] would be whatever you are using to break the data
into
different categories (e.g. A11000)

Is this what you are looking for?


--
mphell0
------------------------------------------------------------------------
mphell0's Profile: http://www.excelforum.com/member.php...o&userid=30153
View this thread: http://www.excelforum.com/showthread...hreadid=510165

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
petevang
 
Posts: n/a
Default What formula can I use


How would I be able to make my criteria use a range of numbers. Ex I
want to classify all B's as acounts that are greater than 1 but less
than 5, and all C's would be accounts that are greater than 5 but less
than 10. Thanks so much for any help.


--
petevang
------------------------------------------------------------------------
petevang's Profile: http://www.excelforum.com/member.php...o&userid=25034
View this thread: http://www.excelforum.com/showthread...hreadid=510165

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mphell0
 
Posts: n/a
Default What formula can I use


Referring to my previously posted formula for [your criteria for A]
etc.
you would use an AND function which works like this:

AND(criteria1,criteria2)

so if you wanted to classify it as "B" the function would be:

AND(A11,A1<5)

and for C:

AND(A15,A1<10)

where A1 is your account.

Note that B is less than 5 and C is greater than 5, it will not
recognize any
account that is exactly 5 so you should use <= or = depending on your

situation.

Let me know if you need anything else.


--
mphell0
------------------------------------------------------------------------
mphell0's Profile: http://www.excelforum.com/member.php...o&userid=30153
View this thread: http://www.excelforum.com/showthread...hreadid=510165

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 05:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"