Select to view content in your preferred language

Field Calculator Square Root Function

9240
4
Jump to solution
08-20-2015 09:50 AM
KelseyBrinkman1
Emerging Contributor

Hi Everyone,

I'm trying to using this formula in the field calc but keep getting an error.

Sqr(([Field1]^2) - ([Field]^2))

Any tips would be greatly appreciated!

0 Kudos
1 Solution

Accepted Solutions
NobbirAhmed
Esri Regular Contributor

Make sure ([Field1]^2) - ([Field]^2) value is not negative in any case.

View solution in original post

4 Replies
ChrisDonohue__GISP
MVP Alum

Some questions to help clarify the issue:

1. What error do you get?

2. In the Field Calculator, did you select the VBScript Parser or the Python Parser?

3. Also, which version of ArcGIS are you using?

Chris Donohue, GISP

0 Kudos
KelseyBrinkman1
Emerging Contributor

Hi Chris,

1) Error 999999 : Error executing function,  Invalid procedure call or argument: "Sqr"

2) VBScript

3) 10.2.2

NobbirAhmed
Esri Regular Contributor

Make sure ([Field1]^2) - ([Field]^2) value is not negative in any case.

KelseyBrinkman1
Emerging Contributor

That did it, thank you!