LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Result from data in two columns....Best function to use?

The MATCH() functions rank the data from one to three as follows:

Minor or Unlikely = 1
Moderate or Likely = 2
Significant or Imminent = 3

The CHOOSE() function selects the correct result. Based upon your data, when
adding those ranks together a total of either 5 or 6 was High, 4 was Medium and
1 through 3 was Low.


tim m wrote:
Thanks for all the responses.

I used Glenns formula and it worked nicely. (Now I have to reverse engineer
it to learn why it worked.) I think I will use this formula rather than the
other methods because I will be using this on ad hoc type of reports rather
than a more permanent report. thus it will be easier to not create a grid
each time I have to make use of it.

Once again, thanks alot Gents!

"Glenn" wrote:

One possible way:

=CHOOSE(MATCH(A1,{"Minor","Moderate","Significant" },0)
+MATCH(B1,{"Unlikely","Likely","Imminent"},0)
,"Low","Low","Low","Medium","High","High")


tim m wrote:
Greetings:

In Column A I will have text data that will be "Significant", "Moderate" or
"Minor"
In Column B I will have text data that will be "Imminent", "Likely",
"Unlikely"

In column C depending on the data in A & B I want to display a result that
which will be "High", "Medium" or "Low"

Significant, Imminent = High
Significant, Likely = High
Moderate, Imminent = High
Significant, Unlikely = Medium
Moderate, Likely = Medium
Minor, Imminent = Medium
Moderate, Unlikely = Low
Minor, Likely = Low
Minor, Unlikely = Low

What function would be the best to use here. One could make a ponderous IF
statement but I'm assuming there is a better way and a better function to use.




 
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
How to sort data that is the result of a sum function BCClocks Excel Worksheet Functions 2 November 21st 07 02:29 PM
Enter data and display function result in same cell ChrisR Excel Discussion (Misc queries) 1 June 21st 06 12:15 AM
analysing data from alternate columns using the countif function Juniper Excel Discussion (Misc queries) 3 April 28th 05 04:12 PM
MATCH function - 2 columns w/ SIMILAR, not EXACT data Jane Excel Worksheet Functions 3 March 5th 05 03:11 AM
Function to automatically insert a new sheet as a result of data entry? Mark Mulik Excel Worksheet Functions 2 November 28th 04 02:21 AM


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