Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Select from List of names to equal a specific rate
I have a Excel column which includes list of last names. I would like to
assisgn a distinctive numeric rate (in preceeding separate column) to each last name. An example would be: Smith = 10.0; Underwood = 9.50; Ace = 5.75. Then I will multiply the rate by hours worked (I can handle that part). Thanks! -- Shirley |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Select from List of names to equal a specific rate
Hi!
It sounds like you probably want some type of lookup table/formula but you need to provide more details. The table would look like this: Smith.............10.0 Underwood.....9.5 Ace...............5.75 So, now you have a table but what do you want to do with it? If you want to use it to calculate pay, you might do something like this: Total_Hours*VLOOKUP(A1,Sheet2!A1:B3,2,0) Whe A1 = name Sheet2!A1:B3 = location of the lookup table 2 = the column number of the lookup table to return the value from 0 = means the lookup table is not sorted because you only want an exact match Biff "Shirley" wrote in message ... I have a Excel column which includes list of last names. I would like to assisgn a distinctive numeric rate (in preceeding separate column) to each last name. An example would be: Smith = 10.0; Underwood = 9.50; Ace = 5.75. Then I will multiply the rate by hours worked (I can handle that part). Thanks! -- Shirley |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Select from List of names to equal a specific rate
As I have been reading, to use a lookup table I need to sort in ascending
order? I guess that can be on another worksheet? Thanks, I'll keep messing with it. Yes, I am trying to calculate a billable rate. I have created a custom Business Works report to Excel & just need a few more fixes to insert info I'd like to show. -- Shirley "Biff" wrote: Hi! It sounds like you probably want some type of lookup table/formula but you need to provide more details. The table would look like this: Smith.............10.0 Underwood.....9.5 Ace...............5.75 So, now you have a table but what do you want to do with it? If you want to use it to calculate pay, you might do something like this: Total_Hours*VLOOKUP(A1,Sheet2!A1:B3,2,0) Whe A1 = name Sheet2!A1:B3 = location of the lookup table 2 = the column number of the lookup table to return the value from 0 = means the lookup table is not sorted because you only want an exact match Biff "Shirley" wrote in message ... I have a Excel column which includes list of last names. I would like to assisgn a distinctive numeric rate (in preceeding separate column) to each last name. An example would be: Smith = 10.0; Underwood = 9.50; Ace = 5.75. Then I will multiply the rate by hours worked (I can handle that part). Thanks! -- Shirley |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Select from List of names to equal a specific rate
Hi Shirley
No your lookup table does not have to be sorted. As Biff said, use the 4th argument in Vlookup of False or 0 to deal with tables in an unsorted order =Total_Hours*VLOOKUP(A1,Sheet2!A1:B3,2,0) or exactly the same meaning =Total_Hours*VLOOKUP(A1,Sheet2!A1:B3,2,FALSE) Regards Roger Govier Shirley wrote: As I have been reading, to use a lookup table I need to sort in ascending order? I guess that can be on another worksheet? Thanks, I'll keep messing with it. Yes, I am trying to calculate a billable rate. I have created a custom Business Works report to Excel & just need a few more fixes to insert info I'd like to show. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
i want to only select one name from a list of the same names | Excel Discussion (Misc queries) | |||
How do I format list of names formatted last,first to first last? | Excel Worksheet Functions | |||
Find first occurence in a list that's greater than a specific num | Excel Worksheet Functions | |||
How select an item in a list box | Excel Worksheet Functions | |||
Setting up a random list from long list of names ? | Excel Discussion (Misc queries) |