Placing families in the specific rooms

Hello
I am just a beginner with Dynamo
Could you help me to understand how can I replace the same Family in some specific rooms ( not all)?
For example, replace one table family on another table family at the same position just in the kitchen and bedroom.
Thank you,

Have a look at this.

Hi,

You can also use the Room ToElement or Element ToRoom nodes in the Genius Loci package which work with most categories and if necessary links.