Solved

Multiple entry formula

Posted on 2014-10-14
6
53 Views
Last Modified: 2014-10-14
Hi,

I need some formula that determines whether a deal number is multi product using uses the below rules

(1) if a deal number is > 1 &
(2) if the products within those deal numbers are NOT unique

then "YES"
otherwise "NO"

I have attached an example spreadsheet

Many thanks
EE.xlsx
0
Comment
Question by:Seamus2626
  • 2
  • 2
  • 2
6 Comments
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 250 total points
ID: 40379911
Here is the formula:

=+IF(B2>1;IF(COUNTIF(B:B;B2)>1;"YES";"NO");"NO")
0
 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 40379922
OR

=IF(AND(B2>1,COUNTIF(B:B,B2)>1),"YES","NO")

Regards
0
 

Author Comment

by:Seamus2626
ID: 40379933
But how is that formula taking into account the product data?

Your'e only looking at the deal number?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Seamus2626
ID: 40379944
So, if the deal number is not unique, and the the products are unique, thats a "NO", otherwise a "YES"
0
 
LVL 49

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 250 total points
ID: 40379955
Hi,

pls try

=IF(COUNTIFS(B:B,B2,D:D,D2)<>COUNTIFS(B:B,B2),"Yes","No")

Regards
0
 
LVL 15

Expert Comment

by:Haris Djulic
ID: 40379958
You are right ita not takng, you need to put D instead of B in the part related to countif
IF(B2>1;IF(COUNTIF(d:d;d2)>1;"YES";"NO");"NO")
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Macro 6 50
Boolean help 6 27
Manually enter date in datepicker 24 36
Vlookup formula error 15 11
Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now