If you've paid vat on any goods or services in relation to the trading, you can deduct that vat element from your turnover and it is that net figure that you use to determine if you've reached the threshold.
The Revenue attitude, which is what you need to consider in practice, is that you are obliged to register when thresholds are exceeded or likely to be exceeded.