ThatTransportationPerson
New member
- Local time
- Yesterday, 17:52
- Joined
- Apr 22, 2022
- Messages
- 17
Hi all!
I have a table with ~200 records and I need to compare 11 different fields to find which field has the largest value. Here's an example table:
The resulting table would look like this:
I'm struggling to think of a good way to do this. I would be able to do a simple comparison if there were only 3 or so columns, but with 11 I'm feeling a bit overwhelmed. Any ideas would be greatly appreciated. Thank you in advance!
I have a table with ~200 records and I need to compare 11 different fields to find which field has the largest value. Here's an example table:
State Name | Value 1 | Value 2 | Value 3 | Value 4 | Value 5 | Value 6 | Value 7 | Value 8 | Value 9 |
California | 20.22 | 94.2 | 74.0 | 75.9 | 33.33 | 67.4 | 60.5 | 92.1 | 14.6 |
Florida | 81.1 | 48.6 | 72.1 | 57.5 | 52.4 | 79.9 | 12.7 | 16.8 | 36.3 |
The resulting table would look like this:
State Name | Max Value | Value Name |
California | 94.2 | Value 2 |
Florida | 81.1 | Value 1 |
I'm struggling to think of a good way to do this. I would be able to do a simple comparison if there were only 3 or so columns, but with 11 I'm feeling a bit overwhelmed. Any ideas would be greatly appreciated. Thank you in advance!