Find and sum max of row values in two columns

toss1029783

New Member
Joined
May 25, 2011
Messages
2
I am trying to sum together the maximum values of every row in two columnsusing a single formula.

Example:
<table width="128" border="0" cellpadding="0" cellspacing="0"><tbody><tr style="height:15.0pt" height="20"><td class="xl67" style="height:15.0pt;width:48pt" width="64" align="center" height="20">A</td> <td class="xl66" style="width:48pt" width="64" align="center">B</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl68" style="height:15.0pt" align="center" height="20">1</td> <td class="xl65" align="center">4</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl68" style="height:15.0pt" align="center" height="20">2</td> <td class="xl65" align="center">3</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl68" style="height:15.0pt" align="center" height="20">3</td> <td class="xl65" align="center">2</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl68" style="height:15.0pt" align="center" height="20">4</td> <td class="xl65" align="center">1</td> </tr> <tr style="height:15.0pt" height="20"> <td class="xl68" style="height:15.0pt" align="center" height="20">5</td> <td class="xl65" align="center">0</td> </tr> </tbody></table>
There are two columns A and B each containing 5 rows of numbers. I want a single formula that sums together the largest number in each row. In this example, the answer would be 4 + 3 + 3 + 4 + 5 = 19.

I have many many rows of data, so a simple =SUM(MAX(A1:B1),MAX(A2:B2),...etc...) solution is not possible.

Thank you for your assistance.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top