IF ISERROR - Shortening Formulae

missnhanley

New Member
Joined
Aug 17, 2005
Messages
37
Hi Guys,

Hoping this is a quick one you can help me with.

I have a master team spreadsheet that links to many other user spreadsheets.
I am using the ISERROR function to ensure that cells stay blank if there is an error or no user date, my forumla is as follows:

=IF(ISERROR(('S:\FILE PATH\FOLDER\[User 1 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 2 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 3 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 4 Spreadsheet.xls]Daily Summary'!C5)),"",(('S:\FILE PATH\FOLDER\[User 1 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 2 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 3 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 4 Spreadsheet.xls]Daily Summary'!C5))

I now need to add more user spreadsheets and the forumla is too long/big, can anyone suggest a way of shortening this?

Many thanks in advance.
 

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.
Just a suggestion :

Link the data in a separate worksheet and check for errors on that worksheet.

Success
Erik
 
Upvote 0
Basically, because there can be no data in the user spreadsheet fields, I am receiving a #VALUE message if I do not use the IF ISERROR function.

Hoping there is a simpler way of doing this without having to have other worksheets in my workbook but thank you for the suggestion.
 
Upvote 0
If you are using Excel 2007, you should be able to use IFERROR, i.e.

=IFERROR(('S:\FILE PATH\FOLDER\[User 1 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 2 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 3 Spreadsheet.xls]Daily Summary'!C5)+('S:\FILE PATH\FOLDER\[User 4 Spreadsheet.xls]Daily Summary'!C5)),"")

Still lengthy, but half the size.
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,348
Members
452,907
Latest member
Roland Deschain

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