Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default getting a cell value from another spreadsheet

hi guys, I am a sort of newbie with excel.

I have 2 spreadsheets which I inherited from the previous IT manager.

1. master spreadsheet

2. Ref spreadsheet

within the master spreadsheet I have few columns, one of them represent
engine code.

within the ref spreadsheet I have a description of that code.

what I would like to do is to create a macro within the master spreadsheet
that will look for the value in the ref spreadsheet and will replace the
code with the value.

any idea ?






  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default getting a cell value from another spreadsheet

How about just using the adjacent cell to show the description. Then you could
use a =vlookup() formula:

=if(a2="","",vlookup(a2,sheet2!a:b,2,false))

If you've never used =vlookup(), visit Debra Dalgleish's site:
http://www.contextures.com/xlFunctions02.html
for nice instructions.

Rani wrote:

hi guys, I am a sort of newbie with excel.

I have 2 spreadsheets which I inherited from the previous IT manager.

1. master spreadsheet

2. Ref spreadsheet

within the master spreadsheet I have few columns, one of them represent
engine code.

within the ref spreadsheet I have a description of that code.

what I would like to do is to create a macro within the master spreadsheet
that will look for the value in the ref spreadsheet and will replace the
code with the value.

any idea ?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default getting a cell value from another spreadsheet

using the adjacent cell will not help me, I need to copy the cell value in
order to create a meaningful table

"Dave Peterson" wrote in message
...
How about just using the adjacent cell to show the description. Then you
could
use a =vlookup() formula:

=if(a2="","",vlookup(a2,sheet2!a:b,2,false))

If you've never used =vlookup(), visit Debra Dalgleish's site:
http://www.contextures.com/xlFunctions02.html
for nice instructions.

Rani wrote:

hi guys, I am a sort of newbie with excel.

I have 2 spreadsheets which I inherited from the previous IT manager.

1. master spreadsheet

2. Ref spreadsheet

within the master spreadsheet I have few columns, one of them represent
engine code.

within the ref spreadsheet I have a description of that code.

what I would like to do is to create a macro within the master
spreadsheet
that will look for the value in the ref spreadsheet and will replace the
code with the value.

any idea ?


--

Dave Peterson



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default getting a cell value from another spreadsheet

Can't you copy from the helper column and paste special|Values?

Rani wrote:

using the adjacent cell will not help me, I need to copy the cell value in
order to create a meaningful table

"Dave Peterson" wrote in message
...
How about just using the adjacent cell to show the description. Then you
could
use a =vlookup() formula:

=if(a2="","",vlookup(a2,sheet2!a:b,2,false))

If you've never used =vlookup(), visit Debra Dalgleish's site:
http://www.contextures.com/xlFunctions02.html
for nice instructions.

Rani wrote:

hi guys, I am a sort of newbie with excel.

I have 2 spreadsheets which I inherited from the previous IT manager.

1. master spreadsheet

2. Ref spreadsheet

within the master spreadsheet I have few columns, one of them represent
engine code.

within the ref spreadsheet I have a description of that code.

what I would like to do is to create a macro within the master
spreadsheet
that will look for the value in the ref spreadsheet and will replace the
code with the value.

any idea ?


--

Dave Peterson


--

Dave Peterson
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
how do i make a cell a search cell for a spreadsheet adam Excel Worksheet Functions 5 November 3rd 09 11:16 AM
how do i get a cell in a spreadsheet to enter in a different cell emma Excel Worksheet Functions 1 April 15th 08 02:58 PM
Attach a Spreadsheet File to a Cell in Another Spreadsheet roadkill Excel Discussion (Misc queries) 1 May 9th 07 05:20 PM
Spreadsheet name in a Cell Alain79 Excel Discussion (Misc queries) 1 August 16th 05 10:57 AM
how do I reference a spreadsheet in a cell Lee_Wrede Excel Worksheet Functions 2 February 25th 05 02:11 AM


All times are GMT +1. The time now is 08:57 AM.

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"