Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Adding Cost Codes

Help please! I need a macro. I have a cell with several
sets of numbers in it, i.e. 152, 143, 765, etc.

Each number is a cost code that corresponds to an amount
in another workbook. I need to add the corresponding
amounts.

I'd really appreciate any help. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Adding Cost Codes

Look at the vlookup function in Excel help.

=Vlookup(a1,'[MyCostcodes.xls]Codes'!$A$1:$B$200,2,False)


--
Regards,
Tom Ogilvy

"Wrenn" wrote in message
...
Help please! I need a macro. I have a cell with several
sets of numbers in it, i.e. 152, 143, 765, etc.

Each number is a cost code that corresponds to an amount
in another workbook. I need to add the corresponding
amounts.

I'd really appreciate any help. Thanks.



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
Creating a total cost chart where a component cost is a step cost gvm Charts and Charting in Excel 0 April 28th 10 02:10 PM
Adding VBA Codes ab3d4u[_11_] Excel Worksheet Functions 3 October 2nd 07 07:23 PM
adding and subtracting using vb codes ASU Excel Discussion (Misc queries) 2 September 5th 06 08:47 PM
I need to input daily cost codes would exceli calculate my totals davisbc Excel Worksheet Functions 0 October 6th 05 07:10 PM
Confusion on adding percentage of cost to that cost. [email protected] Excel Worksheet Functions 12 July 13th 05 11:45 PM


All times are GMT +1. The time now is 09:43 PM.

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"