Why am I getting the #NAME? error

Victtor

Board Regular
Joined
Jan 4, 2007
Messages
170
Office Version
  1. 365
Platform
  1. Windows
original formula in another worksheet (works properly):

=ARRAY_CONSTRAIN(ARRAYFORMULA(IF(I24="","",INDEX($P$4:$P$104,SMALL(IF($Q$4:$Q$104=L24,ROW($Q$4:$Q$104)-ROW($Q$4)+1),COUNTIF($L$24:L24,L24))))), 1, 1)

I copied and pasted into another worksheet (as soon as I did this, it gave me a #NAME? error) then I changed the cell references to the new sheet (still #NAME? error):

=ARRAY_CONSTRAIN(ARRAYFORMULA(IF(M5="","",INDEX($C$5:$C$157,SMALL(IF($K$5:$K$157=M5,ROW($K$5:$K$157)-ROW($K$5)+1),COUNTIF($K$5:K5,K5))))), 1, 1)

Please help. Could it be different versions of excel?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
That looks like a Google Sheets formula rather than an Excel formula.
 
Upvote 0
Is this Excel or Google Sheets?
 
Upvote 0

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

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