Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default File comparing, fill file2 with value from file1

Hi,

I have a sheet with a lot of stocknumbers and colums for every month where a
amount is typed.
Every month I get a smaller sheet with ex. 15 stocknumbers and some amounts
for each stocknumber.

I want to be able to search the stocknumbers from the monthly sheet and fill
the amounts into a colum of predefined choice in the big sheet.
So like this:
I have a stocknumber with amount 10 in the montly sheet. I activate some
button/code, that searches the stocknumber in my large sheet, and fills
amount 10 into a colum in the row for the right stocknumber.

I'm not the macro/excel genius...

Best regards
M


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default File comparing, fill file2 with value from file1

Possibly look at the vlookup formula in Excel help.

--
Regards,
Tom Ogilvy


"Mads Westen" wrote:

Hi,

I have a sheet with a lot of stocknumbers and colums for every month where a
amount is typed.
Every month I get a smaller sheet with ex. 15 stocknumbers and some amounts
for each stocknumber.

I want to be able to search the stocknumbers from the monthly sheet and fill
the amounts into a colum of predefined choice in the big sheet.
So like this:
I have a stocknumber with amount 10 in the montly sheet. I activate some
button/code, that searches the stocknumber in my large sheet, and fills
amount 10 into a colum in the row for the right stocknumber.

I'm not the macro/excel genius...

Best regards
M



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default File comparing, fill file2 with value from file1

Hi,

It looks like the vlookup can only work within the active excel sheet. But
again, I'm not the Excel expert...

Best regards
M

"Tom Ogilvy" skrev i en meddelelse
...
Possibly look at the vlookup formula in Excel help.

--
Regards,
Tom Ogilvy


"Mads Westen" wrote:

Hi,

I have a sheet with a lot of stocknumbers and colums for every month
where a
amount is typed.
Every month I get a smaller sheet with ex. 15 stocknumbers and some
amounts
for each stocknumber.

I want to be able to search the stocknumbers from the monthly sheet and
fill
the amounts into a colum of predefined choice in the big sheet.
So like this:
I have a stocknumber with amount 10 in the montly sheet. I activate some
button/code, that searches the stocknumber in my large sheet, and fills
amount 10 into a colum in the row for the right stocknumber.

I'm not the macro/excel genius...

Best regards
M





  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default File comparing, fill file2 with value from file1

Nope. =Vlookup() will work between sheets of the same workbook or between
different sheets of different workbooks.

Debra Dalgleish has some very nice notes for =vlookup():
http://www.contextures.com/xlFunctions02.html

Mads Westen wrote:

Hi,

It looks like the vlookup can only work within the active excel sheet. But
again, I'm not the Excel expert...

Best regards
M

"Tom Ogilvy" skrev i en meddelelse
...
Possibly look at the vlookup formula in Excel help.

--
Regards,
Tom Ogilvy


"Mads Westen" wrote:

Hi,

I have a sheet with a lot of stocknumbers and colums for every month
where a
amount is typed.
Every month I get a smaller sheet with ex. 15 stocknumbers and some
amounts
for each stocknumber.

I want to be able to search the stocknumbers from the monthly sheet and
fill
the amounts into a colum of predefined choice in the big sheet.
So like this:
I have a stocknumber with amount 10 in the montly sheet. I activate some
button/code, that searches the stocknumber in my large sheet, and fills
amount 10 into a colum in the row for the right stocknumber.

I'm not the macro/excel genius...

Best regards
M




--

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
Comparing 2 sets of data to fill in gaps Awrex Excel Worksheet Functions 3 July 24th 09 04:58 PM
Comparing and inserting cell from two files into third file Jeegar Excel Discussion (Misc queries) 3 May 10th 08 06:26 AM
comparing 2 columns info to fill 3rd column quinn111 Excel Worksheet Functions 6 October 5th 07 01:25 AM
Comparing Fill Color magoobee[_2_] Excel Programming 1 October 24th 05 05:16 PM
Fill Data from dererent file into one file. shital shah Excel Programming 0 March 3rd 05 06:41 PM


All times are GMT +1. The time now is 05:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"