[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Determine overal RAG status from list of task status

Posted on 2010-11-29
6
Medium Priority
?
1,074 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…

591 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