The formula looks fine.
Probably you have A1 and/or A2 formatted as Text.
Select A1 and A2 and check the Format, make sure they are set to General or Number.
Then re-enter the values in A1 and A2.. does it fix the problem?
Also is the number 4 to be included? If so the comparators should be A1>=4 and A2<=4 respectively.
Bookmarks