Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RE: Pivot Table ??

Status
Not open for further replies.

allyne

MIS
Feb 9, 2001
410
US
Hi Everyone,

I have a query where the outcome looks like this.

Date Person Count
20080101 PersonA 1
20080101 PersonB 3
20080101 PersonC 1
20080107 PersonA 4
20080107 PersonB 5

What I need to outcome to look like is:

Date PersonA PersonB PersonC
20080101 1 3 1
20080107 4 5

I believe this is called a pivot query but have never done this before and can't get this to work. Any help would be much appreciated.

Thanks!
 
Look at the FAQs button for this forum. There are some entries for dealing with these types of queries.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top