Hello,
Thanks for noticing me about code tags and for your prompt answer.
It seems to be a better code bat, unfortunately, it didn't work how I wanted to. Maybe I haven't made myself clear.
Actually, I've just noticed that I made a mistake with the following sentence which is not appropriate:
"In column "B" I wrote (typed) the serial numbers, skipping the cells that have adjacent (in column C) blank ones."
Sorry for my bad english. Well, let me rephrase:
"In column B I typed the serial numbers, skipping the cells that have adjacent ones (in column C) with titles."
I'll try another example in the attached xls file.
In the left side there is a part of my table; in the right, I tried to explain how I want to look when the user selects the category of queries. So, the titles will appear in the table when category selected (and inappropiate rows will be automatically hidden) but do not have serial numbers. Only the questions will have.
Thank you again,