+ Reply to Thread
Results 1 to 3 of 3

how to replace duplicate values with zero

  1. #1
    Registered User
    Join Date
    01-01-2021
    Location
    Morocco
    MS-Off Ver
    2018
    Posts
    31

    how to replace duplicate values with zero

    dear admin dear all
    I ask you to help me to have a solution to automatically replace duplicate values by zero as is represented in attachments
    best regardsAttachments.PNG

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070

    Re: how to replace duplicate values with zero

    Hello,

    You can use =IF(A2&B2=A1&B1,0,B2)

    see your test file ...
    Attached Files Attached Files
    HTH
    Carim


    Top Excel Links

  3. #3
    Registered User
    Join Date
    01-01-2021
    Location
    Morocco
    MS-Off Ver
    2018
    Posts
    31

    Re: how to replace duplicate values with zero

    thank you for the answer the function also be counted by the first column if there is doubling in the first column and we will always have the same values it assigns zero to these doubling
    thanks

+ 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: 7
    Last Post: 10-26-2020, 07:05 AM
  2. Replies: 1
    Last Post: 05-26-2020, 02:08 PM
  3. [SOLVED] Find and Replace Loop + a Loop to remove Duplicate values
    By lougs7 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-23-2018, 07:43 AM
  4. VBA To Replace Consecutive Duplicate Values
    By Jamsandwich in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-25-2015, 05:22 AM
  5. [SOLVED] How to lookup duplicate values between sheets and replace with value from another column
    By ladydubs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-26-2013, 12:59 PM
  6. Replies: 1
    Last Post: 01-26-2012, 10:06 AM
  7. Seach two ranges for a duplicate values and replace
    By Ricker090 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2011, 04:58 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