Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default Vlookup to total hours billed

Column C in sheet 1 contains various customer names, (Acme, Pathmark
Superfresh, etc...) Column F contains the amount charged to that
customer.
In a sheet called "INDEX", I have a lookup table which contains (Acme,
Pathmark Superfresh,) in column C, and the hourly labor rate applied
to that customer in column D.
I would like column J of Sheet 1 to return the number of hours billed
to that customer, based upon the customer name / labor rate table in
the INDEX sheet, and the amount charged to that customer in Column F
of sheet 1.

For example:
Acme gets billed at $50 per hour (according to the table in the INDEX
sheet, columns C & D).
The first invoice says "$100.00" in sheet 1, cell F2. and lists ACME
as the customer in cell C2, sheet 1.
In sheet 1, cell J2 returns "2" (100 dollars per hour / 50 dollars
charged.

Thanks in advance for any assistance...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup to total hours billed

Try this:

=F2/VLOOKUP(C2,Index!C$2:D$100,2,0)

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Steve" wrote in message
...
Column C in sheet 1 contains various customer names, (Acme, Pathmark
Superfresh, etc...) Column F contains the amount charged to that
customer.
In a sheet called "INDEX", I have a lookup table which contains (Acme,
Pathmark Superfresh,) in column C, and the hourly labor rate applied
to that customer in column D.
I would like column J of Sheet 1 to return the number of hours billed
to that customer, based upon the customer name / labor rate table in
the INDEX sheet, and the amount charged to that customer in Column F
of sheet 1.

For example:
Acme gets billed at $50 per hour (according to the table in the INDEX
sheet, columns C & D).
The first invoice says "$100.00" in sheet 1, cell F2. and lists ACME
as the customer in cell C2, sheet 1.
In sheet 1, cell J2 returns "2" (100 dollars per hour / 50 dollars
charged.

Thanks in advance for any assistance...



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
Converting total number of hours (24 hours) into days MV Rao Excel Discussion (Misc queries) 1 January 24th 08 12:50 PM
total hours ekkeindoha Excel Worksheet Functions 4 October 1st 07 03:36 AM
total hours vs total worked hours tryingtolearn Excel Discussion (Misc queries) 1 November 19th 06 10:24 PM
How to seperate OT and Reg. Hours from total hours cmc1111 Excel Worksheet Functions 6 August 23rd 06 05:18 PM
Adding minutes showing total in hours/minutes, i.e., 60 mins + 60 mins + 15 mins to total of 2 hours 15 mins? StargateFan Excel Discussion (Misc queries) 8 January 7th 06 07:35 PM


All times are GMT +1. The time now is 05:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"