SOVIETBIKER
New Member
- Joined
- May 11, 2015
- Messages
- 8
Hello, I am working with a table in Access and I want to find the max value within a row from multiple columns. How would I create a calculation for the max column?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Product[/TD]
[TD]Col 1[/TD]
[TD]Col2[/TD]
[TD]Col3[/TD]
[TD]Col4[/TD]
[TD]Max[/TD]
[/TR]
[TR]
[TD]Cherry[/TD]
[TD]3[/TD]
[TD]8[/TD]
[TD]5[/TD]
[TD]3[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]9[/TD]
[TD]1[/TD]
[TD]4[/TD]
[TD]8[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]4[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
Thanks!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Product[/TD]
[TD]Col 1[/TD]
[TD]Col2[/TD]
[TD]Col3[/TD]
[TD]Col4[/TD]
[TD]Max[/TD]
[/TR]
[TR]
[TD]Cherry[/TD]
[TD]3[/TD]
[TD]8[/TD]
[TD]5[/TD]
[TD]3[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]1[/TD]
[TD]3[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]9[/TD]
[TD]1[/TD]
[TD]4[/TD]
[TD]8[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]4[/TD]
[TD]4[/TD]
[TD]5[/TD]
[TD]4[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
Thanks!