AndrewWolford
MIS
PLEASE SEE MY PREVIOUS THREAD ABOUT AVERAGING FIELDS USING SQL.
Spoke too soon....
I hate to be the bearer of bad news but it didn't work... when I add ... WHERE Acct1Bal>0 or Acct2Bal>0 ...etc...; it still only returns 1 average age. Only with all the 'OR' clauses it gives be the average age of anyone that has a balance in any of the accounts. What I need is the average age of individuals by account. So the end result will have the following information: Average age for acct1 is 55, average age for acct2 is 43, ...acct3 is 32... all the way to acct19. In other words there will be 19 seperage averaged ages. Clear as mud? And like I said before, I'm not even sure if this will be possible with the way the table is laid out, but thanks for any suggestions.
-Andrew
Spoke too soon....
I hate to be the bearer of bad news but it didn't work... when I add ... WHERE Acct1Bal>0 or Acct2Bal>0 ...etc...; it still only returns 1 average age. Only with all the 'OR' clauses it gives be the average age of anyone that has a balance in any of the accounts. What I need is the average age of individuals by account. So the end result will have the following information: Average age for acct1 is 55, average age for acct2 is 43, ...acct3 is 32... all the way to acct19. In other words there will be 19 seperage averaged ages. Clear as mud? And like I said before, I'm not even sure if this will be possible with the way the table is laid out, but thanks for any suggestions.
-Andrew