Monday, September 26, 2016

Solution to Problem: Delete dupilcat rows of information

Delete dupilcat rows of information

I have a spread sheet with a list of adresses and work codes on one row.
The spread sheet shows the address list indidvidually and the work code next to it.
I would like to have Excel look at the duplicate addresses and then take the unique work code and
list them on one row.
This is what I have:
              address                        work code
1107 Elm St                                 7203
1107 Elm St                                 7269
1107 Elm St                                7202
 
Would like to have it displayed as this:
1107 Elm St                   7203       7269       7202
All on one row.

Keys to the Problem Delete dupilcat rows of information

Download Error Fixer (Free)

Hi,
ALT+F11 to open VB editor.
Right click 'ThisWorkbook' and insert module and paste the code below in.
With your data sheet as the active sheet run the code.
Sub Line_EM_Up()
Dim MyRange As Range
Dim CopyRange As Range
Dim LastCol As Long, LastRow As Long
LastRow = Cells(Cells.Rows.Count, "A").End(xlUp).Row
Set MyRange = Range("A1:A" & LastRow)
For Each c In MyRange
    For x = c.Row + 1 To LastRow
    If UCase(Trim(Cells(x, 1))) = UCase(Trim(c.Value)) Then
        LastCol = ActiveSheet.Cells(c.Row, Columns.Count).End(xlToLeft).Column
        c.Offset(, LastCol) = Cells(x, 1).Offset(, 1).Value
        If CopyRange Is Nothing Then
                Set CopyRange = Rows(x).EntireRow
        Else
                Set CopyRange = Union(CopyRange, Rows(x).EntireRow)
        End If
    End If
    Next
Next
If Not CopyRange Is Nothing Then
CopyRange.Delete
End If
End Sub
 
Edit..
This line changed to give a more robust comparison of values
 If UCase(Trim(Cells(x, 1))) = UCase(Trim(c.Value)) Then

If this post answers your question, please mark it as the Answer.
Mike H

Manually editing the Windows registry

Caution: Unless you an advanced PC user, please do not edit the Windows registry manually.

Because of this risk, we highly recommend using a trusted registry cleaner such as SmartPCFixer Using a registry cleaner automates the process of finding invalid registry entries, missing file references (like the one causing your MACHINE_CHECK_EXCEPTION error), and broken links within the registry. A backup is automatically created before each scan, with the ability to undo any changes in a single click, protecting you against the possibility of PC damage. The best part is that repairing registry errors can also dramatically improve system speed and performance.

  • Click the Start button.
  • Type "command" in the search box... DO NOT hit ENTER yet!
  • While holding CTRL-Shift on your keyboard, hit ENTER.
  • You will be prompted with a permission dialog box.
  • Click Yes.
  • A black box will open with a blinking cursor.
  • Type "regedit" and hit ENTER.
  • In the Registry Editor, select the Error 0x9C-related key (eg. Windows Operating System) you want to back up.
  • From the File menu, choose Export.
  • In the Save In list, select the folder where you want to save the Windows Operating System backup key.
  • In the File Name box, type a name for your backup file, such as "Windows Operating System Backup".
  • In the Export Range box, be sure that "Selected branch" is selected.
  • Click Save.
  • The file is then saved with a .reg file extension.
  • You now have a backup of your MACHINE_CHECK_EXCEPTION-related registry entry.

The next steps in manually editing your registry will not be discussed in this article due to the high risk of damaging your system. If you would like to learn more about manual registry editing, please see the links below.

Recommended Method to Repair the Problem: Delete dupilcat rows of information:

How to Fix Delete dupilcat rows of information with SmartPCFixer?

1. You can Download Error Fixer here. Install it on your computer. When you open SmartPCFixer, it will perform a scan.

2. After the scan is done, you can see the errors and problems need to be repaired. Click Fix All.

3. The Fixing part is done, the speed of your computer will be much higher than before and the errors have been removed.


Related: How to Update & Download NVidia GeForce 6100/nForce 420 WHQL Certified driver v.178.13,How to Update & Download NVidia GeForce 7600 GS Video Driver v.295.75 Certified,How Can I Update & Download NVidia GeForce 820M Driver v.344.48 WHQL,[Solved] Download NVidia GeForce GTX 560M VGA Driver v.296.17 Certified,Way to Update & Herunterladen NVidia GeForce GT 130M Video Treiber v.295.75 Certified,How to Update & Download SONY SVE14A1X1RH Realtek Ethernet Driver,Where to Download SONY SVS13A2W9ES Bluetooth Driver (Intel) v.2.6 - 2.6.23.40059,Best Way to Update & Download SONY VGN-CR203E Conexant HDAUDIO SoftV92 Data Fax Modem with SmartCP Setup Program v.7.62.0.50 driver,Best Way to Download SONY VGN-FE790G/N Wireless LAN Driver v.10.6.0.29,Method to Update & Download SONY VGN-NR31Z/S Firmware Extension Parser Device v.8.0.2.3,How to Fix Error 0x0000c1f5 SoluciĆ³n?,Error 0x80071a91 Win7 Fix Patch,Error 0x800ccc60 Windows Live Mail [Solved],Error Message 0x800ccc79 Outlook 2000 Fix,What is Error 0xc1ab0001?,[Answered] x64 saplugin dll,How to Fix Problem - Kb943729 Download?,Troubleshooting: Bccode D1 Error,Java Runtime Tech Support,Troubleshooting: ERROR NO SUCH GROUP Error
Read More: Solution to Error: Date Custom Formatting,data validation drop down window stopped displaying options [Anwsered],Cylinder Shape in Excel 2007 and PowerPoint 2007 [Solved],Tech Support: Date Format Problem When Exporting From Excel To Sqlserver,Customising folders in Windows Live Mail [Solved]

No comments:

Post a Comment