calculating total based on value and conditions

jmb123

New Member
Joined
May 20, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hello!

Our firm is advertising for 2 different groups at the same time. 1 group has a potential for 3 different ads and the other has 2. Ads can overlap during the day and when they do, the expense is split evenly, but only for the 1st overlap. any remaining overlap is solely the responsibility of that group For example. Group 1 has ads 1,2,3. Group 2 has ads 4,5.

#'s are simplified
If only 1 group is running an ad during that hour its $12. Each additional ad is $2/hour.
If group 1 and group 2 are running 1 ad each then the total is $14, but divided by $2. ($6/ per hour each)

However, if Group 2 is also running a second ad then their total for the hour would be the $6/hour + an additional $2 while group 1 stays at $6/hr. Each additional ad for the group does not get divided and split with the other group.
 

Attachments

  • Ad group snippet.png
    Ad group snippet.png
    31.8 KB · Views: 2

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Hello!

Our firm is advertising for 2 different groups at the same time. 1 group has a potential for 3 different ads and the other has 2. Ads can overlap during the day and when they do, the expense is split evenly, but only for the 1st overlap. any remaining overlap is solely the responsibility of that group For example. Group 1 has ads 1,2,3. Group 2 has ads 4,5.

#'s are simplified
If only 1 group is running an ad during that hour its $12. Each additional ad is $2/hour.
If group 1 and group 2 are running 1 ad each then the total is $14, but divided by $2. ($6/ per hour each)

However, if Group 2 is also running a second ad then their total for the hour would be the $6/hour + an additional $2 while group 1 stays at $6/hr. Each additional ad for the group does not get divided and split with the other group.
I guess I didn't really put what I was trying to achieve! I would like to create a total cost per group based on how many ads are running.
 
Upvote 0

Forum statistics

Threads
1,216,226
Messages
6,129,605
Members
449,520
Latest member
TBFrieds

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