View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
GoBrowns! GoBrowns! is offline
external usenet poster
 
Posts: 8
Default Here is a stumper for you (programming).....

I am not even sure if this can be done, but here goes...

My boss wants an Excel worksheet containing the following Headings (among
others):

Supply Variability Buffer
Demand Variability Buffer
Forecast Error Buffer
Total Safety Stock (which is the sum of the top three buffers listed)
Inventory by Day (for instance, 4/1/09, 4/2/09, 4/3/09, etc. as their own
headers)

Would it be possible to allow my boss to choose which of the buffers he
wants to add together (as one possible choice, just the supply and demand
buffers added together) and then have it use conditional formatting to shade
every inventory cell that was a lower quantity than the buffers he just added
together?

For instance, if he added the Supply Buffer (qty 14) and the Demand Buffer
(qty 5) together, I would want all inventory boxes on that line that were
less than qty19 shaded red. However, if he wanted to choose just the supply
buffer and no other buffers to add it to, shading would need to occur then as
well, using the same parameters.

Finally, I would need to be able to tally up the number of shaded cells on
each line (using SUMPRODUCT maybe?).. I am not sure how to do this if the
inputs (which buffers he is using) is constantly changing.

Well, is it totally impossible? I am at a loss.... any additional questions
I can answer I would be happy to do so..... thanks for all your
help!!!!!!!!!!!!