Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
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!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default Lookup Function for Excel 2007

Hi,

Why don't you show us a sample of your data and the result you want.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Cornelius" wrote:

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!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Lookup Function for Excel 2007


Task Start End Cost/Day
A 0 35 1714.29
B 15 40 2720.00
C 30 50 2250.00
D 45 75 3833.33
E 50 85 2428.57

Bill Date Period Payment
0 0
15 25,714
30 66,514
45 69,521
60 93,036

This is just some sample data and how it should turn out.

I have to write the code for the period payment column. As you can see,
some of the periods overlap, so each "period payment" cell should check the
periods of all of the "tasks" and then multiply from there.

"Shane Devenshire" wrote:

Hi,

Why don't you show us a sample of your data and the result you want.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Cornelius" wrote:

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!

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
Help with Excel lookup function please Victor Delta[_2_] Excel Discussion (Misc queries) 12 September 11th 08 10:53 PM
Excel 2007 lookup problem continuing ... Trish Excel Worksheet Functions 3 August 5th 08 05:46 AM
Excel 2007 Lookup Trish Excel Worksheet Functions 4 July 23rd 08 06:29 AM
Excel 2007 LOOKUP Problem? robertbjr Excel Worksheet Functions 3 March 18th 08 06:32 PM
Lookup function in Excel Feldy Excel Worksheet Functions 4 February 17th 05 04:25 PM


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