Difficult Array Formula

GERMAN GONZALEZ

New Member
Joined
Jan 21, 2018
Messages
7
Can anyone help me sort out a problem with an array formula? I get the following pop-up error message when I hit the Ctrl-Shift-Enter keys:

"The formula is missing an opening or closing parenthesis."

The array equation is as follows:

=IFERROR(INDEX($C$3:$C$200, MATCH(0,IF(ISBLANK($C$3:$C$200),1),COUNTIFS($C$3:$C$200,C3,$F$3:$F$200,"Yes")))

Thanks very much in advance for any help received!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Try:
=IFERROR(INDEX($C$3:$C$200, MATCH(0,IF(ISBLANK($C$3:$C$200),1),COUNTIFS($C$3:$C$200,C3,$F$3:$F$200,"Yes"))),"")
 
Upvote 0
AhoyNC,

Thanks very much. I no longer get that pop-up error message. Unfortunately, the formula didn't generate the result I hoped for. It generates an empty cell. In any event, thanks again for your help. I really appreciate it!
 
Upvote 0
Can anyone help me sort out a problem with an array formula? I get the following pop-up error message when I hit the Ctrl-Shift-Enter keys:

"The formula is missing an opening or closing parenthesis."

The array equation is as follows:

=IFERROR(INDEX($C$3:$C$200, MATCH(0,IF(ISBLANK($C$3:$C$200),1),COUNTIFS($C$3:$C$200,C3,$F$3:$F$200,"Yes")))

Thanks very much in advance for any help received!

Your formula syntax is incorrect, review your formula after MATCH.
 
Upvote 0
AhoyNC,

Thanks very much. I no longer get that pop-up error message. Unfortunately, the formula didn't generate the result I hoped for. It generates an empty cell. In any event, thanks again for your help. I really appreciate it!
Not sure what additional help you are looking for as you did not tell us what the data this formula is trying to work on nor what you actually wanted for results from that data. All you said was that you formula produced a missing parenthesis error and AhoyNC told you how to make that error go away. Beyond that, he (we) have no idea what your data looks like nor what you need from it.
 
Upvote 0
Rick,
My apologies. I thought I had the array finally figured out and was just stumped by the missing parenthesis. Here's my situation: Column C contains Supplier names. Column F contains either a Yes or No entry for each Supplier name. Column F is actually OSHA Recordable Injuries charged to each Supplier via a Yes entry. I have a formula that works great at counting the number of Yes entries for each Supplier. It's =COUNTIFS($C$3:$C$200,C4,$F$3:$F$200,"Yes" ). When this formula looks at Column C, it correctly counts each Suppliers Recordables. But here's the problem, Column C could have the same Supplier name entered at a later date further down Column C. So for example, Supplier A is the first entry and the 30th entry in Column C and each entry has a corresponding YES entry in Column F. So the formula =COUNTIFS($C$3:$C$200,C4,$F$3:$F$200,"Yes" ) correctly counts 2 Recordables. However, when I drag the form down to the second occurrence for Supplier in row 30, it counts 2 again, thus overstating the total for Supplier A by 2 Recordables. I would like this 2nd occurrence and any additional occurrences for Supplier A to be blank cells. I only need to count the total once. Any additional help would be greatly appreciated!
 
Upvote 0
Try:
Excel Workbook
CDEFGH
2Supplier
3Sup1yes2
4Sup2no1
5Sup3yes2
6Sup1yes
7Sup5no0
8Sup2yes
9Sup3yes
Sheet
 
Upvote 0
You're welcome. Glad that worked for you. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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