Formula help required!

PPBALL

New Member
Joined
Mar 29, 2017
Messages
6
Hi All,

I work in a call centre environment where we log our calls/emails etc.
When I run the stats, I have a column called 'Contact Type' and a column called 'Caller' (as well as 50 other columns).
I need a formula to give me the total number of tickets where the Caller equals "Third Party" and the Contact Type equals "Inbound Phone". The sticking situation, is that I do not always pull the data in the same column, so I can't base this based on the column letter. I need to be able to index and match based on the column header for these two conditions.

Help please!

Kind Regards,
Priscilla
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You can do that. Which row are the headers in? Also which is the last row and last column of the data?
 
Upvote 0
Headers are in Row 1 and the last row of the data varies week to week, depending on ticket numbers. On average, we get 1000 every week. The last column of data is 'DA'
 
Upvote 0
Try this:

=COUNTIFS(INDEX(A:DA,,MATCH("Contact Type",A1:DA1,0)),"Inbound Phone",INDEX(A:DA,,MATCH("Caller",A1:DA1,0)),"Third Party")
 
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,004
Members
449,203
Latest member
Daymo66

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