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

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
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,223,793
Messages
6,174,635
Members
452,575
Latest member
Fstick546

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