Problem counting records

heimdaloz

New Member
Joined
Feb 1, 2018
Messages
9
Hi, I have a excel data set that contains the following:

Position | 1 Feb | 2 Feb | 3 Feb |
------------------------------------------
Position 1 | A | A | C |
Position 2 | B | A | D |
Position 1 | D | A | C |

So the data represents the projects (A, B, C, D) that different people work during the month of February.

The sheet counts the number of Days spent on each project using Countif. For exam Project A = 4

I have had a request to be about to give the number of days spent on a project by position. For example Position 1 - Project A = 3

I started out trying to using an AND but don't know how to deal with the fact I only want to to Count the cells on certain rows.

I am current using Excel 2013, but if this is not possible, maybe able to use Excel 365.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I am current using Excel 2013, but if this is not possible, maybe able to use Excel 365.
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

I also suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.

See if this helps

20 04 29.xlsm
ABCDEFGH
1Position 1-Feb2-Feb3-FebPosition ProjectCount
2Position 1 AACPosition 1 A3
3Position 2 BAD
4Position 1 DAC
SP
Cell Formulas
RangeFormula
H2H2=SUMPRODUCT((B2:D4=G2)*(A2:A4=F2))
 
Upvote 0
Hi Peter,
Sorry for the delay in getting back. This is exactly what I needed and thanks for the tip on XL2BB.
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,301
Members
449,078
Latest member
nonnakkong

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