Forum Discussion

wyboooo's avatar
wyboooo
Copper Contributor
Nov 08, 2022

How to sum across tables

I've got three sheets. 

Sheet1 has columns 'id' and 'hid.

Sheet2 has columns 'id' and 'cnt'.

Sheet3 has columns 'hid' and 'cnt'. The 'cnt' is calculated by adding the 'cnt' in Sheet2, where Sheet2.id = Sheet1.id and Sheet1.hid = Sheet3.hid.

For example:

idhid
1111
2111
3111
4222
5222
6222
7222
 
idcnt
110
220
330
440
550
660
770
 
hidcnt
11160
222220

 

 

Can I use functions to get 'cnt' in Sheet 3?

 

Resources