Excel says formula is missing parenthesis

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
719
Office Version
  1. 2010
Platform
  1. Windows
Hello:

I want formula to return "" for #N/A

=if(IFERROR(LOOKUP(2,1/(COUNTIF($D$2:D10,$B$3:$B$21)=0),$B$3:$B$21),"")

But Excel says formula is missing parenthesis. Could you help please?

Regards,

Sean
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
In D3 control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($B$3:$B$21,SMALL(IF(FREQUENCY(IF(1-($B$3:$B$21=""),MATCH($B$3:$B$21,$B$3:$B$21,0)),
    ROW($B$3:$B$21)-ROW($B$3)+1),ROW($B$3:$B$21)-ROW($B$3)+1),ROWS($D$3:D3))),"")

<strike></strike>
 
Upvote 0
I was hoping to avoid control+shift+enter formula but excellent, thank you very much.

Regards,
Sean
 
Upvote 0
I was hoping to avoid control+shift+enter formula but excellent, thank you very much.

Regards,
Sean

You are welcome.

The following set up is fast and does not require array-processing of any kind.

In C2 enter: 0 (mandatory).

In C3 enter and copy down:

=IF($B3="","",IF(ISNA(MATCH($B3,$B$2:B2,0)),LOOKUP(9.99999999999999E+307,$C$2:C2)+1,""))

In D3 enter and copy down:

=IF(ROWS($D$3:D3)>MAX($C$3:$C$23),"",LOOKUP(ROWS($D$3:D3),$C$3:$C$23,$B$3:$B$23))
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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