Welcome to HealthcareMagic.
Gas and bloating
cannot effect the results of spirometry
.But if you had a breathing difficulty that day , it could have affected.But with a history of 7 years smoking
, you probably have a lung disease.You can redo the test.
Do you feel bloated even on normal days ? If so you might be having Dyspepsia
. You can visit your Doctor to get evaluated.