Display calculated value from one table in a different table on a different page
-
Hi,
I tried to use a shortcode to add the values in a column from 1 table to be displayed on another table. But, I could not figure it out. =[table-cell id=1 cell=A1 /]+[table-cell id=1 cell=A2 /]. I tried to return the cell that had the =SUM, but that just gets the formula, not the calculated value. If there is a way to use a shortcode to get the =SUM of a column in one table and display it in another table that would be my first choice, but I’m not having any luck with it.My workaround was to put a shortcode in the second table that called the complete first table but hid all the rows and columns except for the =SUM. This actually worked great.
Then, I entered some custom CSS formatting to make all the tables the same size on all my pages. Well, the table that is completely hidden except for one cell takes up all the space from the custom CSS command. It extends way off the page to the right. I’ve tried to use a column_widths=”10px|10px|10px|10px|10px|10px|10px” entry in the shortcode, but it doesn’t seem to make any difference.
I’m just looking for the best way to display a calculated value from one table either in another table on a different page or to just display it directly on a different page. Any suggestions you have will be much appreciated.
I haven’t sent a link to my page because it is on a home server not accessible from the internet.
Thanks,
Dan
- The topic ‘Display calculated value from one table in a different table on a different page’ is closed to new replies.