Excel Macro Help

Closed
cliffshow - Aug 11, 2011 at 09:10 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Aug 12, 2011 at 02:22 PM
Hello,

I was wondering if it were possible to have a macro that would work for different sheets for having the column be pasted as long as the name matched with the same column in the first sheet.

ex.
I have 1 column in sheet one saying 20oz drink with a value and im trying to paste the same value in the next sheet as a batch.

Thank you.

files attached

http://www.mediafire.com/?ii7r94g3qsen43c

http://www.mediafire.com/?s1ia5b43f887pfo
Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 766
Aug 12, 2011 at 02:22 PM
But which column set of other sheet ?

You can use vlookup too if you want
Some thing like this


=IF(ISERROR(MATCH(A12,'C:\Documents and Settings\test\Desktop\[12.xls]12'!$B:$B,0)),"",VLOOKUP(A12,'C:\Documents and Settings\test\Desktop\[12.xls]12'!$B:$D,2,FALSE))
0