COUNTIFS? INDEX? MATCH? I just cant get this to work!

jreese159

New Member
Joined
Mar 5, 2019
Messages
1
Good morning all.
I am not all that savvy with excel and am attempting to create a form that will auto fill from another spreadsheet when given a few criteria.
On the column header is dates from the first of a month to the end. On the Y axis are names. In the data range are letters denoting different things.
For example there will be columns for March 1, 2019 thru March 31, 2019 and a row for John Doe. I need to return the number of cells with the letter b for John Doe in the columns ranging from March 8, 2019 thru march 14, 2019.

The spreadsheet is standardized and I cannot change the layout.

Here is what I have attempted.

=COUNTIFS(INDEX('sheet 1'!A1:Z20,MATCH(A15,'sheet1'!A4:A20,0),MATCH(G15,'sheet1'!B1:Z1,1)),"b")
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How about


Excel 2013/2016
AB
1Peter Davy
208/03/2019
314/03/20192
4b
Sheet2
Cell Formulas
RangeFormula
B3=SUMPRODUCT((Sheet1!A2:A8=A1)*(Sheet1!B1:AF1>=A2)*(Sheet1!B1:AF1<=A3)*(Sheet1!B2:AF8=A4))





Excel 2013/2016
ABCDEFGHIJKLMNOP
101/03/201902/03/201903/03/201904/03/201905/03/201906/03/201907/03/201908/03/201909/03/201910/03/201911/03/201912/03/201913/03/201914/03/201915/03/2019
2Tom Pearcesnphhuatvsbkwuj
3Bill Brewerntbpmhqqghvvpzx
4Jan Stewerczraoccuhbhjhyz
5Peter Gurneykksiqfepclxgujh
6Peter Davyosxvaoxbrbnmjkh
7Dan'l Whiddonjmemgqoeyrnkcul
8Harry Hawkebcidanrovcerljd
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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