Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default assiging categories

I would like to assign a categry based on certain criteria. The
criteria is set up on a diffrent sheet. I would like to have a
function/formula to compare the data in the criteria and assign the
category. For example i have to assign the categories based on monthly
usage to the parts.

Data:
Part No Usage Category
AAA 50 A1
BBB 30 A2
CCC 25 A3



Criteria:

Usage greater than 30......... A1
Usage greater than 25......... A2
Usage lower than 25......... A3

How i can do this by excel function. Response would be greatly
appreciated

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default assiging categories

If the criteria is set up on a different sheet, then you could use a
VLOOKUP formula, but for what you describe you could use this in C2:

=IF(B230,"A1",IF(B225,"A2","A3"))

and then copy down as required.

Hope this helps.

Pete

On Aug 28, 11:47 pm, wrote:
I would like to assign a categry based on certain criteria. The
criteria is set up on a diffrent sheet. I would like to have a
function/formula to compare the data in the criteria and assign the
category. For example i have to assign the categories based on monthly
usage to the parts.

Data:
Part No Usage Category
AAA 50 A1
BBB 30 A2
CCC 25 A3

Criteria:

Usage greater than 30......... A1
Usage greater than 25......... A2
Usage lower than 25......... A3

How i can do this by excel function. Response would be greatly
appreciated



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
Chart Categories SJT Excel Discussion (Misc queries) 1 June 19th 06 08:13 PM
Sorting into categories AHSinVT Excel Discussion (Misc queries) 2 January 17th 06 04:01 PM
Top Five in Categories Joe D Excel Discussion (Misc queries) 2 November 25th 05 05:17 PM
2 categories Joe Resler Excel Discussion (Misc queries) 4 November 2nd 05 08:37 PM
sum over categories mikebo Excel Discussion (Misc queries) 2 January 21st 05 05:11 PM


All times are GMT +1. The time now is 03:31 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"