Calculating estimated loss

alibahman

New Member
Joined
Jul 4, 2011
Messages
1
Hi,

I have a list of online sales figures. for sometimes the payment system is updated or is down the sales become zero in that particular time because customer cant book online.

I want to calculate the estimated loss in that time where the payment system is down.

for example: the below is for 9 hours where 3 hours there is zero sales when the payment system was down

Column A

Hours
00
01
02
03
04
05
06
07
08
09

Column B

Sales
6
12
20
26
26
0
0
0
15
12

I hope there is a way to calculate that.

thanks
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
It's sort of possible, but it would depend on how you want to estimate each interval's value.

Just using the data you have, you could use the below formula with Excel 2007+:

=COUNTIF(B2:B11,0)*AVERAGEIF(B2:B11,"<>"&0)

The first part will count the number of zero intervals, and the second will determine the average of all intervals that aren't zero. Multiplying them together will give you an estimated total loss.

Of course, if you legitimately have no sales during an interval, that will throw it off, but if you're just kind of looking for a guesstimate that will hopefully work for you.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,877
Members
452,949
Latest member
Dupuhini

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