Time Value Distribution Automated?

Callum456

New Member
Joined
Mar 24, 2020
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Hi all, I am new to this so bare with me. Below is the current solution to my predicament, done manually. I would like to automate the distribution column. For this, the numerator is the TVU column, and the denominator is determined via the COUNTIF() function. The issue is that I cannot get excel to reference the correct TVU, it is often referencing a 0 and trying to divide by the COUNTIF(). The number I need to reference is the value that is followed by a 0. (ex. 8:25 am occurs 3 times, so i need to divide the difference between 8:17 and 8:25 by 3. to get a time for each column) If any one has any insight on fixing this reference problem please share.

thank you, Callum


TimeTVU =(time2-time1)Distribution (?) CountIF(=COUNTIF($A$2:$A$6,A2))
8:00 am--1
8:17 am17:0017:00/11
8:25 am8:008:00/33
8:25 am08:00/33
8:25 am08:00/33
8:40 am 15:0015:00/11
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Upvote 0
Hi thanks for helping out.

When I use the Avg if i get a DIV/0 error. How did you avoid this?

-Callum
 
Upvote 0
Could you post your data/formulas with XL2BB? (See the link in the box where you make your post.)
Thanks
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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