Good Afternoon!
I am looking for a statement that I can add to a query in design view that will create a new field that returns a "True" or "False" if the data in "Field C" is duplicate for all records in which "Field B" has a certain value. In Excel, I would simply use a COUNTIF formula, but I cannot find the equivalent in Access.
For example:
Item Status Location NewField
12345 Here Boston FALSE
12354 There Boston TRUE
12145 There Boston TRUE
15632 There LA FALSE
12145 Here LA TRUE
12354 Here LA TRUE
In the example, Location "Boston" is TRUE when Status = "There" because it is a duplicate in the Location field. The same for "LA" and "Here".
Any help would be appreciated!
Regards,
I am looking for a statement that I can add to a query in design view that will create a new field that returns a "True" or "False" if the data in "Field C" is duplicate for all records in which "Field B" has a certain value. In Excel, I would simply use a COUNTIF formula, but I cannot find the equivalent in Access.
For example:
Item Status Location NewField
12345 Here Boston FALSE
12354 There Boston TRUE
12145 There Boston TRUE
15632 There LA FALSE
12145 Here LA TRUE
12354 Here LA TRUE
In the example, Location "Boston" is TRUE when Status = "There" because it is a duplicate in the Location field. The same for "LA" and "Here".
Any help would be appreciated!

Regards,
Last edited: