Count only One Time values in Column B if Column C <>String

drom

Well-known Member
Joined
Mar 20, 2005
Messages
528
Office Version
  1. 2021
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Hi and Thanks in advance
I am using Excel 2010 for this job.
I would like a Formula to count How many times a Value in Columns B, (Header AAA) and Column C (Header CCC) <> FISH do we have but:
Row 10 and 11 should be 1 (NOT 2)​
Row 18 and 19 should be 1 (NOT 2)​
Same for Row 22 and 23​


If I do this manually I will Get 6 (D2), (Check Yellow Cells)
I would lke to have a formula in B4 (Does not matter)
For This Query I am not using a Table, but I do not care if a have to use a Table if necessary

Column C (Header Manually) and Column E (Header AAA& BBB) is just to make it easier to understand my need

1599398289783.png
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try this formula which must be array confirmed with Ctrl Shift Enter, not just Enter.

=SUM(IFERROR(1/COUNTIFS(A7:A25,A7:A25,B7:B25,B7:B25,B7:B25,C2),0))

Note that the formula is untested, if it doesn't work then a usable sample will be needed (one that can be copied to excel without retyping everything). The best way to post one is with XL2BB (see link below).

 
Upvote 0

Forum statistics

Threads
1,214,994
Messages
6,122,633
Members
449,092
Latest member
bsb1122

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