Percentage Calculation from last 5 entries

ExcelRoy

Well-known Member
Joined
Oct 2, 2006
Messages
2,540
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am looking to calculate an efficiency percentage from the last 5 jobs worked

ie

150%
100%
-
-
150%

I am currently using the following formula

=IF(F16="","",SUM(J23:J27)/5)

But this assumes there is 5 entries, but as you can see from the example there is only 3 entries from the 5 available thus giving a false reading

Can I modify my formula to suit the available entries?

Many thanks
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi AnalystJames,

No sorry this doesn't produce the desired result

It seems to devide by 20% each calculation

ie if there are 2 entries it return 40% etc

many thanks
 
Upvote 0
Hi AnalystJames,

Still not correct im afraid

I thought it was there at first but still not showing what I need

Thanks
 
Upvote 0
Forgot to mention that the number of entries may vary so I was hoping for the formula to work out how many entries out of 5 possible

Thanks
 
Upvote 0
What is the answer you are expecting in the first and can you maybe give a second example that shows how the problem can change?
 
Upvote 0
Hi,

Example 1 (Actual at the moment)

97%
76%
118%
-
77%
Expected Result 92% based over the 4 out of 5 entries

Now depending on different data this will change to example 2

54%
118%
224%
307%
284%
Expected Result 247% based over the 5 out of 5 entries

The "-" for no entry would need to be ignored in any calculation

Hope this makes sense

Many thanks
 
Upvote 0

Forum statistics

Threads
1,213,527
Messages
6,114,142
Members
448,551
Latest member
Sienna de Souza

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