Offistart - Virtual Offices, Office Space, Business Support Services
*Home>>>Business Address

I have a doubt in MS Excel?


If I have 500 client's Name & addresses with business details in sheet1 and 1000 Client's Name & addresses in another sheet2, How do I check whether the sheet 2 has included any / All of the 500 clients?

Write a small macro.
assuming you have column A in sheet1 with the client's name and data starts from A2; similarly, for same setup in sheet2.
In View menu, click tool bar then Form, a tool bar will appear. Select button to create a button in sheet1. In the Assign Macro screen, click new. In between the Sub and End sub, paste the following macro

Dim lastrow As Integer, c As Object, mrec As String
lastrow = Cells(Rows.Count, 1).End(xlUp).Row
Set sht = Worksheets("sheet2")
For Each cell In Range("A2:A" & lastrow)
Set c = sht.Columns(1).Find(cell, lookat:=xlPart)
If Not c Is Nothing Then
If c = cell Then
mrec = c.Address
cell.ClearComments: cell.AddComment "row" & c.Row
Do
Set c = sht.Columns(1).FindNext(c)
If Not c Is Nothing And mrec <> c.Address And c = cell Then
Text = cell.Comment.Text
cell.ClearComments
cell.AddComment Text & "/row" & c.Row
End If
Loop While mrec <> c.Address
End If
End If
Next

Now, if one clicks the button, it will add a red triangle on the top righthand corner, indicating that it has found identical name in sheet2. The comment will indicate identical name in which row.

try URL, hope it will be helpful

http://en.allexperts.com/q/Excel-1059/co...

Please use the vlookup formula to determine it.

Tags
  Temporary Offices   Shared Offices   Commercial Space   Office Space   Business Services   Business Address   Call Forwarding   Call Handling   Answering Service   Telephone Answering   Mail Forwarding   Virtual Address
Related information
  • Should I call about job appl if they left out their phone number?

    They may have left it out on purpose to discourage calls, but if you try to look it up anyway it will show that you are resourceful. Since they didn't specifically say "no calls", t...

  • How do I report a suspicious phone credit card solicitation?

    Check out your cards. Call them and ask if any of them were trying to change your status.

    ...
  • How can I get from Whittier CA to Hilton School of Bussiness in LA?

    this sounds like its at Loyola marymount university from Green Leaf/Penn board Metro Line 270 take this bus to the Norwalk green Line station, You will pay $1.25 for this first bus then board th...

  • Has anyone every heard of Royal Lending Group out of NC?

    I've worked in finance for over 20 years(part of that time in mortgage) and anytime the company is with the bbb you can be 1000000% reassured that it is a legitamite company. It is actually hi...

  • The father disappeared owing money,support his family knows can I take them to court to find out were he is?

    Yes, if you can't find him you won't be able to get any money. There is one exception to that rule and it is child support. His federal income tax return can be held for that. Other th...

  • Help! is this scam from beijing olympic games or what ?

    Yes any email that you receive and say you have one the lottery or some kind of prize, it is 100% a scam. Logic, if you did not purchase a lottery ticket, then there is no way that you can win a l...

  • I cannot read my yahoo mail. when I open my mail it will go blank. How do I solve this problem?.?

    Sounds like you are using the New Mail. At the top of your mail page click Switch to Classic mail, or from your inbox page over to the right click Options, on that screen over to the right it shoul...

  • Problem with probability?

    Let X be the number of non-authentic names in a sample of 5 names. X has the binomial distribution with n = 5 trials and success probability p = 0.4 In general, if X has the binomial distribu...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster