FredMcStaire
New Member
- Joined
- Jan 19, 2009
- Messages
- 36
I would like to find, for each car make, what colour has the maximum sales. So it would return Ford, Blue, 2; Holden, Blue,5; Toyota, red,11.
( this is a dummy set of data, in the real set make and colour each have upwards of 50 unique values)
a data set as follows:
<COLGROUP><COL style="WIDTH: 48pt" span=3 width=64><TBODY>
</TBODY>
Any advice on whether this is possible with a single query without VBA?
Thanks
( this is a dummy set of data, in the real set make and colour each have upwards of 50 unique values)
a data set as follows:
Make | Colour | Sales |
Ford | red | 1 |
Ford | Blue | 2 |
Holden | Red | 3 |
Holden | Blue | 5 |
Toyota | blue | 7 |
Toyota | red | 11 |
<COLGROUP><COL style="WIDTH: 48pt" span=3 width=64><TBODY>
</TBODY>
Any advice on whether this is possible with a single query without VBA?
Thanks