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
DateThu 05 AprFri 06 AprSat 07 AprSun 08 AprMon 09 AprTue 10 AprWed 11 AprThu 12 AprFri 13 AprSat 14 AprSun 15 AprMon 16 AprTue 17 AprWed 18 AprThu 19 AprFri 20 Apr
Number100.00100.00


<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


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 shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
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,215,472
Messages
6,125,003
Members
449,203
Latest member
Daymo66

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