+ Reply to Thread
Results 1 to 3 of 3

If data exists in a range from sheet A, then delete corresponding row in sheet B

  1. #1
    Registered User
    Join Date
    03-15-2021
    Location
    New York, NY
    MS-Off Ver
    Office 2013
    Posts
    4

    If data exists in a range from sheet A, then delete corresponding row in sheet B

    Hi, I'm just trying to do something pretty straight forward. All I need to do is run a test to see if data within SheetA exists in a particular row in SheetB ((vlookup or xlookup function perhaps?), then DELETE THAT ROW in SheetB IF the value exists in SheetA. See attached spreadsheets for clarification. Thanks in advance for anyone's willingness to take this on! I will learn this stuff! But right now fumbling around in the dark.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by mbnnyc; 03-18-2021 at 04:13 PM.

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,524

    Re: If data exists in a range from sheet A, then delete corresponding row in sheet B

    Assuming "Before" sheet and "BadEmailList" sheet are in the same workbook.
    Alter sheet names to suite.
    Please Login or Register  to view this content.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,883

    Re: If data exists in a range from sheet A, then delete corresponding row in sheet B

    crossposted: https://www.mrexcel.com/board/thread...eet-b.1165375/

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Delete a sheet if it exists without looping?
    By vwhite in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-17-2020, 07:05 AM
  2. [SOLVED] If sheet exists called Sheet* then delete
    By nickmax1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-06-2016, 08:31 AM
  3. [SOLVED] Delete sheet if it exists
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-15-2015, 03:08 PM
  4. [SOLVED] Check range from one sheet against range in another sheet and then delete row if exists
    By zigojacko in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-19-2013, 12:37 PM
  5. VBA - If ActiveCell.Value (from sheet 1) exists in a range in sheet 2
    By nateorious in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2012, 05:25 AM
  6. Delete a sheet, if it exists
    By LydiasDad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-13-2011, 09:06 PM
  7. delete sheet if exists help needed
    By mattfaust in forum Excel General
    Replies: 2
    Last Post: 08-30-2006, 12:28 PM

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