#1   Report Post  
starfighter61
 
Posts: n/a
Default Reference

Hi
I am using this formula to get value from other workbook
=INDIREKT("'[Franvaro" & E2 & "v" & K2 & C5 & ".xls]Sammandrag'!$B$201")

but lets say that workbook don´t exist
then i get a #REFERENCE in the cell
Is it possible to get a 0 instead
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try
=IF(ISERROR(INDIRECT(...)),0,INDIRECT(...))

"starfighter61" wrote:

Hi
I am using this formula to get value from other workbook
=INDIREKT("'[Franvaro" & E2 & "v" & K2 & C5 & ".xls]Sammandrag'!$B$201")

but lets say that workbook don´t exist
then i get a #REFERENCE in the cell
Is it possible to get a 0 instead

  #3   Report Post  
Govind
 
Posts: n/a
Default

Hi,

Use

=IF(ISERROR(INDIREKT("'[Franvaro" & E2 & "v" & K2 & C5 &
".xls]Sammandrag'!$B$201")),0,INDIREKT("'[Franvaro" & E2 & "v" & K2 & C5
& ".xls]Sammandrag'!$B$201"))

Btw, the formula has been spelt as "INDIREKT" instead of "INDIRECT".Is
that a different language version of excel or a typo error?

Regards

Govind


starfighter61 wrote:
Hi
I am using this formula to get value from other workbook
=INDIREKT("'[Franvaro" & E2 & "v" & K2 & C5 & ".xls]Sammandrag'!$B$201")

but lets say that workbook don´t exist
then i get a #REFERENCE in the cell
Is it possible to get a 0 instead


  #4   Report Post  
starfighter61
 
Posts: n/a
Default

Thanks

"Frank Kabel" skrev:

Hi
try
=IF(ISERROR(INDIRECT(...)),0,INDIRECT(...))

"starfighter61" wrote:

Hi
I am using this formula to get value from other workbook
=INDIREKT("'[Franvaro" & E2 & "v" & K2 & C5 & ".xls]Sammandrag'!$B$201")

but lets say that workbook don´t exist
then i get a #REFERENCE in the cell
Is it possible to get a 0 instead

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Circular reference Pat Excel Discussion (Misc queries) 2 January 19th 05 06:52 AM
Copying a mixed reference formula Sarah Excel Discussion (Misc queries) 6 January 13th 05 10:45 PM
how to cell reference a Chart title Rasoul Khoshravan Azar Charts and Charting in Excel 2 January 1st 05 06:00 PM
international absulute cell reference Sadinga Excel Discussion (Misc queries) 5 December 22nd 04 11:08 PM


All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"