Google Sheets Parse Error in an If/Then Formula

AShamburger

New Member
Joined
Apr 28, 2017
Messages
1
In Excel, I do not get an error with this formula. In Google Sheets, I get a "parse error". What do I need to do?

=IF(AND($G3>=X$1,$G3<=X$2),$G3,IF(AND($H3>=X$1,$H3<=X$2),$H3,IF(AND($J3>=X$1,$J3<=X$2),$J3,IF(AND(X$2>$G3,X$2<$H3),”y”,IF(AND(X$2>$H3,X$2<$J3),"x"," ")))))

And by the way, this formula does not return an error - I used it and just added another If statement:

=IF(AND($H3>=Y$1,$H3<=Y$2),$H3,IF(AND($J3>=Y$1,$J3<=Y$2),$J3,IF(AND(Y$2>$H3,Y$2<$J3),"x"," ")))

Does Google Sheets limit nested If/Then statements to 5?

Thank you,
Ann
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Its really a question to ask of Google, they make look the same but can't be 100% comparable
 
Upvote 0

Forum statistics

Threads
1,225,685
Messages
6,186,427
Members
453,354
Latest member
Ubermensch22

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