I wonder if someone can explain me why I get this weird error in Excel when I reference one table column into another table column. Basically I have a sheet with table called tbl_sett_accounts which looks like on the picture below.

In another sheet I want to reference some of the columns from that table. I have a table tbl_summary on that sheet and when I reference the columns like it is shown on the picture I get error #VALUE!.

If I do reference the same columns outside the table like you see I get the results properly.

I wonder where I make mistake. Is this something that I can do in Excel or I'm referencing it wrong.
If I reference the values just by using the classical way of Sheet and column name and number it works fine.

Thank you for your help.