Forum Discussion

amanifard1111's avatar
amanifard1111
Copper Contributor
Dec 02, 2021

Comma (,) in logic formulas causes error!

Hi everyone,

I am a new starter in Excel. I was training on custom commands in the data validation setting of a cell. I wrote the following formula for a sample cell:

=AND(J11<K11,J12<k12)

the excel shows me an error comment that seems the comma is not valid. How it can be? it is correct and usual?

Regards

5 Replies

    • amanifard1111's avatar
      amanifard1111
      Copper Contributor
      Thanks for your reply. I did this before, but the lfirst logic term does not work and Excel just sense the second term. Even more, when I come back to the formula I find the semicolumn has been shifted to the cell number betweein the letter and the number which make the cell address.
      Regards
      • HansVogelaar's avatar
        HansVogelaar
        MVP

        amanifard1111 

        Do you perhaps use R1C1 notation? If you click in the top left cell of a worksheet and look at the address box on the left hand side of the formula bar, do you see A1 or R1C1?

Resources