Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Complicated Function Question

I need help setting up a complicated function...if it can be done.

What I have is a cell that uses data validation (list). The list is a list
of employees that is in a different worksheet. I would like to be able to
select an employees name from the drop down list (I've got that part
working). After selecting the employees name the next row contains a place
to enter the number of hours that were worked on a job. I would like for the
3rd row to calculate the labor cost to the company based on the name (row
1-dropdown) multiplied by the number of hours worked on the project (second
row). I know that I will have to put the hourly cost of the employee in a
list, but the formula for this function is way too complicated for me to
figure out....help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Complicated Function Question

You already have part of your table - the list of names on the second
sheet. Put the hourly cost for each employee in column B, assuming the
names are in column A (Let's assume you have 20 of them, so this table
will occupy A1:B20 on Sheet2).

Assume your drop-down is in cell A1 of Sheet1, and that you want to
use A2 to enter the number of hours. Put this formula in A3:

=VLOOKUP(A1,Sheet2!A$1:B$20,2,0)*A2

and format this cell as currency.

Hope this helps.

Pete

On Mar 17, 4:59 pm, Matthew wrote:
I need help setting up a complicated function...if it can be done.

What I have is a cell that uses data validation (list). The list is a list
of employees that is in a different worksheet. I would like to be able to
select an employees name from the drop down list (I've got that part
working). After selecting the employees name the next row contains a place
to enter the number of hours that were worked on a job. I would like for the
3rd row to calculate the labor cost to the company based on the name (row
1-dropdown) multiplied by the number of hours worked on the project (second
row). I know that I will have to put the hourly cost of the employee in a
list, but the formula for this function is way too complicated for me to
figure out....help.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Complicated Function Question

Pete,
When I put the formula in it says that there is a circular reference...maybe
I transposed it wrong.

The table occupies A1:B16 of sheet 3
The drop down in on A54 of sheet 1
The number of hours is in B54...so I did the formula as follows:

=VLOOKUP(A54,Sheet3!A$1:B$16,2,0)*B54

What did I do wrong?

Thanks for you help so far.

"Pete_UK" wrote:

You already have part of your table - the list of names on the second
sheet. Put the hourly cost for each employee in column B, assuming the
names are in column A (Let's assume you have 20 of them, so this table
will occupy A1:B20 on Sheet2).

Assume your drop-down is in cell A1 of Sheet1, and that you want to
use A2 to enter the number of hours. Put this formula in A3:

=VLOOKUP(A1,Sheet2!A$1:B$20,2,0)*A2

and format this cell as currency.

Hope this helps.

Pete

On Mar 17, 4:59 pm, Matthew wrote:
I need help setting up a complicated function...if it can be done.

What I have is a cell that uses data validation (list). The list is a list
of employees that is in a different worksheet. I would like to be able to
select an employees name from the drop down list (I've got that part
working). After selecting the employees name the next row contains a place
to enter the number of hours that were worked on a job. I would like for the
3rd row to calculate the labor cost to the company based on the name (row
1-dropdown) multiplied by the number of hours worked on the project (second
row). I know that I will have to put the hourly cost of the employee in a
list, but the formula for this function is way too complicated for me to
figure out....help.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Complicated Function Question

As long as you have not entered that in A54 or B54 you should be fine.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Matthew" wrote in message
...
Pete,
When I put the formula in it says that there is a circular
reference...maybe
I transposed it wrong.

The table occupies A1:B16 of sheet 3
The drop down in on A54 of sheet 1
The number of hours is in B54...so I did the formula as follows:

=VLOOKUP(A54,Sheet3!A$1:B$16,2,0)*B54

What did I do wrong?

Thanks for you help so far.

"Pete_UK" wrote:

You already have part of your table - the list of names on the second
sheet. Put the hourly cost for each employee in column B, assuming the
names are in column A (Let's assume you have 20 of them, so this table
will occupy A1:B20 on Sheet2).

Assume your drop-down is in cell A1 of Sheet1, and that you want to
use A2 to enter the number of hours. Put this formula in A3:

=VLOOKUP(A1,Sheet2!A$1:B$20,2,0)*A2

and format this cell as currency.

Hope this helps.

Pete

On Mar 17, 4:59 pm, Matthew wrote:
I need help setting up a complicated function...if it can be done.

What I have is a cell that uses data validation (list). The list is a
list
of employees that is in a different worksheet. I would like to be able
to
select an employees name from the drop down list (I've got that part
working). After selecting the employees name the next row contains a
place
to enter the number of hours that were worked on a job. I would like
for the
3rd row to calculate the labor cost to the company based on the name
(row
1-dropdown) multiplied by the number of hours worked on the project
(second
row). I know that I will have to put the hourly cost of the employee
in a
list, but the formula for this function is way too complicated for me
to
figure out....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
Complicated In-cell reference question The Joe Excel Discussion (Misc queries) 3 January 26th 07 09:02 PM
Complicated question Jasdf Excel Discussion (Misc queries) 1 November 8th 06 01:08 PM
Complicated Question kyrospeare Excel Worksheet Functions 5 April 27th 06 02:45 AM
Complicated question... ozdemir Excel Worksheet Functions 3 December 7th 05 09:37 PM
complicated sum formula question Eric Excel Worksheet Functions 2 December 4th 05 04:30 AM


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