Formula to remove duplicates based on several criteria

ybr_15

Board Regular
Joined
May 24, 2016
Messages
204
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
I want to remove duplicate values in column D (Estimate) so that the result is like in column G (Result). The criteria are: "If there is a row of the same values in column B (Category), column C (Size), and column F (Material) then the value is 0 (marked in orange)". I still can't get the formula. Can I be helped? Thank you...
Book2
BCDEFG
2CATEGORYSIZEESTIMATE%MATERIALRESULT
3OTHERS14.8 X 2114,500102%-14,500
4OTHERS14.8 X 211,000118%AC 210, 65 X 1001,000
5OTHERS14.8 X 2114,500102%--
6OTHERS15 X 19.53,91738%-3,917
7OTHERS21 X 29.7119,700103%-119,700
8OTHERS21 X 29.7119,700103%--
9OTHERS21 X 29.71,000152%AC 190, 65 X 1001,000
10OTHERS21 X 29.7119,700103%--
11OTHERS21 X 29.7119,700103%--
12OTHERS23 X 33.519,18092%-19,180
13OTHERS38.5 X 5234,891100%-34,891
Sheet1
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hope this helps.
G3=IF(COUNTIFS($B$3:B3,B3,$C$3:C3,C3,,$D$3:D3,D3$F$3:F3,F3)>1,0,D3)
 
Upvote 0
Solution
Hope this helps.
G3=IF(COUNTIFS($B$3:B3,B3,$C$3:C3,C3,,$D$3:D3,D3$F$3:F3,F3)>1,0,D3)
Hi, Takae
Yes, it works. Thank you... There is a slight typo, here my edited: =IF(COUNTIFS($B$3:B3,B3,$C$3:C3,C3,$D$3:D3,D3,$F$3:F3,F3)>1,0,D3)
 
Upvote 0

Forum statistics

Threads
1,223,967
Messages
6,175,664
Members
452,666
Latest member
AllexDee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top