I have two spreadsheets, i have to conditionally sum up based on the value from the other spreadsheet.
spreadsheet 1
A 10 10 100 100 100
B 20 10 10 20 30
A 3 2 10 30 30
C 40 30 40 10 30
G 20 20 20 20 20
F 40 13 39 20 18
B 90 20 20 20 20
G 19 10 20 10 30
spreadsheet 2
A 395
B 260
C 150
D 0
E 0
I have the fill the spreadsheet2 with the values of A,B,C etc but the sum should be horizontal as well as vertical.Eg.First row is A so it has to add(10+10+100+100+100) and the third row is also A so it should add(3+2+10+30+30)+(the total of A's value from the first row and put it in the spreadsheet3 similarly it should do for all the values, i tried sumif, conditionalif but couldn't figure out a simple formula.
I ended up adding the cells individually and then summing it up,but the formula turned out to be very big since i have more 23 columns.
Thanx for your help in advance.
spreadsheet 1
A 10 10 100 100 100
B 20 10 10 20 30
A 3 2 10 30 30
C 40 30 40 10 30
G 20 20 20 20 20
F 40 13 39 20 18
B 90 20 20 20 20
G 19 10 20 10 30
spreadsheet 2
A 395
B 260
C 150
D 0
E 0
I have the fill the spreadsheet2 with the values of A,B,C etc but the sum should be horizontal as well as vertical.Eg.First row is A so it has to add(10+10+100+100+100) and the third row is also A so it should add(3+2+10+30+30)+(the total of A's value from the first row and put it in the spreadsheet3 similarly it should do for all the values, i tried sumif, conditionalif but couldn't figure out a simple formula.
I ended up adding the cells individually and then summing it up,but the formula turned out to be very big since i have more 23 columns.
Thanx for your help in advance.