ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   My Duplicate formula is not functioning as it should (https://www.excelbanter.com/excel-worksheet-functions/241406-my-duplicate-formula-not-functioning-should.html)

Steved

My Duplicate formula is not functioning as it should
 
Hello from Steved

If I change the Data in Col C3 or Col H3 "dup" is not Displayed, is what I
require

If I change the Data in Col B3 or Col G3 "dup" Stays Displayed Why? please.

=IF(COUNT(B3,G3)<2,"",IF(C3=H3,"dup",""))

Logical_test COUNT(B3,G3)<2 = False
Value_if_True "" = ""
Value_if_False IF(C3=H3,"dup","") = "dup"
= "dup"

Thankyou.

pogiman via OfficeKB.com

My Duplicate formula is not functioning as it should
 
What is the relation of Columns B, C, G and H? Is there an order of priority?

From the information below you may try this:

=if(and(B3=G3,c3=h3),"dup","")

The formula will display "dup" if both conditions are met otherwise it will
return blank (either 1 or both are not equal).

Hope this help.


Steved wrote:
Hello from Steved

If I change the Data in Col C3 or Col H3 "dup" is not Displayed, is what I
require

If I change the Data in Col B3 or Col G3 "dup" Stays Displayed Why? please.

=IF(COUNT(B3,G3)<2,"",IF(C3=H3,"dup",""))

Logical_test COUNT(B3,G3)<2 = False
Value_if_True "" = ""
Value_if_False IF(C3=H3,"dup","") = "dup"
= "dup"

Thankyou.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200909/1


Steved

My Duplicate formula is not functioning as it should
 
Hello pogiman

Thankyou.

"pogiman via OfficeKB.com" wrote:

What is the relation of Columns B, C, G and H? Is there an order of priority?

From the information below you may try this:

=if(and(B3=G3,c3=h3),"dup","")

The formula will display "dup" if both conditions are met otherwise it will
return blank (either 1 or both are not equal).

Hope this help.


Steved wrote:
Hello from Steved

If I change the Data in Col C3 or Col H3 "dup" is not Displayed, is what I
require

If I change the Data in Col B3 or Col G3 "dup" Stays Displayed Why? please.

=IF(COUNT(B3,G3)<2,"",IF(C3=H3,"dup",""))

Logical_test COUNT(B3,G3)<2 = False
Value_if_True "" = ""
Value_if_False IF(C3=H3,"dup","") = "dup"
= "dup"

Thankyou.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200909/1



Bernd P

My Duplicate formula is not functioning as it should
 
Hello,

Or
=REPT("dup",(B3=G3)*(C3=H3))

Regards,
Bernd

Steved

My Duplicate formula is not functioning as it should
 
Hello Bernd

Sorry about the late reply

Thankyou

"Bernd P" wrote:

Hello,

Or
=REPT("dup",(B3=G3)*(C3=H3))

Regards,
Bernd



All times are GMT +1. The time now is 07:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com