+ Reply to Thread
Results 1 to 7 of 7

If Cell Equals X, Then Show Entire Row on Another Sheet.

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    Saint Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    12

    Post If Cell Equals X, Then Show Entire Row on Another Sheet.

    I am desperate for help. I've tried and tried but cannot accomplish this.

    In sheet "Projects", if any cell in column "J" equals "x", the corresponding row needs to be shown in another sheet, "FollowUp".
    Once that the "x" has been removed from column "J" on the "Projects" sheet, that entire row needs to be removed from the "FollowUp" sheet.
    I would like both the "Projects" sheet and the "FollowUp" sheet to maintain the same headers.

    I don't mind using a button to do this.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: If Cell Equals X, Then Show Entire Row on Another Sheet.

    Once that the "x" has been removed from column "J" on the "Projects" sheet, that entire row needs to be removed from the "FollowUp" sheet.
    You mean entire row needs to be MOVED TO "FollowUp" sheet.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: If Cell Equals X, Then Show Entire Row on Another Sheet.

    Put this code in to sheet "Projects". When you put x (Case senstive) in column J, the entire row will be removed and moved over to the other sheet.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-10-2012
    Location
    Saint Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: If Cell Equals X, Then Show Entire Row on Another Sheet.

    When an "x" is present in column "J" on the "Projects" sheet, that entire corresponding row needs to be shown on the "FollowUp" sheet.
    When an "x" is removed from column "J" on the "Projects" sheet, that same entire corresponding row needs to be removed from the "FollowUp" sheet.

    No data is to ever change on the "Projects" sheet with the exception of adding and remove "x" from the column J and adding new projects.

  5. #5
    Registered User
    Join Date
    07-10-2012
    Location
    Saint Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: If Cell Equals X, Then Show Entire Row on Another Sheet.

    That worked with the exception that when I remove the "x" from column "J" on the "Projects" sheet, it doesn't remove it from the "FollowUp" sheet.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: If Cell Equals X, Then Show Entire Row on Another Sheet.

    But you are moving and remvoing the entire row to FollowUps, so which row or cell you want to remove it again from FollowUps sheet?

  7. #7
    Registered User
    Join Date
    07-10-2012
    Location
    Saint Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: If Cell Equals X, Then Show Entire Row on Another Sheet.

    I removed the "Target.EntireRow.Delete" from the original code so that the original row was not removed from the "Projects" sheet and just copied to the "FollowUp". I just need it to recognize that when the present "x" is remove, the entire row that was copied to the "FollowUp" sheet that corresponds with the removed "x" is removed as well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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