How many parentheses?

Status
Not open for further replies.

Scott82

New Member
Joined
Jun 8, 2011
Messages
48
Hi all

I've had help from the board to make this:

=TRIM(IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Giles House\2010 - 2011\[Giles House Term 6 2010-2011.xls]Sheet1'!B3:B13,0)),"","Giles"))&""&IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Millington House\2010 - 2011\[Millington House Term 6 2010-2011.xls]Sheet1'!B3:B12,0)),"","Millington"))&""& IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Shirley House\2010 - 2011\[Shirley House Term 6 2010-2011.xls]Sheet1'!B3:B11,0)),"","Shirley"))&""&IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Palmer House\2010-2011\[Palmer Term 6 2010-2011.xls]Sheet1'!B3:B12,0)),"","Palmer"))&""& IF(ISNA(MATCH("Julie",S:\School\SMT\Rotas\Fleming House\2010 - 2011\[Fleming House Term 6 2010-2011.xls]Sheet1'!B3:B12,0)),"","Fleming"))&""&IF(ISNA(MATCH("Julie",S:\School\SMT\Rotas\Todhunter House\2010-2011\[Todhunter House Term 6 2010-2011.xls]Sheet1'!B3:B14,0)),"","Todhunter"))&""&IF(ISNA(MATCH("Julie",S:\School\SMT\Rotas\Charlotte House\2010-2011\[Term 6.xls]Sheet1'!B3:B13,0)),"","Charlotte"))&""&IF(ISNA(MATCH("Julie",S:\School\SMT\Rotas\Day Staff Overtime Availability\School\[Education rota Term 6 2011.xls]Sheet1'!B3:B13,0)),"","School"))

But I haven't got the parentheses right, what am I missing??

Many thanks

Scott
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I would first test this with a file called "a.xls" that you store at "C:\" level. Can't have it shorter than that... Or open the source file, so that paths are omitted.

In front of S:\School\, several times, you're missing single quotation marks.

Also, chop the formula in different cells and once it's working, piece it together if you really really really want to see this in once cell without helper cells.
 
Last edited:
Upvote 0
=IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Giles House\2010 - 2011\[Giles House Term 6 2010-2011.xls]Sheet1'!B3:B13,0)),"","Giles")&IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Millington House\2010 - 2011\[Millington House Term 6 2010-2011.xls]Sheet1'!B3:B12,0)),"","Millington")&IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Shirley House\2010 - 2011\[Shirley House Term 6 2010-2011.xls]Sheet1'!B3:B11,0)),"","Shirley")&IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Palmer House\2010-2011\[Palmer Term 6 2010-2011.xls]Sheet1'!B3:B12,0)),"","Palmer")& IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Fleming House\2010 - 2011\[Fleming House Term 6 2010-2011.xls]Sheet1'!B3:B12,0)),"","Fleming")&IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Todhunter House\2010-2011\[Todhunter House Term 6 2010-2011.xls]Sheet1'!B3:B14,0)),"","Todhunter")&IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Charlotte House\2010-2011\[Term 6.xls]Sheet1'!B3:B13,0)),"","Charlotte")&IF(ISNA(MATCH("Julie",'S:\School\SMT\Rotas\Day Staff Overtime Availability \School\[Education rota Term 6 2011.xls]Sheet1'!B3:B13,0)),"","School")

... I took out the rubbish.
 
Upvote 0
Thank you! I've just found the formula is too long........
I'm going to have to split it. God dam!

Thanks to all who have helped!
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

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