Hi @keerthi,
You could do the same as outlined in the image below:
In the survey tab of your xlsform:
Data entry screen as seen in Enketo:
Reference xlsform:
Validate with Note.xlsx (10.4 KB)
Please feel free to have a look at our support article Advanced Use of Calculate Questions to learn more on calculations.
Have a great day!