Urgent Need of Excel help

sseaforth

New Member
Joined
Oct 14, 2015
Messages
3
Hello all,

In need of some excel help, I need to figure out how to add service dates for each month, depending on the last day of each month. Below is our current spreadsheet. We have tried using "IF" statements but cannot figure it out. If there is another way other than doing it manually please let us know!
Thank you!









Service Dates
Last NameFirst NameJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember
Last Friday of the monthFriesenDave
Last Thursday of the monthGroganDiane
Last Thursday of the monthJwangScott
Last Wednesday of the monthLessertDoug
Last Tuesday of the monthLoudermilkSue
Last Friday of the monthParkerPeter
Last Monday of the monthStantonJoe
Last Thursday of the monthWayneBruce
Last Friday of the monthAllbaughDan
Last Saturday of the monthBolyardJulie
Last Thursday of the monthBondJames
Last Wednesday of the monthBrodnickGeorge
Last Thursday of the monthHuangKim
Last Friday of the monthMcintyreSakib
Last Thursday of the monthRodmanKate
Last Tuesday of the monthRoseliusjim
Last Wednesday of the monthSmithFrank
Last Tuesday of themonthWattsSam
Last Friday of the monthArterburnKevin
Last Saturday of the monthBibbCollin
Last Wednesday of the monthBourqueBill
Last Monday of the monthDemopolosJessica
Last Friday of the monthFreemanKaty
Last Wednesday of the monthKlisaresJan
Last Friday of the monthMazzaJoAnne
Last Friday of the monthNazarKeaton
Last Friday of the monthPowersAustin
Last Friday of the monthReyesAmy
Last Wednesday of the monthWalkerMike
Last Wednesday of the monthWatchelJeff

<tbody>
</tbody>
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Excel counts weekdays with Sunday=1, Monday=2, Tuesday=3, Wednesday=4, Thursday=5, Friday=6, and Saturday=7.

The last Day_of_Week for any particular month can be found with this formula:

=DATE(YYYY, Month + 1, 1) - WEEKDAY(DATE(YYYY, Month + 1, 8 - Day_of_Week))

The last Wednesday of September, 2015, was the 30th: =DATE(2015, 9 + 1, 1) - WEEKDAY(DATE(2015, 9 + 1, 8 - 4))
The last Thursday of September, 2015, was the 24th: =DATE(2015, 9 + 1, 1) - WEEKDAY(DATE(2015, 9 + 1, 8 - 5))
 
Upvote 0
Thank you your help is appreciated.

Is there anyway to use "IF" statements or another formula to use to help speed up the process as we have to do this formula from 2016-2018?
 
Upvote 0
Is there anyway to use "IF" statements or another formula to use to help speed up the process as we have to do this formula from 2016-2018?

Hi, You could try this - the year goes in cell A2 - the formula in D3 can be copied down and across as required (I've only shown a small section here to save space)


Excel 2012
ABCDEF
1
22016Last NameFirst NameJanFebMar
3Last Friday of the monthFriesenDave29/01/201626/02/201625/03/2016
4Last Thursday of the monthGroganDiane28/01/201625/02/201631/03/2016
5Last Thursday of the monthJwangScott28/01/201625/02/201631/03/2016
6Last Wednesday of the monthLessertDoug27/01/201624/02/201630/03/2016
7Last Tuesday of the monthLoudermilkSue26/01/201623/02/201629/03/2016
8Last Friday of the monthParkerPeter29/01/201626/02/201625/03/2016
9Last Monday of the monthStantonJoe25/01/201629/02/201628/03/2016
10Last Thursday of the monthWayneBruce28/01/201625/02/201631/03/2016
Sheet1
Cell Formulas
RangeFormula
D3=EOMONTH(DATE($A$2,COUNTA($D$2:D$2),0),1)-(WEEKDAY(EOMONTH(DATE($A$2,COUNTA($D$2:D$2),0),1),MATCH(MID($A3,6,3),{"Mon","Tue","Wed","Thu","Fri","Sat","Sun"},0)+10)-1)
 
Upvote 0
The formula has worked great for January, but does not seem to work for the other months?

Any suggestions?

Thank you
 
Upvote 0

Forum statistics

Threads
1,216,153
Messages
6,129,179
Members
449,491
Latest member
maxim_sivakon

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