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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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