G
Guest
I thought that a PivotTable was going to be my answer, but now, I don't think
so.
I have a table with account numbers and payment amounts. I need sums of
payments by account numbers, but by given groupings of account numbers. Some
account numbers are on their own, other groups are two or three account
numbers together. I thought I might be able to create a query with logic
something like:
sum payments when account number = x or y and call it field a
sum payments when account number = z and call it field b
sum payments when account number = a or b or c and call it field c
and so on...
To me, though, it looks like I'd have to create a separate query for each
field...?
Any ideas on the simpliest way to accomplish my goal? The end result will be
an excel spreadsheet with the account number(s) in one column and total
payments for that account number group in the second column.
Thanks!
Emma
so.
I have a table with account numbers and payment amounts. I need sums of
payments by account numbers, but by given groupings of account numbers. Some
account numbers are on their own, other groups are two or three account
numbers together. I thought I might be able to create a query with logic
something like:
sum payments when account number = x or y and call it field a
sum payments when account number = z and call it field b
sum payments when account number = a or b or c and call it field c
and so on...
To me, though, it looks like I'd have to create a separate query for each
field...?
Any ideas on the simpliest way to accomplish my goal? The end result will be
an excel spreadsheet with the account number(s) in one column and total
payments for that account number group in the second column.
Thanks!
Emma