How to test significance for Spearman correlation What is the maximum number of pairs allowed in a Spearman correlation to calculate the p-value in order to check the significance of the correlation coefficient?
As per the articles I've found online and their formulae that I tried, I'm getting a p-value of above 1, I want to know where I'm going wrong.
My data sets' sizes vary from 30 data points to 150 data points. I have the Spearman correlation coefficient but I want to test for significance.

You definitely shouldn't be getting a p value greater than 1.
You can, of course, do the calculation for Spearman's rho by hand, and then look up in a table the p value for that rho and your given sample size.
However, it's easy enough to do with available software.
For example, you can run the following R code here, without installing software: rdrr.io/snippets/ .
A = c(1,2,3,4,5,6,7,8,9,10)
B = c(2,4,3,5,7,4,4,8,9,11)

cor.test(~ A + B, method="spearman")

In any case, you could use this approach to double-check your calculations.
You could also use free software like Jamovi, which is gui-based, fairly intuitive, and will allow you to import your data, from, say, a .csv file.
