Countif + index + match

JMG1031

New Member
Joined
Mar 25, 2013
Messages
3
So I am trying to count the number of times a specified number (1) occurs in columns with the header of "WX". There are multiple colums that have the header WX. This is the formula I have entered in to Q83

=COUNTIF(INDEX(E48:AFI58,MATCH(A48,E48:AFI48,0)),1)

Sort of new to Excel but pretty good are reverse engineering the formulas and learning that way but looking through the threads have just left me stumped errors when trying some of the expamples that were listed.

Also not sure how to attach the sheet to this post. I know it would help out if I could do so.

V/r
Jeff
 

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.
MATCH requires a vector, not a matrix; so that formula won't succeed. Try rather something like...

=SUM(IF(E48:AFI48=A48,IF(E49:AFI58=1,1)))

which must be confirmed with control+shift+enter, not just enter.
 
Upvote 0
MATCH requires a vector, not a matrix; so that formula won't succeed. Try rather something like...

=SUM(IF(E48:AFI48=A48,IF(E49:AFI58=1,1)))

which must be confirmed with control+shift+enter, not just enter.


It keeps telling me "Array formulas are not valid in merged cells" but I don't have any merged cells in the area that I am working with. I made sure to not have any after the first time getting this error. Any suggestions. I am working with Excel 2010

Thank you for your time and assistance.

V/r
Jeff
 
Upvote 0
It keeps telling me "Array formulas are not valid in merged cells" but I don't have any merged cells in the area that I am working with. I made sure to not have any after the first time getting this error. Any suggestions. I am working with Excel 2010

Thank you for your time and assistance.

V/r
Jeff

JAD
3
LAD
JAD
JAD
NAD
VAD
1
1
2
0
6
2
0
1
4
2
0
1
2
3
4

<tbody>
</tbody>


A48: JAD

Only the cells shown above contain data in order to keep the exhibit small.

B48, control+shift+enter (CSE), not just enter:

=SUM(IF(E48:AFI48=A48,IF(E49:AFI58=1,1)))

CSE: Press down the control and shift keys at the same time, while you hit the enter key.
 
Upvote 0

Forum statistics

Threads
1,206,827
Messages
6,075,099
Members
446,121
Latest member
Malikai

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