Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Rank and Cell colour

I've posted this message before but I don't think I explained it
properly.

I have a worksheet called Schedule that looks like:

Dr.A Dr.B Dr.C
Total Wkld 100 100 100
Avail.Wkld
Rank Weight AmtLeft
Prgm A 2 100
Prgm B 1 100
Prgm C 3 100
Prgm D 4 100

AmtLeft and Avail. Wkld gets populated as the user inputs data.

Now, I will have a button that will 'SUGGEST' the next program that the
user should work on. This suggestion is based on the rank. Obviously,
the first program suggested is the one that has Rank 1 and will
distribute the weight among the avaiable doctors (i.e in this case it
will be Prgm B (i.e. Rank 1) that has weight 100 divided by 3 (i.e 3
doctors)). The user can have the option to overwrite what was suggested.
At the same time, AmtLeft and Avail. Wkld is decreasing.

If the AmtLeft < 0 OR Avail. Wkld < 0, the cell is coloured red and the
user should NOT be able to 'SUGGEST' the next rank. Perhaps I can have
some msgbox indicated that we cannot have negative values.

If the AmtLeft = 0, then if they press the 'SUGGEST' button, the program
should then know to suggest the program with the highest rank (i.e in
this case, it will be Prgm A (i.e Rank 2) and the weight of that program
will be divided by 3).

BUT if the user is not satisfied with what was suggested then, he can
input data wherever he wants. So, let's say he has chosen to input data
in Prgm C that has rank 3, the next time he decided to 'SUGGEST' data,
the program should know to go back to Prgm A which is still the highest
rank.

I hope this makes sense,

Audrey

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
How can colour of cell shading be fixed to one colour Tabrez Excel Discussion (Misc queries) 2 September 23rd 08 04:55 PM
rank the numbers / range of data using 'RANK' and 'ABS' KP Excel Worksheet Functions 1 March 8th 08 05:50 PM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
RANK, duplicate ranking but no gaps in rank arron laing Excel Worksheet Functions 4 June 14th 06 07:57 AM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM


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