Can I have help with Multi COUNTIF

Mettaya1

New Member
Joined
Oct 8, 2013
Messages
20
I currently have this equation =COUNTIF($EZ29:$GD42,"TTMU")+COUNTIF($EZ29:$GD42,"TTMC")+COUNTIF($EZ29:$GD42,"TTMI")
Which works fine.

Was wondering if there was an easier way of doing this as typing it in is slow going when this is used month by month over a specific range.

Would a LOOKUP do this easier and if so how would it work.

Regards

Mettaya1
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Glad to help, thanks for the feedback..


You can also use a range of cells for the criteria
=SUMPRODUCT(COUNTIF($EZ29:$GD42,$A$1:$A$3))
A1:A3 = TTMU TTMC and TTMI
 
Upvote 0
I actually have a sheet arranged with the top row with dates and the first column is who is doing the work.
Could I do a lookup in some way to just find a particular month and the above criteria?
 
Upvote 0
Sorry, I don't follow.
Can you give some more detail?

You may be better off with a new thread.
 
Upvote 0
Sorry, I don't follow.
Can you give some more detail?

You may be better off with a new thread.
For example
A1:Z1 are dates
A2:A30 are roles of staff and companies

B2:Z30 are posted as either TTMU TTMC and TTMI if one took place. These are actually audits. So am trying to work out a way of picking this data up without having to type a complex calc in for each month.

Sorry I wasn't more clear earlier.
 
Upvote 0
Try

=INDEX($B$2:$Z$30,MATCH($A$32,$A$1:$A$30,0),MATCH($A$33,$B$1:$Z$1,0))

A32 = the Name of interest
A33 = the Date of interest
 
Upvote 0
Works for me.
Although I had a small typo (that would not have caused #N/A error)

Perhaps the Match for the dates should be a closest match instead of exact match
=INDEX($B$2:$Z$30,MATCH($A$32,$A$2:$A$30,0),MATCH($A$33,$B$1:$Z$1))

Or I've misunderstood you're requirement.


Excel Workbook
ABCDEFGHIJKLM
11/1/20132/1/20133/1/20134/1/20135/1/20136/1/20137/1/20138/1/20139/1/201310/1/201311/1/201312/1/2013
2Name1TTMUTTMUTTMITTMCTTMUTTMCTTMCTTMUTTMUTTMCTTMUTTMU
3Name2TTMITTMITTMITTMUTTMCTTMITTMUTTMCTTMITTMITTMCTTMC
4Name3TTMCTTMITTMUTTMITTMCTTMUTTMITTMUTTMCTTMITTMITTMC
5Name4TTMITTMITTMCTTMUTTMUTTMUTTMITTMITTMITTMCTTMUTTMC
6Name5TTMITTMUTTMUTTMCTTMCTTMUTTMITTMUTTMITTMITTMCTTMC
7Name6TTMITTMUTTMITTMCTTMITTMITTMUTTMCTTMUTTMITTMUTTMC
8Name7TTMITTMUTTMCTTMCTTMUTTMCTTMCTTMITTMUTTMUTTMITTMC
9Name8TTMITTMUTTMCTTMITTMCTTMUTTMCTTMITTMITTMCTTMCTTMU
10Name9TTMCTTMUTTMITTMUTTMCTTMCTTMUTTMITTMITTMCTTMCTTMC
11
31
32Name3
334/1/2013
34
35TTMI
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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