Problem with sumif & countif functions

Jzfbkr

New Member
Joined
Aug 4, 2014
Messages
29
RoundDateFixtureTeamFormationScored
19/13/2013TEAM A v TEAM BTEAM A4-4-23
19/13/2013TEAM A v TEAM BTEAM B4-4-20
210/01/2013TEAM A v TEAM CTEAM A4-4-21
210/01/2013TEAM A v TEAM CTEAM C3-5-21
310/08/2013TEAM D v TEAM ATEAM D3-4-32
310/08/2013TEAM D v TEAM ATEAM A4-4-21

<tbody>
</tbody>













Im having issues using the sumif/countifs functions within this data set. Im convinced the formula ive been using is correct but '0' just keeps appearing. Can anyone think of any reasons why this could be happening and how it can be sorted.

Above is the data set im using.
A4:F10 on my first sheet.

on the second sheet I have the conditions that I would like the data to be sorted.


TEAM NAME

<tbody>
</tbody>
Cell L18


FORMATION

<tbody>
</tbody>
Cell K24



I would like to Search Column C on the first sheet to see if it contains 'TEAM NAME' Cell on the second sheet. If it does I would then like to Search Column D for a cell that does not contain 'TEAM NAME' Cell.

Then match the formation in Cell K24 counting the cells in row F that match the criteria.

anyhelp with this would be much appreciated i've been struggling on this for a while now.

Thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
RoundDateFixtureTeamFormationScored
19/13/2013TEAM A v TEAM BTEAM A4-4-23
19/13/2013TEAM A v TEAM BTEAM B4-4-20
210/01/2013TEAM A v TEAM CTEAM A4-4-21
210/01/2013TEAM A v TEAM CTEAM C3-5-21
310/08/2013TEAM D v TEAM ATEAM D3-4-32
310/08/2013TEAM D v TEAM ATEAM A4-4-21

<tbody>
</tbody>













Im having issues using the sumif/countifs functions within this data set. Im convinced the formula ive been using is correct but '0' just keeps appearing. Can anyone think of any reasons why this could be happening and how it can be sorted.

Above is the data set im using.
A4:F10 on my first sheet.

on the second sheet I have the conditions that I would like the data to be sorted.


TEAM NAME

<tbody>
</tbody>
Cell L18


FORMATION

<tbody>
</tbody>
Cell K24



I would like to Search Column C on the first sheet to see if it contains 'TEAM NAME' Cell on the second sheet. If it does I would then like to Search Column D for a cell that does not contain 'TEAM NAME' Cell.

Then match the formation in Cell K24 counting the cells in row F that match the criteria.

anyhelp with this would be much appreciated i've been struggling on this for a while now.

Thanks

I find your description of what you want a little confusing. It would be more helpful if you would reference your data and give an actual example of what you want to search for and what the correct result would be.
 
Upvote 0
Whats the formula you are currently using?

Might this be what you need?


Excel 2010
ABCDEFGH
1RoundDateFixtureTeamFormationScored
219/13/2013TEAM A v TEAM BTEAM A4-4-23
319/13/2013TEAM A v TEAM BTEAM B4-4-20
4210/01/2013TEAM A v TEAM CTEAM A4-4-21
5210/01/2013TEAM A v TEAM CTEAM C3-5-21
6310/08/2013TEAM D v TEAM ATEAM D3-4-32
7310/08/2013TEAM D v TEAM ATEAM A4-4-214
Sheet1
Cell Formulas
RangeFormula
H7=COUNTIFS($C$2:$C$7,"*"&Sheet2!L18&"*",Sheet1!$E$2:$E$7,Sheet2!K24)
 
Last edited:
Upvote 0
I'd like to SUM the goals scored based on the above criteria:

If Column C contains TEAM A
Column D equals TEAM A
Column E equals the given formation.

The sumif function I am currently using keeps returning 0

could it be something to do with cell formating or macros I am running?
 
Upvote 0

Forum statistics

Threads
1,215,148
Messages
6,123,301
Members
449,095
Latest member
Chestertim

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