+ Reply to Thread
Results 1 to 3 of 3

Need IF statement

  1. #1
    Registered User
    Join Date
    10-03-2006
    Posts
    2

    Need IF statement

    I have an Excel worksheet with about 1000 records. Some of the cells have information that needs to be deleted and a cell needs to be added to others. This only happens in a few of the columns 4 out of 35. How can I write a macro to remove the unwanted info and also add cells.

    Example - row 3, column O needs to have a cell added - row 9, column M needs to have information removed from the cell or delete that cell and add another in its place.

    I believe if I can get these two working I can use the same info to fix the others since they are in the same columns different rows.

    Thanks,
    Ralph
    Last edited by rwilley; 10-03-2006 at 09:52 AM.

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    It would help if you explained where and what data is to be removed and where and what cells are to be added as well as the criteria for this event.

    Regards,
    Simon

  3. #3
    Registered User
    Join Date
    10-03-2006
    Posts
    2
    Example - row 3, column O needs to have a cell added - row 9, column M needs to have information removed from the cell or delete that cell and add another in its place.

    I believe if I can get these two working I can use the same info to fix the others since they are in the same columns different rows.

    Thanks,
    Ralph

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1