mrmmickle1
Well-known Member
- Joined
- May 11, 2012
- Messages
- 2,461
I have data that looks like this:
I would like to have a way to create a query that returns only fields with values above 0 for instance....
If I queried ABC Co. I would only want to see this as a result:
If I queried BCD Co. I would only want to see this as a result:
If I queried DEF Co. I would only want to see this as a result:
Is this possible? My issue is the data I have has columns for all 50 states...So I would not want to display the ones with 0's...\
If there is a better format I would be open to it! I am just at a loss for this situation. Any help would be appreciated.
Excel 2012 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Payor | NC | SC | TN | KY | MA | NH | ||
2 | ABC Co. | 0 | 0 | 0 | 1 | 1 | 1 | ||
3 | BCD Co. | 0 | 0 | 0 | 0 | 0 | 1 | ||
4 | CDE Co. | 1 | 1 | 1 | 0 | 0 | 0 | ||
5 | DEF Co. | 1 | 1 | 1 | 1 | 1 | 1 | ||
Sheet1 |
I would like to have a way to create a query that returns only fields with values above 0 for instance....
If I queried ABC Co. I would only want to see this as a result:
Excel 2012 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
11 | Payor | KY | MA | NH | ||
12 | ABC Co. | 1 | 1 | 1 | ||
Sheet1 |
If I queried BCD Co. I would only want to see this as a result:
Excel 2012 | ||||
---|---|---|---|---|
A | B | |||
14 | Payor | NH | ||
15 | BCD Co. | 1 | ||
Sheet1 |
If I queried DEF Co. I would only want to see this as a result:
Excel 2012 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
17 | Payor | NC | SC | TN | KY | MA | NH | ||
18 | DEF Co. | 1 | 1 | 1 | 1 | 1 | 1 | ||
Sheet1 |
Is this possible? My issue is the data I have has columns for all 50 states...So I would not want to display the ones with 0's...\
If there is a better format I would be open to it! I am just at a loss for this situation. Any help would be appreciated.