Why isn't this simple division formula working?

Marq

Well-known Member
Joined
Dec 13, 2004
Messages
914
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
I have two column..J & L. The range of cells of each with values in them is J4:J7 and L4:L7

I want to take the sum of L4:L7 and divide it by J4:J7 to produce a %

For example the sum of J4:J7 is1056...the sum of L4:L7 is 300....300 divided by 1056 = 28.4%

My formula in cell P3 is =(L4:L7)/(J4:J7)…..but I it comes up blank...no zero..no error..just nothing.

What am I doing wrong?!?!
 

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.
How about
Excel Formula:
=sum(l4:l7)/sum(j4:j7)
 
Upvote 0
Now that the formula is working, how do I make it show up as blank if there are no values in the ranges? Im getting the #DIV0/! error.
 
Upvote 0
How about
Excel Formula:
=IF(SUM(J4:J7)=0,0,SUM(L4:L7)/SUM(J4:J7))
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

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