Evaluating a range based on condition of other columns

goku239

New Member
Joined
Aug 28, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Greetings,

Is there a formula for the accept/reject column where it evaluates to see if the Dollars column have the same values based on the grouping of Name and age?

For example below, 20 yr old Mike has two entries and the Dollars are the same value for both, so I would accept.

10yr old Mike has 3 entries, but they are not all the same in the Dollars, so I would reject.

Any help would be greatly appreciated

Thank you

NameAgeDollarsaccept/reject
Mike
20​
100​
accept
Mike
20​
100​
accept
Mike
10​
200​
reject
Mike
10​
201​
reject
Mike
10​
200​
reject
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Welcome to the MrExcel board!

Try:

Book1
ABCD
1NameAgeDollarsaccept/reject
2Mike20100Accept
3Mike20100Accept
4Mike10200Reject
5Mike10201Reject
6Mike10200Reject
Sheet11
Cell Formulas
RangeFormula
D2:D6D2=IF(COUNTIFS($A$2:$A$10,A2,$B$2:$B$10,B2,$C$2:$C$10,C2)=COUNTIFS($A$2:$A$10,A2,$B$2:$B$10,B2),"Accept","Reject")
 
Upvote 0
Solution

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

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