Solved

Determine overal RAG status from list of task status

Posted on 2010-11-29
6
1,049 Views
Last Modified: 2012-05-10
Hello Experts
I wonder if you can help with this puzzle.

I have a list of tasks in excel, and each task has a RAG (Red/Amber/Green) status
I would like excel to determine my 'overall' status based on the status that is most prevellent from the list of task statuses (is that a word?)

I can't think of a good way of doing this, I tried to give a weight to each task and score the result but I dont think will work well.

Can you help?  I have attached a spreadsheet that should help explain what I mean
Thanks
0
Comment
Question by:wisemat
  • 3
  • 3
6 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 34232856
I can't see an attachment, wisemat

Is Red/Amber/Green a text value or an actual colour here?

Assuming text you could use this formula to get the most common value

=INDEX(A2:A100,MODE(IF(A2:A100<>"",MATCH(A2:A100,A2:A100,0))))

confirmed with CTRL+SHIFT+ENTER

barry
0
 

Author Comment

by:wisemat
ID: 34232879
Oops, attached now
 example1.xlsx
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 34232982
So what result do you want? If you just want the moost common text then you can apply the formula I suggested above to range O4:O29, i.e.

=INDEX(O4:O29,MODE(IF(O4:O29<>"",MATCH(O4:O29,O4:O29,0))))

confirmed with CTRL+SHIFT+ENTER

regards, barry
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:wisemat
ID: 34233033
Hi Barry
I copied the formula into O30 and I get a #Value error
Also I am not sure what you mean by 'confirmed with CTRL+SHIFT+ENTER'

Sorry for not grasping this right away.  I think using most common result is what im after

Thanks again
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 34233398
Hello wisemat, The formula is an "array formula" and you need that key combination for it to work.

Put formula in I30, press F2 key (to select formula) then hold down CTRL and SHIFT and press ENTER. If done correctly then curly braces like { and } will appear around the formula in the formula bar, see attached.

regards, barry
26645279.xlsx
0
 

Author Closing Comment

by:wisemat
ID: 34233452
Spot on barry, thank you for this.

To close off, is it simple to adapt it so that it goes with the most common response UNLESS there is a red in which case it would always give a red response?
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question