mark the excel novice
New Member
- Joined
- Jul 6, 2021
- Messages
- 8
- Office Version
- 365
- Platform
- Windows
I'm looking to bill different amounts based on how many "movies" have been delivered.
Here is my spreadsheet. The billing should differ based on the number of "movies" delivered. The first 5 movies should be billed at £1.50 base rate and 15p per minute for the duration of the asset. Movies 6 -10 should be billed at £1.50 base rate and 10p per minute for the duration of the asset.
So, Column A is confirming which assets are movies and which are subs. Column B shows the duration of the asset. These columns have no formulas.
Column C is where think my solution might be for counting how many movies we have delivered. Currently I cannot figure out the formula to achieve what is in the screenshot, a count of all the movies in Column A. My thoughts would be that the formula in Column G would change to say something like **- IF C2 is equal to or greater than 6 use J3, IF C2 is less than 6 use J2.**
Columns D & E are just =COUNTIF(A2,"SUBTITLE") & =COUNTIF(A2,"MOVIE")
Column F calculates the duration in Column B as just minutes (from timecode) =IF(AND(A2="MOVIE"),(LEFT(B2,2)*60+MID(B2,4,2)+IF(MID(B2,7,2)+0<30,0,1)),"0")
Column G is where i'm calculating the cost per asset. Maybe my formula could be altered to not need to include a Column C calculation like i suggested above, if there is a cleverer way to achieve the outcome.
=IFERROR(IF(E2>0,$J$2*F2+5.6,IF(D2>0,$J$5*D2,"£0.00")),"£0.00") Currently its seeing if a movie or a sub has been found in E or D, then its adding the base rate to a calculation of the number of minutes * J2.
J2 being .15p per minute. My aim is to make a formula clever enough to change J2 to J3 once the number of movies exceeds 5.
Here is my spreadsheet. The billing should differ based on the number of "movies" delivered. The first 5 movies should be billed at £1.50 base rate and 15p per minute for the duration of the asset. Movies 6 -10 should be billed at £1.50 base rate and 10p per minute for the duration of the asset.
So, Column A is confirming which assets are movies and which are subs. Column B shows the duration of the asset. These columns have no formulas.
Column C is where think my solution might be for counting how many movies we have delivered. Currently I cannot figure out the formula to achieve what is in the screenshot, a count of all the movies in Column A. My thoughts would be that the formula in Column G would change to say something like **- IF C2 is equal to or greater than 6 use J3, IF C2 is less than 6 use J2.**
Columns D & E are just =COUNTIF(A2,"SUBTITLE") & =COUNTIF(A2,"MOVIE")
Column F calculates the duration in Column B as just minutes (from timecode) =IF(AND(A2="MOVIE"),(LEFT(B2,2)*60+MID(B2,4,2)+IF(MID(B2,7,2)+0<30,0,1)),"0")
Column G is where i'm calculating the cost per asset. Maybe my formula could be altered to not need to include a Column C calculation like i suggested above, if there is a cleverer way to achieve the outcome.
=IFERROR(IF(E2>0,$J$2*F2+5.6,IF(D2>0,$J$5*D2,"£0.00")),"£0.00") Currently its seeing if a movie or a sub has been found in E or D, then its adding the base rate to a calculation of the number of minutes * J2.
J2 being .15p per minute. My aim is to make a formula clever enough to change J2 to J3 once the number of movies exceeds 5.