Count based on multiple criteria

jyly

New Member
Joined
Aug 1, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hi I am trying to find Table1[ID] that matches with Table7[Name], "Singer"

The only way to find this is if
Table1[ID] = Table7[IDs])
and Table7[IDs] = Table7[Name], "Singer"

but it keep showing error when I try to count it, how do I go around this?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I'm not sure exactly what values youre trying to count. A CountIF function would not normally have an ODD number of arguments.
I think the middle part of the second statement is not necessary.
Try this, maybe....
Excel Formula:
=COUNTIF(Table7[IDs],Table1[ID],Table7[Name],"Singer")
 
Upvote 0
I'm not sure exactly what values youre trying to count. A CountIF function would not normally have an ODD number of arguments.
I think the middle part of the second statement is not necessary.
Try this, maybe....
Excel Formula:
=COUNTIF(Table7[IDs],Table1[ID],Table7[Name],"Singer")
hello, it is showing #SPILL! now unsure why
 
Upvote 0
Mr excel has a tool called xl2bb (the link to the add in is below) that allows you to share miniworkbooks.
Please use that to post a sample of your data.

Thanks in advance.
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,123
Members
452,546
Latest member
Rafafa

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