Multiple Criteria

gajender

New Member
Joined
Jan 8, 2019
Messages
4
Hi,

[TABLE="width: 302"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]ID[/TD]
[TD]STATUS[/TD]
[TD]Confirmed Status[/TD]
[/TR]
[TR]
[TD]3333[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4444[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2222[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3333[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2222[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3333[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1111[/TD]
[TD]Not Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4444[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1111[/TD]
[TD]Not Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3333[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3333[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3333[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1111[/TD]
[TD]Not Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4444[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1111[/TD]
[TD]Not Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1111[/TD]
[TD]Not Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3333[/TD]
[TD]Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1111[/TD]
[TD]Not Approved[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4444[/TD]
[TD]Approved[/TD]
[TD]




[/TD]
[/TR]
</tbody>[/TABLE]
I have data like above, So If id (eg 1111) have approved in next column cell, then it show approved for all id (eg 1111), if one of them or more than one is not approved then it show Not approved in column c which is confirmed status. thanks in advance.

Regards
Gajender
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
How about


Excel 2013/2016
ABC
1IDSTATUSConfirmed Status
23333ApprovedApproved
34444ApprovedApproved
42222ApprovedApproved
53333ApprovedApproved
62222ApprovedApproved
73333ApprovedApproved
81111Not Approvednot approved
94444ApprovedApproved
101111Not Approvednot approved
113333ApprovedApproved
123333ApprovedApproved
133333ApprovedApproved
141111Not Approvednot approved
154444ApprovedApproved
Sheet1
Cell Formulas
RangeFormula
C2=IF(COUNTIFS($A$2:$A$20,A2,$B$2:$B$20,"Not approved")>0,"not approved","Approved")
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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