Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am trying to popluate worksheet 1 with $ amounts. I want to do this by
looking up an Initial in worksheet 3 and multiplying it by the hours in worksheet 2. The intial's and column headings will need to be equal to account for escalation over a period of years. For example if CB=March 09 then multiply $10.00 * 50 Hours and popluate this into Worksheet 1.... and so on over a period of years Sample Data: Worksheet 1 Initial March 09 March 10 March 11 1 CB 2 AC 3 CC 4 ST Worksheet 2 Initial March 09 March 10 March 11 1 CB 50hours 30hours 40hours 2 AC 50hours 30hours 40hours 3 CC 50hours 30hours 40hours 4 ST 50hours 30hours 40hours Worksheet 3 Initial March 09 March 10 March 11 1 CB $10.00 $20.00 $30.00 2 AC $10.00 $20.00 $30.00 3 CC $10.00 $20.00 $30.00 4 ST $10.00 $20.00 $30.00 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can use =index(match(), match()) to return each value.
Debra Dalgleish explains it he http://contextures.com/xlFunctions03.html#IndexMatch2 To get the number of hours, you could use something like: =index(sheet2!$a$1:$d$99,match($a2,sheet2!a:a,0),m atch($b1,sheet2!1:1,0)) And to get the rate =index(sheet3!$a$1:$d$99,match($a2,sheet3!a:a,0),m atch($b1,sheet3!1:1,0)) To get the extended amount, just multiply them: =index(sheet2!$a$1:$d$99,match($a2,sheet2!a:a,0),m atch($b1,sheet2!1:1,0)) *index(sheet3!$a$1:$d$99,match($a2,sheet3!a:a,0),m atch($b1,sheet3!1:1,0)) You'll have to adjust the ranges to match your data. Kim R wrote: I am trying to popluate worksheet 1 with $ amounts. I want to do this by looking up an Initial in worksheet 3 and multiplying it by the hours in worksheet 2. The intial's and column headings will need to be equal to account for escalation over a period of years. For example if CB=March 09 then multiply $10.00 * 50 Hours and popluate this into Worksheet 1.... and so on over a period of years Sample Data: Worksheet 1 Initial March 09 March 10 March 11 1 CB 2 AC 3 CC 4 ST Worksheet 2 Initial March 09 March 10 March 11 1 CB 50hours 30hours 40hours 2 AC 50hours 30hours 40hours 3 CC 50hours 30hours 40hours 4 ST 50hours 30hours 40hours Worksheet 3 Initial March 09 March 10 March 11 1 CB $10.00 $20.00 $30.00 2 AC $10.00 $20.00 $30.00 3 CC $10.00 $20.00 $30.00 4 ST $10.00 $20.00 $30.00 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find and Replace - Replace with Blank Space | Excel Discussion (Misc queries) | |||
Can I replace a ' at the beginning of a text cell using Replace | Excel Discussion (Misc queries) | |||
Replace dialog should put focus on "Find What" not "Replace With" | Excel Discussion (Misc queries) | |||
find and replace - replace data in rows to separated by commas | Excel Worksheet Functions | |||
How can I use replace(alt+H) for mutiple items needing replace | Excel Worksheet Functions |