+ Reply to Thread
Results 1 to 4 of 4

Duplicate Column if there is data

  1. #1
    Registered User
    Join Date
    12-31-2019
    Location
    Sonora,Mexico
    MS-Off Ver
    Office2019
    Posts
    2

    Duplicate Column if there is data

    Hello,i need to put the Ndoc (first row) twice if it has a value in both columns (ICMS, IPI) if the value is 0 in any of these rows then it just needs to type Ndoc once.

    i tried this but it doesnt check if is ICMS or IPI

    Please Login or Register  to view this content.
    i dont know which function i should be using


    Thx in advance
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,987

    Re: Duplicate Column if there is data

    Welcome to the forum.

    At the top of this page there are instructions about how to attach your workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-31-2019
    Location
    Sonora,Mexico
    MS-Off Ver
    Office2019
    Posts
    2

    Re: Duplicate Column if there is data

    My bad, thank you for the welcome
    Attached Files Attached Files

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Duplicate Column if there is data

    Can you attach a copy of your file which shows the expected results in sheet "BDC"?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ 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. Replies: 3
    Last Post: 07-11-2019, 12:53 PM
  2. Macro to remove duplicate data in one column and keep highest value in another column
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-18-2016, 08:56 AM
  3. [SOLVED] Copying cell data in one column when duplicate cells located in separate column
    By Excelcious in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-10-2015, 02:41 AM
  4. Find duplicates in one column & add data from another column to duplicate-free sheet
    By ingiabouzeid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2013, 03:37 AM
  5. Replies: 1
    Last Post: 06-01-2013, 01:27 AM
  6. Replies: 2
    Last Post: 03-09-2013, 10:14 PM
  7. Search column a for duplicate data and copy entire row to duplicate sheet
    By crazyAMP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2012, 08:21 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