G
Guest
I have two columns that I want to make into one column of answers.
I have seen this in accounting programs like quickbooks, Microsoft
accounting and also examples of accounting programs but I have no access to
open them up to find out what the code is behind it.
Example:
Column 1 Column 2 conversion
Answer Column 3
Row 1 8 -5 8-5= 3
Row 2 7 12 3+7+12= 22
Final answer 22
Column 1 adds to column 2 column 3 has the answer. For row 1 the answer is 3.
Row two adds the answer of row 1 “or column 3 row 1†to column 1 row 2 and
column 2 row 2
Which gives the answer in row 2 column 3 as 22
I guess it will take a VBA code maybe there is a function. I have not been
able to find code that calculates this.
In Excel it is very easy to put it up but I want to use it in Access 2007.
In Excel all I do is add A1 with A2 in A3 the second row I add A3 "the
answer of A1 and A2" with B1 and B2 in B3
Example:
Column 1 Column 2 Column 3
A A1 A2 A3
B B1 B2 B3
I have seen this in accounting programs like quickbooks, Microsoft
accounting and also examples of accounting programs but I have no access to
open them up to find out what the code is behind it.
Example:
Column 1 Column 2 conversion
Answer Column 3
Row 1 8 -5 8-5= 3
Row 2 7 12 3+7+12= 22
Final answer 22
Column 1 adds to column 2 column 3 has the answer. For row 1 the answer is 3.
Row two adds the answer of row 1 “or column 3 row 1†to column 1 row 2 and
column 2 row 2
Which gives the answer in row 2 column 3 as 22
I guess it will take a VBA code maybe there is a function. I have not been
able to find code that calculates this.
In Excel it is very easy to put it up but I want to use it in Access 2007.
In Excel all I do is add A1 with A2 in A3 the second row I add A3 "the
answer of A1 and A2" with B1 and B2 in B3
Example:
Column 1 Column 2 Column 3
A A1 A2 A3
B B1 B2 B3