Deductions & credits

I'm confused about the home office question.  It is asking if I used all or part of my home for any of the following:  home-based business, home office, rental?

For 1-2 years, we used a spare bedroom as an office space for my husband.  We claimed it as an itemized work expense.  Do I answer this question yes?  I think this is what is causing me not to qualify for an exclusion...