+ Reply to Thread
Results 1 to 3 of 3

Delete rows based on multiple criterias, copy/paste data and formulas

  1. #1
    Registered User
    Join Date
    03-25-2013
    Location
    McKinney, Texas, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Delete rows based on multiple criterias, copy/paste data and formulas

    Excel 2010 - I need help to delete rows of a report which contains $- or zero value. The report is grouped by account number (in hundreds of account group and thousands of rows) and not in the list format, which make it difficult to use Excel filter and formula to delete the unwanted $- value.

    1. I need to delete the $- rows but not "Beginning Balance with $-" should remain in the report. But if the "Subtotal" is $-, then need to delete all the rows from "Account Number" to "Subtotal" plus one empty row (Beginning Balance will be deleted too). This program should continue to search and delete until all $- rows are removed.

    2. For each rows (data between "Beginning Balance" to the last row of that Account Number group), I need to copy the Account Number (example 211-00-5936-00-001-3-00-2-00 etc) and paste beside the Data in column F, paste formula =(IF(B11="","7/1/2012",EOMONTH(DATEVALUE(B11),0))) in column G, paste formula =MID(F11,8,4) in column H, and past formula =MID(F11,16,3) in column I.

    I attached the file with raw data on ReportData sheet and the expected output on FinishedReport. Appreciate any assistance, help, or reference.
    Attached Files Attached Files

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Delete rows based on multiple criterias, copy/paste data and formulas

    Try this - I didn't actually put the formulas in the cells, just the results. Let me know if you actually want the formulas

    Please Login or Register  to view this content.
    Please click the * below if this helps
    Please click the * below if this helps

  3. #3
    Registered User
    Join Date
    03-25-2013
    Location
    McKinney, Texas, USA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Delete rows based on multiple criterias, copy/paste data and formulas

    Jasper D, it works. Thank you very much.

+ 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