Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Can I run a Query or Pivot Table against this dataset?

Hi,
I have an Excel sheet like this:

User Machine Machine Machine Machine

User1 PC1 PC2 PC3
User2 PC5 PC1
User3 PC2 PC3
User4 PC1 PC4 PC5 PC2
User5 PC3 PC4 PC5

I'd like to know for every single machine, who are the user(s) using
it.
For example, PC1 is used by User1, User2 and User4

Any help is welcome. I was thinking of copying the above into a table
and use SQL.
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Can I run a Query or Pivot Table against this dataset?


"circuit_breaker" wrote in message ...
Hi,
I have an Excel sheet like this:

User Machine Machine Machine Machine

User1 PC1 PC2 PC3
User2 PC5 PC1
User3 PC2 PC3
User4 PC1 PC4 PC5 PC2
User5 PC3 PC4 PC5

I'd like to know for every single machine, who are the user(s) using
it.
For example, PC1 is used by User1, User2 and User4

Any help is welcome. I was thinking of copying the above into a table
and use SQL.
Thanks.


Perhaps you could use a table with 0 and 1 like this:

[A9] PC1 PC2 PC3 PC4 PC5
User1 x 1 1 0 0
User2 1 0 0 0 1
User3 0 1 1 0 0
User4 1 1 0 1 1
User5 0 0 1 1 1

The formula x is =COUNTIF($B3:$E3,B$9), just notice the $
That is, if your first table has User 1 in A3

Regards Hans T.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,180
Default Can I run a Query or Pivot Table against this dataset?

Excel 2007
Three more ways:
http://www.mediafire.com/file/nyngdoxz3ml/08_24_09.xlsx
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot table query nc Excel Discussion (Misc queries) 2 March 30th 07 03:04 PM
Pivot Table Query Lee White Excel Discussion (Misc queries) 1 January 30th 07 01:07 PM
pivot table using very large dataset Peter Excel Discussion (Misc queries) 0 November 18th 06 04:05 AM
Pivot Table Query sgriff Excel Discussion (Misc queries) 0 July 21st 06 08:08 AM
Pivot Table Query Louise Excel Discussion (Misc queries) 1 June 1st 06 11:52 PM


All times are GMT +1. The time now is 05:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"