+ Reply to Thread
Results 1 to 3 of 3

VBA to replace n/a by correct data from another column in same sheet with summary sheet

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    VBA to replace n/a by correct data from another column in same sheet with summary sheet

    Hi All

    I have a database in which statistics data are inserted in columns D, E, F.G ,those who are blank due to data discrepancies are marked N/A .

    there is columns J to M the correct data are inserted manually.

    My goal is to copy the correct data of columns J to M in their respective columns D TO G where N/a are shown and have a summary sheet of all n/a data that have been amended

    The database are around 20000 rows
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: VBA to replace n/a by correct data from another column in same sheet with summary she

    select cells from N2:Q2
    enter this formula

    =IF(J2:M2="",D2:G2,J2:M2)
    Press Ctrl + Shift +Enter

    then drage down to the end of your data
    then copy this formula area and paste it as values in the cell D2
    Teach me Excel VBA

  3. #3
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,784

    Re: VBA to replace n/a by correct data from another column in same sheet with summary she

    Hello Jean thanks for the rep

    If the reply really helped you,please take the time to mark the thread as solved.

+ 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. copy sheet names in column A in summary sheet
    By excelsql987 in forum Excel General
    Replies: 6
    Last Post: 01-29-2017, 01:47 PM
  2. [SOLVED] Have macro looking at column in summary sheet and matching to data in pivot table
    By sbrandhorst in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2016, 05:30 PM
  3. [SOLVED] Dynamically color cell on Summary sheet based on column values on data sheet
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-08-2016, 12:59 PM
  4. Formula suddenly displaying not correct results on summary sheet
    By canadianjameson in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-17-2015, 08:11 PM
  5. Generate new sheet from other data sheet and summary sheet
    By master sachin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2014, 12:28 PM
  6. Replies: 1
    Last Post: 12-20-2013, 07:05 AM
  7. [SOLVED] Populate summary sheet with values within specific month column on data sheet...
    By blue91 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-12-2013, 12:11 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