If I’m understanding you correctly, you have a list of rooms (room name) with the occupancy (number of people), but some rooms show up more than once.
Do the rooms that show up twice have the same occupancy both times or are they different?
If they are different, is this where you have multiple parameters (pers1, pers2, etc)?
If the occupancy is always the same for a room do you need the room to show up twice?
This sounds like it’s definitely doable in Dynamo, we just need a little more information to get started.