Formula Returns #Value if source workbook Closed

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,570
Office Version
  1. 2021
Platform
  1. Windows
I have the following formula below which returns #value if source workbook is closed


Code:
=SUM(OFFSET('C:\My Documents\Sales Report -Oct 2022 to Sept 2023.xlsm'!BR1_JNL,11,3))

I would like to replace this formula with another formula so that a value is displayed instead of #value when source workbook is closed


Your assistance in this regard is most appreciated
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi, try this formula
=IFERROR(SUM(OFFSET('C:\My Documents\Sales Report -Oct 2022 to Sept 2023.xlsm'!BR1_JNL,11,3)),9999)
 
Upvote 0
Thanks for the reply. It returns 9999. I want to extract the values 11 rows from range name bR1_JNL and 3 columns to to right pertaining to workbook 'C:\My Documents\Sales Report -Oct 2022 to Sept 2023.xlsm
 
Upvote 0

Forum statistics

Threads
1,216,102
Messages
6,128,853
Members
449,471
Latest member
lachbee

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