Auto Week 1 to Week 5 with date

tendosai

New Member
Joined
Mar 14, 2022
Messages
26
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I have a report for weekly review to my candidate.
I count each week from Mon to Sun as 1 week. so if one week have only 2 or 3 days, then it will leave blank. please find the sample here Sample
i do try the formular such as weekday but it is really complicated that i start to lose myself when too much IF
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
can you give some expected results , Sorry, but i'm not sure what you want to show
 
Upvote 0
oh very sorry. if you see in the sample.xlsx, in Period Week 1 (based on the this month Feb) the first 2 days Mon and Tue is in Jan (30, 31 respectively) so it shall be blank. Wed is 1-Feb-23 thus it will show till Sunday (5-Feb-23)
this should do the same for Week 2 ...
However, in Week 5, because of Week 5 only have 27 and 28 thus Wed-Sun will be blank (as it is in March).
ASM Name:Period:
Test Name 2Week 1
MondayTuesdayWednesdayThursdayFridaySaturdaySunday
NoActivities DescriptionPoints1-Feb-232-Feb-233-Feb-234-Feb-235-Feb-23Total

What i want to show is that .. when user put Week 1 ... (based on Date in cell I7) whether Mon or Tue if it is not in the month (I7) it shall be blank.
 
Upvote 0
can you give some expected results , Sorry, but i'm not sure what you want to show
when user put Week 1 ... (based on Date in cell I7) whether Mon or Tue if it is not in the month (I7) it shall be blank.
 
Upvote 0
sorry i missed the reply - i assume this is now resolved
however, if not
I dont really follow - as the cell reference are not shown

How about
Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,547
Members
449,089
Latest member
davidcom

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