![]() |
#1
|
|||
|
|||
![]()
I have a spreadsheet that is produced from another programme that can be directly dumped into excel. This si sheet "Prog dump" in the example. The first sheet, called "AS" is a shortened version of this sheet. For those that are interested, this is a Primavera P6 programme copied over as an excel dump, with the "AS" sheet being a cost-only sheet so that costs can be calculated. There is a second part to this sheet that organises these costs by week to give a running total of weekly costs, but this is not part of the current sheet.
The Problem I need to take the value in column A (Activity ID) on sheet "AS" then copy the values for "finish date", "budgeted material cost", "actual total cost" from sheet "prog dump" (columns G, I, J) to sheet "AS" (Columns D, F, G) for the same value of Activity ID". I am fairly sure that this is easily achievable with a lookup function, but my knowledge of this is extremely limited, and the helps I have found so far don't really clarify it. There are another 1200 or so lines in the spreadsheet, so a manual isn't possible, and the values will change on a 2 weekly basis, so it needs to update when new prog dump data is entered. any help would be greatly appreciated. thanks. EDIT: Also posted at http://forums.techguy.org/business-a...ies-value.html |
#2
|
|||
|
|||
![]()
Enter into the AS sheet for Finish:
=VLOOKUP(AS!Axx,'Prog dump'!A:L,7,FALSE) Where xx is the row number. Copy to the rest of the sheet. The 7 in the above equation is the column index number Finish in 'Prog dump'. For the Budgeted Material Cost, it is 9. For Annual Total Cost, it is 10. Otherwise, the equations are identical. |
#3
|
|||
|
|||
![]()
thanks Gebobs
![]() I had a playaround with vlookup, and reached about the same conclusion. I was having problems with the true/false at the end of the statement as it seemed counter intuitive, but your confirmation has givnm me a bit more confidence. Thanks ![]() |
#4
|
|||
|
|||
![]() Quote:
I always use false because I am always looking for an exact match and don't want the equation to return a result that is not really for that value. Also, when using false, the lookup table does not have to be sorted. Let me know if you need any more help. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Excel copy two numbers between specific column and paste in next sheet | visha_1984 | Excel | 1 | 12-26-2014 07:59 PM |
Copy content control entries to next table next page | Mel_Herndon | Word VBA | 2 | 05-22-2014 05:07 PM |
how can i split a column of rows in half without copy and paste.. | Lindseyfparker | Excel | 2 | 04-25-2014 12:52 AM |
How to copy format of a column using spin button | Tyberian1988 | Excel Programming | 2 | 03-10-2014 10:09 PM |
Copy Column setting to other spreadsheets in an excel workbook | officeboy09 | Excel | 5 | 11-05-2013 01:49 AM |