View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Cornelius Cornelius is offline
external usenet poster
 
Posts: 15
Default Lookup Function for Excel 2007

We were given the "hint" to use the "lookup" function possibly to make this
excel chart work. If there's a better way without using the lookup function
that would work great too.

So, we have 5 different tasks that have to be completed, each with a start
day, end day, and cost per day. Then we have to bill every certain number of
days and find the cost of that time period.

The problem is that certain tasks overlap in time period. If task A lasts
0-10 days, task B lasts 5-25 days, and we are billing every 15 days, how
would I add 10 days of the task A and only 10 days of task B to the first
bill? It's easy to do this in my head, but I just can't figure out how to
write it in Excel code.

I've tried using IF functions with not much luck and I can't really figure
out how "lookup" functions would apply.

All start, end, costs, and billing periods have to be variable.

Thanks for any help!