V
Vass
I have an SQL linked database
and am pulling info from this sheet
As I cannot add an additional column
I need a sum to do the following.
2 columns of figures, Qty and Cost price
I need to multiply each row to get total cost per line and return the grand
total
but this does not work as the mutliplication is totalling each column first
Ideally a third column in the SQL data would be the answer but I have no
idea how to add this
automatically as this data is refreshed every 5 mins
my attempt that does not work...
=((DSUM(maindata,"it_cost",$R$1:$S$2)/100)*(DSUM(maindata,"it_quan",$R$1:$S$2)/100))
R1:S2 = Date and criteria
it_cost and it_quan are in '000s hence the /100
Any ideas please ?
thanks
and am pulling info from this sheet
As I cannot add an additional column
I need a sum to do the following.
2 columns of figures, Qty and Cost price
I need to multiply each row to get total cost per line and return the grand
total
but this does not work as the mutliplication is totalling each column first
Ideally a third column in the SQL data would be the answer but I have no
idea how to add this
automatically as this data is refreshed every 5 mins
my attempt that does not work...
=((DSUM(maindata,"it_cost",$R$1:$S$2)/100)*(DSUM(maindata,"it_quan",$R$1:$S$2)/100))
R1:S2 = Date and criteria
it_cost and it_quan are in '000s hence the /100
Any ideas please ?
thanks