A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help to copy notes from 1 sheet to another



 
 
Thread Tools Display Modes
  #1  
Old May 15th, 2009, 11:41 AM posted to microsoft.public.excel.misc
Mrbanner
external usenet poster
 
Posts: 8
Default Help to copy notes from 1 sheet to another

I have 2 sheets in 1 excel file 500 rows need to make it so that if
Sheet1:ColB is the same as Sheet2:Colb then the Notes in
Columc:Sheet2 are displayed in sheet1ColumC

note that in most cases the infomation in Colb wont be in the same
order etc. and also a few records missing if this is the case i would
like it to be blank.

Cheers
  #2  
Old May 15th, 2009, 12:11 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Help to copy notes from 1 sheet to another

In Sheet1 C1 enter the formula and copy that down

=IF(ISERROR(MATCH(B1,Sheet2!B:B,0)),"",INDEX(Sheet 2!C:C,MATCH(B1,Sheet2!B:B,0),0))

If this post helps click Yes
---------------
Jacob Skaria


"Mrbanner" wrote:

I have 2 sheets in 1 excel file 500 rows need to make it so that if
Sheet1:ColB is the same as Sheet2:Colb then the Notes in
Columc:Sheet2 are displayed in sheet1ColumC

note that in most cases the infomation in Colb wont be in the same
order etc. and also a few records missing if this is the case i would
like it to be blank.

Cheers

  #3  
Old May 15th, 2009, 02:43 PM posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
 
Posts: 6,167
Default Help to copy notes from 1 sheet to another

Fire this macro while in sheet 1
Sub matchiteminothersheet()
On Error Resume Next
For i = 1 To Cells(Rows.Count, "b").End(xlUp).Row
Set x = Sheets("sheet2").Columns("b").Find(Cells(i, "b"), _
LookIn:=xlValues, LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, MatchCase:=False)
If Not x Is Nothing Then Cells(i, "c") = "Match"
Next i
End Sub

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Mrbanner" wrote in message
...
I have 2 sheets in 1 excel file 500 rows need to make it so that if
Sheet1:ColB is the same as Sheet2:Colb then the Notes in
Columc:Sheet2 are displayed in sheet1ColumC

note that in most cases the infomation in Colb wont be in the same
order etc. and also a few records missing if this is the case i would
like it to be blank.

Cheers


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.