sheetspread
Well-known Member
- Joined
- Sep 19, 2005
- Messages
- 5,159
If I have a table such as:
[Color] [Number of Colors]
Red 5
Orange 19
Red 9
Green 18
Orange 23
and want to add another column:
[Color] [Number of Colors] [Total Number of This Color]
Red 5 14
Orange 19 42
Red 9 14
Green 18 18
Orange 23 42
In excel, the sumif command does this easily, but in Access, what is the best way to add a conditional sum field that uses each record as a reference?
[Color] [Number of Colors]
Red 5
Orange 19
Red 9
Green 18
Orange 23
and want to add another column:
[Color] [Number of Colors] [Total Number of This Color]
Red 5 14
Orange 19 42
Red 9 14
Green 18 18
Orange 23 42
In excel, the sumif command does this easily, but in Access, what is the best way to add a conditional sum field that uses each record as a reference?