IF / AND statement??? Thanks!

Status
Not open for further replies.

jmb123

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

so we are managing ads 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.

In the picture, i just put a space in the 30 min time block for when the ads will run. Group 1 is in the top 3 rows and group 2 is in the bottom 3 rows of the alternating gray and white section with the blue in it.

Thanks in advance!
 

Attachments

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

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hello!

so we are managing ads 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.

In the picture, i just put a space in the 30 min time block for when the ads will run. Group 1 is in the top 3 rows and group 2 is in the bottom 3 rows of the alternating gray and white section with the blue in it.

Thanks in advance!

I want to calculate cost for each group. Thanks!
 
Upvote 0
Duplicate to: calculating total based on value and conditions

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread. If you do not receive a response, you can "bump" it by replying to it yourself, though we advise you to wait 24 hours before doing so, and not to bump a thread more than once a day.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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