Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
AGP AGP is offline
external usenet poster
 
Posts: 5
Default Creating Code??


"Jcraig713" wrote in message
...
My spreadsheet data look like this:

A B C D E F G
H
hlduniq Sclname StuLast Stufirst house# StrNam City Zip
99 BldgA Black John 100 Second Detroit 48330
100 BldgA Smith Jane 133 Main Detroit 48332
100 BldgB Smith John 133 Main Detroit 48332
101 BldgA Doe Jane 1001 First Detroit 48331
102 BldgB Doe John 1001 First Detroit 48332

What I would like the code to do is to return just the two rows (the Doe's
on the bottom) that the house number and the first three digits of the
street
name are the same, but the household unique ID differs. In my system,
this
is a duplicate address that needs to be amended to one house unique. I
just
need a way to not have to manually look through 10,000 records by hand.
Can
this be done? Can you help?


yes it can be done. look in the Excel VBA help system to learn how to write
a VBA macro.
use cell.value() and iterate through the cells that you mbneed to cover.

AGP


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
Creating Code?? joel Excel Programming 5 April 6th 09 01:43 AM
Help with creating code?? Mekinnik Excel Programming 1 November 6th 07 07:30 PM
Help Creating Code mate[_2_] Excel Programming 3 March 20th 07 06:30 PM
Code that keeps creating a toolbar - where might that code be hidden? Keith Excel Programming 4 February 12th 07 08:33 PM


All times are GMT +1. The time now is 06:47 AM.

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

About Us

"It's about Microsoft Excel"