How to make a formula to to count a word if 2 other cells have a value/text.

Paul365

New Member
Joined
Oct 29, 2021
Messages
22
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
Hello,

I have bens truggling to figure this out, if someone could help me it would be greatly appriciated.

I am trying to create a formula which will ocunt how many "yes" is in a range of cells if 2 different cells match.

example:
If bz12 cell matches bw7 Cell (Names of people) and ca12 cell has "$$" written in it, then I want it to count how many "yes" in a range of cells (let's say bz14 to bz18).

1737945898243.png
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Try:
Excel Formula:
=IF(AND($B$Z12=BW7,$CA$12="$$"),COUNTIFS($BZ$14:$BZ$18,"YES"),"")
 
Upvote 0

Forum statistics

Threads
1,226,013
Messages
6,188,421
Members
453,473
Latest member
bbugs73

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