activity frequency - formula

eddster

New Member
Joined
Oct 11, 2017
Messages
25
Hi All,

I wondered if anyone can help me with a simple formula to automatically input activity cost data on the basis of frequency intervals.

Below is a simple example the cells in green are input by the user, the yellow ones I would like to be calculated by a formula.

[TABLE="width: 485"]
<tbody>[TR]
[TD="class: xl65, width: 13, bgcolor: transparent"]A
[/TD]
[TD="class: xl65, width: 81, bgcolor: transparent"]B
[/TD]
[TD="class: xl65, width: 45, bgcolor: transparent"]C
[/TD]
[TD="class: xl65, width: 88, bgcolor: transparent"]D
[/TD]
[TD="class: xl65, width: 37, bgcolor: transparent"]E
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]F
[/TD]
[TD="class: xl65, width: 37, bgcolor: transparent"]G
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]H
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]I
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]J
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]K
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]L
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]M
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]N
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]O
[/TD]
[TD="class: xl65, width: 31, bgcolor: transparent"]P
[/TD]
[TD="class: xl65, width: 37, bgcolor: transparent"]Q
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]1
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]Activity
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]1st year
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]frequency (years)
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]cost
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2018
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2019
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2020
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2021
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2022
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2023
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2024
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2025
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2026
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2027
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2028
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]2029
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]2
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]paint wall
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]2018
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]1
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[TD="class: xl68, bgcolor: yellow"]3000
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]3
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]replace flooring
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]2019
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]10
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]10000
[/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"]10000
[/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"]10000
[/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: transparent"]4
[/TD]
[TD="class: xl66, bgcolor: #BFBFBF"]replace boiler
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]2018
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]10
[/TD]
[TD="class: xl67, bgcolor: #C6E0B4"]5000
[/TD]
[TD="class: xl68, bgcolor: yellow"]5000
[/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[TD="class: xl68, bgcolor: yellow"]5000
[/TD]
[TD="class: xl68, bgcolor: yellow"][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
In F2: =(MOD(F$1-$C2,$D2)=0)*$E2


In F2: =(MOD(F$1-$C2,$D2)=0)*$E2

Hi Baitmaster thank you for your prompt response and assistance

I have run the formula which has partly worked for my needs but does not fully allow for the scenario in that I wish the frequency to apply only from the 1st activity date i.e. looking forward

in the formula given it is including costs for activity before the 1st year occurrence

example below - items incorrect are in RED

[TABLE="width: 729"]
<tbody>[TR]
[TD="class: xl66, width: 32, bgcolor: transparent"]A
[/TD]
[TD="class: xl66, width: 85, bgcolor: transparent"]B
[/TD]
[TD="class: xl66, width: 69, bgcolor: transparent"]C
[/TD]
[TD="class: xl67, width: 67, bgcolor: transparent"]D
[/TD]
[TD="class: xl66, width: 63, bgcolor: transparent"]E
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]F
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]G
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]H
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]I
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]J
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]K
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]L
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]M
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]N
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]O
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]P
[/TD]
[TD="class: xl66, width: 54, bgcolor: transparent"]q
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]1
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]activity
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]1st YEAR
[/TD]
[TD="class: xl69, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]frequency (years)
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]COST
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2018
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2019
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2020
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2021
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2022
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2023
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2024
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2025
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2026
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2027
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2028
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] , align: right"]2029
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]2
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT1
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2018
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]1
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]1000
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]3
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT2
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2019
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]2
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]500
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]500
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]500
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]500
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]500
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]500
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]500
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]4
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT3
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2018
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]3
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]750
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]750
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]750
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]750
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]750
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT4
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2019
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]1
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]200
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]200
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]6
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT5
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2019
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]5
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]100
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]100
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]100
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]100
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]7
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT6
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2020
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]1
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]50
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]50
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]50
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]8
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT7
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2020
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]2
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]40
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]40
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]40
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]40
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]40
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]40
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]40
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]9
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT8
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2020
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]3
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]20
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]20
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]20
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]20
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]20
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]10
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT9
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2021
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]3
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]10
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]10
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]0
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]10
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]10
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]10
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]0
[/TD]
[/TR]
[TR]
[TD="class: xl66, bgcolor: transparent, align: right"]11
[/TD]
[TD="class: xl68, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=BFBFBF]#BFBFBF[/URL] "]PAINT10
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]2021
[/TD]
[TD="class: xl71, width: 67, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] "]1
[/TD]
[TD="class: xl70, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=C6E0B4]#C6E0B4[/URL] , align: right"]5
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]5
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]5
[/TD]
[TD="class: xl72, bgcolor: red, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[TD="class: xl66, bgcolor: transparent, align: right"]5
[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Hi Baitmaster

Sorry brain was being non functional yesterday

solved with =IF($C3>F$2,0,((MOD(F$2-$C3,$D3)=0)*$E3))

Regards

Edd
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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