Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2015, 06:07 PM
Guloluseus Guloluseus is offline Copy column entries on value Windows 7 64bit Copy column entries on value Office 2010 32bit
Competent Performer
Copy column entries on value
 
Join Date: Mar 2013
Posts: 168
Guloluseus is on a distinguished road
Default Copy column entries on value

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
Attached Files
File Type: xlsx example.xlsx (94.1 KB, 10 views)
Reply With Quote
  #2  
Old 01-05-2015, 12:01 PM
gebobs gebobs is offline Copy column entries on value Windows 7 64bit Copy column entries on value Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

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.
Reply With Quote
  #3  
Old 01-05-2015, 04:57 PM
Guloluseus Guloluseus is offline Copy column entries on value Windows 7 64bit Copy column entries on value Office 2010 32bit
Competent Performer
Copy column entries on value
 
Join Date: Mar 2013
Posts: 168
Guloluseus is on a distinguished road
Default

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
Reply With Quote
  #4  
Old 01-05-2015, 08:28 PM
gebobs gebobs is offline Copy column entries on value Windows 7 64bit Copy column entries on value Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Quote:
Originally Posted by Guloluseus View Post
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
I agree that it is counterintuitive.

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.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
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

Other Forums: Access Forums

All times are GMT -7. The time now is 08:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft