How to see if 1 is supplied by A

Tmmmmy

New Member
Joined
Sep 19, 2023
Messages
2
Office Version
  1. 2021
Platform
  1. MacOS
Hi all,

Somehow Xl2bb was not allowing me to create a mini sheet so I've added a picture.

A product can be supplied by more than 1 supplier. However I want to find out if at least supplier "A" is supplying.
If any product is supplied by supplier "A" I want the cell to say "Yes". if any product is not supplied by "A", I want the cell to say "No".

Can anyone give their advice?

Regars,

Tim

1695115812210.png
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
try this

Book1
ABCDE
1ProductSupplierProductSupplier A
21A1YES
31B2YES
41C3No
52A4No
62B5No
73B
83C
94C
105B
Sheet2
Cell Formulas
RangeFormula
E2:E6E2=IF(COUNTIFS($A$2:$A$10,D2,$B$2:$B$10,"A"),"YES","No")
 
Upvote 0
Solution
That seems to have worked, thanks a lot! Was breaking my head over this for quite some time..
 
Upvote 0

Forum statistics

Threads
1,215,694
Messages
6,126,258
Members
449,307
Latest member
Andile

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