#N/A error when copying some formulas but not others

hvalcourt

New Member
Joined
Dec 22, 2010
Messages
18
Hi ,
I have this workbook where I have formulas of the type :
Code:
=SUMIF( DATA!keycurrent; G12& " " &$H12 & " " &$J12& " " &$F12; DATA!rev )
in my column. When i try to copy this sheet, i get #N/A errors where the formula should be.
This is strange since i have another workbook where the following formula gets copied without any problem :

Code:
=iF(  ISBLANK($H6); ""; IF(ISNA( VLOOKUP($H6; Macro_modele_renouv.xls!tablesic; 2; FALSE)); ""; VLOOKUP(  $H6; Macro_modele_renouv.xls!tablesic; 2; FALSE)))

Basically, in both formulas i'm referencing names. Could it be that in the 2nd formula i'm refering to a workbook level named range and in the 1st a worksheet level named range ?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

hvalcourt

New Member
Joined
Dec 22, 2010
Messages
18
in this code,
Code:
=SUMIF( DATA!keycurrent; G12& " " &$H12 & " " &$J12& " " &$F12; DATA!rev )

If i replace DATA!keycurrent by the actual range DATA!$K$2:$K$999 the formula gets copied correctly. But why can't i freely use named ranges ?
It'd be very inconvenient for me to give up on the named ranges.
It seems to me that I've never hard to care about this before.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,600
Messages
5,838,291
Members
430,537
Latest member
Antonio11

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
Top