Place a number in a calendar like spreadsheet, that places a number every second thursday

umirin

Board Regular
Joined
Jul 31, 2016
Messages
58
Office Version
  1. 365
Platform
  1. Windows
A B C
[TABLE="class: grid, width: 1338"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Date[/TD]
[TD]Thu 05 Apr[/TD]
[TD]Fri 06 Apr[/TD]
[TD]Sat 07 Apr[/TD]
[TD]Sun 08 Apr[/TD]
[TD]Mon 09 Apr[/TD]
[TD]Tue 10 Apr[/TD]
[TD]Wed 11 Apr[/TD]
[TD]Thu 12 Apr[/TD]
[TD]Fri 13 Apr[/TD]
[TD]Sat 14 Apr[/TD]
[TD]Sun 15 Apr[/TD]
[TD]Mon 16 Apr[/TD]
[TD]Tue 17 Apr[/TD]
[TD]Wed 18 Apr[/TD]
[TD]Thu 19 Apr[/TD]
[TD]Fri 20 Apr[/TD]
[/TR]
[TR]
[TD]Number[/TD]
[TD]100.00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]100.00[/TD]
[TD]

[/TD]
[/TR]
</tbody>[/TABLE]


Hi All I need some help please. I would like a formula to go in B2 Cell, a formulai can fill accross the B row that would place the number 100 in every second Thursday as exampled above.
 

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.
Try
=IF(AND(WEEKDAY(B1)=5,MOD(SUMPRODUCT(--(WEEKDAY($B1:B1)=5)),2)=1),100,"")
 
Upvote 0
or
=IF(MOD(INT(B1)-5,14)=0,100,"")
Not exactly sure what the OP's requirements are, but that won't necessarily pick up the 1st, 3rd, 5th etc Thursday in the list. eg If the date list started on 6 April
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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