Quantities Per Month

chet645

Board Regular
Joined
Nov 10, 2010
Messages
67
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,

I am wondering if anybody can help me come up with a consise formula so that I can enter the number of Y units to be sold every X months (the alternative result being 0). I would like the formula to work no matter how many columns I drag the formula across. For example:

Hard Code Cells:
# of Units (Y): 20
Every (X) mos: 5

Result Cells:
Month: mo1 mo2 mo3 mo4 mo5.....
Units Sold: 0 0 0 0 20......

You guys never cease to amaze me, and a solution this problem would be very helpful.

Thanks,


Chet
 
Last edited:

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi Everyone,

I am wondering if anybody can help me come up with a consise formula so that I can enter the number of Y units to be sold every X months (the alternative result being 0). I would like the formula to work no matter how many columns I drag the formula across. For example:

Hard Code Cells:
# of Units (Y): 20
Every (X) mos: 5

Result Cells:
Month: mo1 mo2 mo3 mo4 mo5.....
Units Sold: 0 0 0 0 20......

You guys never cease to amaze me, and a solution this problem would be very helpful.

Thanks,


Chet
Here's another one.

Entered in B2 and copied across as needed:

=(MOD(COLUMNS($B2:B2),5)=0)*20
 
Upvote 0
Hi guys, I have an additional wrinkle that I would like to add to the formula. How would I modify the formula if I wanted to designate a month at which point the sales would begin and follow the quantities per month as I previously stated. In other words, how would I modify the formula if I wanted to designate that sales begin in month 3 (or whatever month I designate), then sale at a certain number of units per month. Any help is much appreciated.

Thanks,


Bryce
 
Upvote 0
Hi guys, I have an additional wrinkle that I would like to add to the formula. How would I modify the formula if I wanted to designate a month at which point the sales would begin and follow the quantities per month as I previously stated. In other words, how would I modify the formula if I wanted to designate that sales begin in month 3 (or whatever month I designate), then sale at a certain number of units per month. Any help is much appreciated.

Thanks,


Bryce
If I understand what you want...

Maybe this...

A1 = start month like 3.

Entered in B2 and copied across:

=IF(COLUMNS($B2:B2)<$A1,"",(MOD(COLUMNS($B2:B2)-$A1+1,5)=0)*20)
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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