SUM

Joined
Oct 19, 2020
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Hello...
I need the simplest formula in cell H2, in wich to add all the results (quotients) of the divisions of A2/B2, C2/D2 and E2/F2, but only for the not empty B2, D2 or F2 cells.
Thank you!
 

Attachments

  • MrExcel.jpg
    MrExcel.jpg
    50.8 KB · Views: 21
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hello,
You can use the formula below :
Excel Formula:
=IFERROR(A2/B2,0)+IFERROR(C2/D2,0)+IFERROR(E2/F2,0)

If in reality you have a very long array, you might use the formula below :
Excel Formula:
=LET(vals,A2:F2,
dividends,FILTER(vals,MOD(COLUMN(vals),2)=1),
divisors,FILTER(vals,MOD(COLUMN(vals),2)=0),
SUM(IFERROR(dividends/divisors,0)))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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