+ Reply to Thread
Results 1 to 89 of 89

Making a date range using start of week?

  1. #1
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Making a date range using start of week?

    Hey Everyone,


    I was wondering if anyone knew how to make a range of dates for comparison that would take todays date, and then make the range the start date of the week through two weeks out?

    I'm looking to make something that will search a column, if there are dates in the column I would like it to pull the date and compare it to a two week window. so say it is Thursday, they want the window to begin the Monday that had just passed and run two weeks from that date.

    If there is a date in the cell in the column, and if that date falls into the two week window, then the cell would get highlighted.

    Im not sure how to use the DAte (), NOW(), or DATEADD() feature to find the start of the week and work outward.

    why cant they just want the current date forward

    Any help would be appreciated

    ...

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Hi Fawkes_,

    Give this a shot:

    Please Login or Register  to view this content.
    Last edited by Arkadi; 02-01-2017 at 03:03 PM.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Making a date range using start of week?

    If I understand you correctly, you want to highlight any cells in a column which fall into a two week window between the Monday before today and two weeks from then (for example, Monday 30th January to Sunday 12th February, if working on today Wednesday 2nd February).

    You could do this with a Conditional Formatting rule. Select your range (I'm going to assume it's column A, starting in A2) then click 'Conditional Formatting' on the Home tab, then 'New Rule' then 'Use a formula to determine which cells to format'. Enter this into the formula box:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Choose the highlight you want (fill colour or text colour, usually).

    The formula works by checking if the date is both:
    • greater than or equal to the previous Monday, worked out with TODAY()-WEEKDAY(TODAY(),3)
    • less than or equal to the Sunday two weeks later, worked out with TODAY()-WEEKDAY(TODAY(),3)+13)

    Hope that helps.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  4. #4
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey Everyone,


    Thank you for the guidance so far. I was trying to use your provided sample, I get no errors, however the cells with dates do not highlight.


    The column in question is column b, which will never have a full list. So trying to figure out the LR for is I have been targeting row c. Also,

    I have attatched a small workbook as an example of what im working with.

    again thank you both for taking the time to work with me on this.
    Attached Files Attached Files

  5. #5
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Well, you can use any column for last row, but since you are checking the date, column B last row should work because if it has no date in it then it doesn't need highlighting, but your code will of course work too.
    However, in the book you provided as an example there is no date that is in the 2 week window of this past monday to 2 weeks later (Jan 30 to Feb 12), so no date to highlight?
    Last edited by Arkadi; 02-01-2017 at 04:13 PM.

  6. #6
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    SMH, lol

    I completely over looked that part... yes there is nothing in the window so of course no highlight.... Thank you for your help with this and your patience. let me go back to the dunce chair for a bit lol

  7. #7
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    on a side note,

    can I swap the interior to entire row? or would I need to rewrite all of it to get the whole row to highlight?

  8. #8
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Making a date range using start of week?

    Unless you particularly want to use VBA (which is a valid choice, of course) then you can amend the Conditional Formatting easily to highlight the whole row.
    Amend the formula used to this:
    =AND($B12>=(TODAY()-WEEKDAY(TODAY(),3)),$B12<=(TODAY()-WEEKDAY(TODAY(),3)+13))
    then apply it to the whole table - go to 'Conditional Formatting' then 'Manage Rules', select this rule and enter this in the 'Applies to' box:
    =$A$12:$F$17
    (expand the range to include all the rows of your table - or just make it $F$100 or $F$1000 - a big enough number to cover any expansion expected - up to you).

    As an aside, if you do prefer to use VBA, you should consider putting Arkadi's code into a Worksheet_Change event, so that it runs whenever the worksheet is updated. An addition to clear the highlighting from cells which no longer need it is probably worth it too.
    Try putting this code (Arkadi's with some additions) into the Worksheet code - not a module (press F11 to open the VBE, right-click the 'Sheet1' sheet, select 'View Code' and paste this in).
    Please Login or Register  to view this content.
    I've set it so that any change in the range B12:B1000 will activate the code - just change that if you need a larger range. The code could probably be tweaked to have that range set dynamically, but I didn't want to play around with Arkadi's code to try to do that, in case I broke it .
    Edit: I have amended the range, to have the whole row highlight, by changing the last ws.Range("B" & i) to ws.Range("A" & i & ":F" & i)
    Edit2: Because of the first edit, I had to clear any existing highlighting on the whole range, so I've amended that too - the Cells2clear bit of the code.

    Hope that helps.
    Last edited by Aardigspook; 02-01-2017 at 05:42 PM. Reason: Add code change to highlight whole row

  9. #9
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Id be making this into an ADD-IN so I could share it, this simple project keeps getting more things added so.... SMH, simple favors never stay simple lol. I see the A to F change for the color fill, would I be able to use the selection.entirerow ... or wait... how about lastcol? I could do the last call and that would clear that up right?

    Please Login or Register  to view this content.
    ugh, how does one add LC to an ("I" & I)??

    I am really a pain today sorry guys

    also tried this for the lc and it didn't work

    Please Login or Register  to view this content.
    I was thinking since this will always be a single sheet wk would using activesheet be better? also, im getting push back requesting that I use the column names instead of letter, is that even possible?
    Last edited by Fawkes_; 02-01-2017 at 06:25 PM.

  10. #10
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    I'm not sure if you are working with my concept or Aardigspook, for now I'll back off so that we don't get confused, he seems to be on top of it.

  11. #11
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Good morning Arkadi,

    I was working with your concept because it allows for the date to be fluid. If you have some ideas about my new questions they are more than appreciated. One should never turn down a chance to learn from someone better versed in a topic.

  12. #12
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    A few questions:

    - What do you mean by "column names"? Do you mean you want to identify the "short Date" column by its header in row 1? (You can set the column as a variable by finding the header, you can't use the header text to DIRECTLY address the column).
    - You said you want to highlight the whole row.... I assume you mean the part of the row that is part of the table with data and not the WHOLE row across the entire sheet?
    - You asked about activesheet vs using the name... if the sheet name could change but it will indeed ALWAYS be a one-sheet workbook then yes.
    -With regards to the last column .... do you mean you always want to use the last column to calculate the last row?

  13. #13
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey Arkadi,

    Yes, my co worker is wondering about using the names they give the column as the identifier. so instead of using "I" or "A" we would use the name in the header.

    yes we would only be highlighting the row until the data runs out. So if a is the first column and BK, Z, AL, ect are the last column then it would highlight from column a to the last column used for that row. so if the date exists and is within the range you created for me (THank you again) then the entire used row will be highlighted.

    and yes some people might change the name of the sheet so I wanted to use the active sheet property in the code instead of the sheet name, the other option would be coding in a name change tot he sheet prior incase they had changed it. I think active sheet would be easier maybe?

    and I was trying to use last column like using last row where is automatically find the last used column so if it changes the code finds it on its own.

  14. #14
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Here is a better explination of the overall scope with an example workbook.

    what was originally can you get this cell to highlight auto matically has turned into this request, notes are in the code

    Please Login or Register  to view this content.
    Attached Files Attached Files

  15. #15
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    deleted duplicate
    Last edited by Fawkes_; 02-02-2017 at 12:40 PM. Reason: duplicate

  16. #16
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Making a date range using start of week?

    @Arkadi
    You're far better with VBA than I am (I'm a VBA-tweaker, rather than VBA-writer, really), so I'll leave this to you now - though I'll be watching with interest so I can learn .

    @Fawkes_
    You posted this in the VBA forum, sensibly, so sorry if I caused any confusion with my Cond-Formatting suggestions. Good luck.

  17. #17
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    @aardigspook, no confusion was caused, and the assistance was appreciated. It is only through collaboration that we can all learn new and useful tools. I appreciate your advice

  18. #18
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Hi again Fawkes_

    It is all done except the LSDate item... I need to understand better.
    LSDate is found by finding the column where Shortfall is 0 after a number higher than 0... but only checking columns with shortage in the name? And what happens if all shortfall columns are 0? (so in row 1, shortage is 0 on 24 april 2017, so LSDate would be 17-April-2017 correct?)
    Also, what do we do with LSDate after we find it?
    Last edited by Arkadi; 02-02-2017 at 02:43 PM.

  19. #19
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    @Aardigspook, no need to apologize at all! Your suggestion was a very logical and good one! It is great when more ideas are presented, I just thought it was best if you were in control for now, but then Fawkes_ said he wanted to continue with my code so I started again. I really appreciate your help in solving his problem

  20. #20
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    For any line that has shown a shortage we are looking for the date in which the shortage will clear this will appear in any column with the "date- Shortage" in the header. if the lines are not blue or yellow we can ignore them due to not running a shortage. if the shortage does not clear on the current forcast I guess we would just bypass it and do an on error perhaps? default message of some sort.

    The LSDate would be the header for the preceding short as you described above. that is 100% correct.

    the date pulled would be placed into an inserted column for the information.

    So I would need to put an insert column next to the 1st short date and label it comments.

    from my understanding, currently the coworker is at lunch so I cant confirm past that part

    Thank you for all of your help, as well as AArdigspook for the insight and assistance as well you are both extremely patient and helpful.

    Fawkes_
    Last edited by Fawkes_; 02-02-2017 at 02:59 PM.

  21. #21
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    What if there is a shortage, it goes away, and then later comes back again? (for example row 17 in the example)

  22. #22
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    This report will be run weekly so I believe they are focusing on the most recent.


    I was not expecting so much help, thank you for all the effort you are putting into assisting me.
    Last edited by Fawkes_; 02-02-2017 at 03:35 PM.

  23. #23
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    To clarify, if shortage goes away, then comes back, then goes away again, then you want the latest date where it went away... and I assume if shortage came back, then does not go away, then you don't want a date in the new column? Can you tell me what the header of the new column will be? (I assume you will be adding that column)
    I also want to confirm... if there was a shortage, then went away, then came back again and did not go away, report no date?
    Last edited by Arkadi; 02-02-2017 at 03:52 PM.

  24. #24
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    We are looking for the soonest/closest clear date. so whichever the first time it clears is the date they are looking for.

    if it goes short on 20 feb 2017, and clears 1 march 2017 and then goes back short later that doesn't matter, they are looking for the most immediate clear date.

    The new column would be inserted right after the 1st short date column and can be titled "Clear Date"

    so for any line with a short date we would have the closest clear date right next to it.

    If there is a shortage with no clear date on the report we could include a generic return of "n/a"

    thank you again

  25. #25
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Lets see if this does what you want?

    I tried to post just the code but got an sql injection error because of something in the code that the server didn't like
    Attached Files Attached Files

  26. #26
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Ignore that I downloaded it and renamed it into an xl form and it worked. the code works great if I manually add the clear date first, if there a way to make the clear date column insert to the right of the 1st short date automatically?


    SMH... well I love it, he wants more now, I need to make a return statement with the quantity, and the date for white columns... "8k pcs due at _ week of" , yellow is critical and needs to be manually worked by them so what we have is fine, and blues need a similar statement.

    you sir have done more than enough already and I can start working the rest, unless you just love to code lol


    Thank you again so much for everything
    Last edited by Fawkes_; 02-02-2017 at 04:36 PM.

  27. #27
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Making a date range using start of week?

    Quote Originally Posted by Arkadi View Post
    I tried to post just the code but got an sql injection error because of something in the code that the server didn't like
    This might be because of a > or < followed by numbers or letters in the code (see this thread and this one).

    If it's possible to add a space before/after the > or < then try that - the VBE will normally remove the space when it's copied & pasted.
    If not, then you could try what's called the 'black colour trick':
    Instead of < 1234 (with no spaces), break it up by making the font colour of one of the numbers black, like this:
    <1[COLOR="#000000"]2[/COLOR]34

    Hope that helps.
    Last edited by Aardigspook; 02-02-2017 at 04:32 PM.

  28. #28
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    I'm trying, but I can't figure out what in the code is getting rejected by the server.... why can't you open the attachment? can I attach it as a text file?

  29. #29
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Thanks Aardigspook... tried those suggestions without much luck, but I won't keep trying if Fawkes could download it.

    @Fawkes_ here is the updated version with your request:
    Attached Files Attached Files

  30. #30
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Here is the code FINALLY! I added spaces and colored black a few items, though I think it was the trim replace replace line... cheers to Aardigspook for the tip!

    Please Login or Register  to view this content.
    Last edited by Arkadi; 02-02-2017 at 04:47 PM.

  31. #31
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Fawkes, just for learning, the Trim function removes spaces, but there is a non-breaking space character that is not a normal space, that's why I used replace with Chr(160) to remove the special space that you have between the date and the word shortage in your headers

  32. #32
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    I added the Clear Date by code (first checks if it exists). had not read the rest properly... I shall have a look.

    Reading it over, I am not sure what you mean exactly.... 8k pieces due the week of...,

    the 8K is based on what? and "the week of" is?

    is the 8k AND the week of... the amount of shortage with the same logic as the date we put in clear date? Also where does this output go?
    Last edited by Arkadi; 02-02-2017 at 05:02 PM.

  33. #33
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    So there would not be a need for the clear date column would be an add by the macro, or we could use the internal comments sections, the results would be as follows,

    I like the Clear date column, and want it there, so if we could keep that as well that would be awesome

    for white rows, the comments column would read " ("QTY", "pcs due to _ week of", "Date(mm/dd)"), so this would be the qty short and the date it is expected here,

    for Blue rows there would be no comment

    and for yellow rows there would be no comments

    the blue and the yellow would be manually worked.

    On side note: for comments is it possible to fine any intermittent changes such as a shortage of 1500 the next week there is only a shortage of 1000. to track that and then find the complete clear as well?

    so the comment would be something along the lines of:

    "500 pcs due at _ week of date(mm/dd)
    1000 pcs due at _ week of date(mm/dd)"

    This would be an outlier less than 10% of the time would is occur but someone just brought it up as a "need"

    have I mentioned how ridiculous it is that you are willing to put in the time to help a nub like me out with this? you are exceptional.

    Fawkes_

  34. #34
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey Arkadi,

    I was able to get the pre add for the clear data column coded and in. the code works great from there.

    Please Login or Register  to view this content.
    Now it is off to figuring our the next steps, thank you again for all your help. If you have anymore insight i welcome it wholeheartedly. Also, if there is anything i can do to thank you let me know, i wouldnt be this far alont without you.

    fawkes_

  35. #35
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Hey fawkes... Youd asked me to insert the clear data... It was in my previous post.... Though your way works too. If I understood right, you want the new info to be a comment in the clear data column? Just to undertand fully..... Using row 17 as an example since it has shortages more than 1 time... Can you give me the coment you would like in that row? I mean for the new requirement .... Xxx pieces due at... Etc

  36. #36
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    We should add a column next to clear date with Comments as the Header.

    row 17 would show as "1550 pcs due at _ week of 04/17"

    there isnt an example on this work sheet of the multiple comment return they had requested.

    but i can add one i think

    so for line 18, i added a scenario like the one being discussed where there is a short, but some parts come in, and the rest come in later.

    so the comment for this would be something along the lines of:

    "2000 pcs due at _ week of 02/13
    2000 pcs due at _ week of 02/20"

    Though partial instances such as this are rare, they want to plane for them if they are to occur.

    Plus i was given a few more instances to build in but i really feel bad asking this much of someone else. How long have you been working with VBA? you seem to have a really strong grasp of these processes.

    Thank you again,
    Fawkes_
    Attached Files Attached Files

  37. #37
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Fawkes... If there are new requests just give me a full explanation and exanple. It is now 8pm here and computer is being used by family to watch a movie but i will reply in the morning.
    I have been working with vba since 2012 i think... Before that i used only formulas
    Last edited by Arkadi; 02-03-2017 at 09:14 AM.

  38. #38
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    About your example... I don't understand... for row 18 you said 2000 week of 2/13, and 2000 week of 2/20, but on the sheet the shortfall is 4000 feb 13, and 2000 feb 20.
    Jan 30 and Feb 6 also have shortage of 4000 but no comment? And later weeks also have shortfall
    Last edited by Arkadi; 02-03-2017 at 09:21 AM.

  39. #39
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    good morning Akardi,


    I hope you are well today.

    I regards to the examples, comments would only come if there is a positive change. so when we the shortage decreases. so we start with a 4000 as the shortage if it stays at 4000 or increase we would not make a comment until we see a decrease or a clear.


    so in this instances the 4000 is the start and then it drops by 2000 so we got 2000 parts in the week before the change, just like with finding our first zero. but in this instance we would return a comment and then keep searching for the first clear as well.

    it is a strange day.


    Fawkes_

  40. #40
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    good morning Akardi,


    I hope you are well today.

    I regards to the examples, comments would only come if there is a positive change. so when we the shortage decreases. so we start with a 4000 as the shortage if it stays at 4000 or increase we would not make a comment until we see a decrease or a clear.


    so in this instances the 4000 is the start and then it drops by 2000 so we got 2000 parts in the week before the change, just like with finding our first zero. but in this instance we would return a comment and then keep searching for the first clear as well.


    the other requests I have received were for the critical window, they would like a popup box for them to input the number of days, at the end they would like the data to sort by 1st short date, and there are two types of reports involved one will have two columns that the other will not, so could there be a search for that header? and if that header is found could it add a column and use a formula in that column?




    Fawkes_
    Last edited by Fawkes_; 02-03-2017 at 12:07 PM.

  41. #41
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Please Login or Register  to view this content.
    Last edited by Arkadi; 02-03-2017 at 01:29 PM.

  42. #42
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey Arkadi,

    On the test WS for this it returns a the same response for all lines. after line one.

    "3000 pcs due on the week of 17-Apr-2017
    3000 pcs due on the week of 6-Feb-2017
    12000 pcs due on the week of 6-Mar-2017"

    is there a way for the response to have the data returns in the comments column have the same layout as the pipeline column? where each response is stacked? Also, notices the name for the header in the column for comments is not filling though the code for it is the same as the clear date add... I tried to make changes but ended up just adding an extra column.

    it seems like the math is going a bit off somewhere, would it be better to try and just do the first short and first clear and then try to add the intermittent changes after?

    I was weary of the intermitten change portion when they suggested it because it would need to only draw from any negative change in the line.

    From looking at the output it seems to be piling the reponses from row to row ontop of each other. what do you think?

    also is there an easy way to sort the sheet by deceding values in the 1st shrt date column at the end of the run?

    as well as adding a message/input box to pup-up to input the value for the critical window? some people have 2 weeks and some have four weeks, so I figure is a when the macro runs initially a pop up shows that allows for the user to put in the number of days needed we could return that to the number in the date change?
    Last edited by Fawkes_; 02-03-2017 at 01:16 PM.

  43. #43
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    I just edited my post.... please try it the way it is now and tell me if it is better? It was just to fix the comments process... will look at your other items.

  44. #44
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey there Arkadi,

    I wanted to feel like I was helping so I did the input box

    Please Login or Register  to view this content.
    It tests and works yay.

    Im reading your code now to try and catch up with all the work you have done, its quite impressive how quickly you can put all of this together. Thank you again for all of the help

    Fawkes_

  45. #45
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    You will need to re-add your inputbox code changes, but this is fixed for comment format, and it also resizes the comment column and sorts:

    Please Login or Register  to view this content.

  46. #46
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey Arkadi,

    Is it possible to make the marco ignore getting the comments if the row is blue or yellow? I would like the Clear date column to populate, for the blue and yellow rows but not the comment.?

    Also, is there a way to at the end have it search for a column header? the column if there would always be "In Transit Orders (Date | Quantity)" if it exists then we would need to add a column titled "Ship Date Check"

    With the formula =IF(F2<>"",SUM(O2-(R2+T2)+RIGHT(F2,LEN(F2)-FIND("|",F2))),SUM(O2-(R2+T2))) in all rows - the header of course

    O2 = the column for On-Site Inventory

    R2 = the column for First Forecast Date EX. 11-Jul-2016 Forecast

    T2 = the column for Second Forecast Date EX. 18-Jul-2016 Forecast

    F2 = the column for In Transit Orders (Date | Quantity)

    If there is no In Transit Orders (Date | Quantity) it would just complete as it always does.

    There is also some question related to Item type in reference to check but I don't have any details. because people keep snowballing this project. I am sorry for all the headaches you are great though

    Fawkes_

    BTW I own you something for this for sure, so let me know what I can do buddy.

  47. #47
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    On Site inventory... is that the heading "Stock"?

  48. #48
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    The header for that row would have On Site inventory as the name the testharness for this didn't have the this portion included, im working on getting a sample with all the data for the second type as well.

    but the progress is slow sadly

  49. #49
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    My copy sheet doesn't have all the columns, so I can't check the code, the formula is a bit complicated to build but lets see if this works:

    Please Login or Register  to view this content.
    Last edited by Arkadi; 02-03-2017 at 04:10 PM.

  50. #50
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Oh.... I forgot... I think you mentioned something about the comments... if the shortage goes up before it goes down.... do you want the first shortage or the highest number before it goes to 0?

  51. #51
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey Arkadi,


    Sheet 1 is without the colmuns for the search for the second part we discussed, and Sheet two has the two columns required.

    I hope this is enough data, Also the comment data on the last code was changed back to the due week of we had prior for looks, I meant to have the same comments as before but have them stacked. so they listed like the pipeline but looked like the comment we originally had sorry for the mistake on my part.

    there is one more big thing with item class that ill need to get sorted out before I bring it up but everything else so far is amazing, for real I owe you something let me know you're awesome.

    Fawkes_
    Attached Files Attached Files
    Last edited by Fawkes_; 02-03-2017 at 04:28 PM.

  52. #52
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    If the shortage goes up we don't mind, there is no need for a comment,

    The way you had it before where it lists the negative changes was great. so with line 18 where it drops from 4000 to 2000 and it listed it, and then look forward for any other negative changes, it should continue this from the first shortdate until it clears for the first time.

    so if its 4000 and then 2000 it would comment "2000 pcs due to _ week of date" , then it would continue if the next change is from 2000 to 40000, then no comment, until it is negative again or clears. so if it goes from 2000 down to 0 then the standard comment.

    Fawkes

  53. #53
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Ok ignore my last code post... some errors in there.
    So if shortage is 2000 then 4000 then 0 the comment would still say 2000 pcs due .... without noticing the 4000?

  54. #54
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    and now I get a new variable to ad yay....

    so the search we have to make things blue, we have something similar.

    so ignoring shortdate, if one of these item classes are there and it doesn't have a pipeline date it needs to go blue as well.

    The column to make sure is there is "Item Class"

    and

    the "Item Status" that would be searched for are"

    DE, DI, DO, DP, DS, DT, EH, EL, IH, LX, NC, ND, NP, NR, NS, NW, PC, SA, SN, SO, UD, UP, VA, VC, VD, VE, VG, VH, VM, VN, VP, VS, VT, VX, VY, WD, WO, WS

    so if item class equals any of those, and there is no pipeline then those lines need to be highlighted blue as well.

    the other item classes are to be treated in no special way, they still fall into the previous code you have created

    And we can forgo sending comments to any line that is Blue or Yellow, because those will need to be worked manually.

    This leaves the clear date fine for all lines, but the comments column only needing to be sent to white columns. is that possible?

    If not the comments can go as usual and they will have to change them manually when they get to that point.

    Thank you again for all of the help.

  55. #55
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    if the shotage starts at 4000 and then goes to 2000 a comment would be generated, saying "2000 pcs due week of date", if the shortage then rises to 6000 there will be no comment to show the rise, but if it goes from 2000 to 1000 there should be a comment added that says "1000 pcs due week of date", however if it goes to 6000 and then the next shortage is 0 the comment should say "6000 pcs due to week of date"

    if they could populate like this:

    "2000pcs due to week of date
    6000pcs due to week of date"

    Pretty much, if there is a drop in the shortage it should provide a comment showing the drop weither it be 1 less piece or the full amount, but if there is a rise it should not.

    that would be awesome which is what two codes ago did I believe right?

    I am sorry for all the headaches my friend.

    Fawkes
    Last edited by Fawkes_; 02-03-2017 at 04:58 PM.

  56. #56
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Quote Originally Posted by Arkadi View Post
    Ok ignore my last code post... some errors in there.
    So if shortage is 2000 then 4000 then 0 the comment would still say 2000 pcs due .... without noticing the 4000?
    If the shortage starts lower and goes up, then goes to zero this means the large number is what was received so it will reflect that in the comments.

  57. #57
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    I wanted to apologize for all the posts, I got confused on where we were in the conversation

    Just a note the last test set I submitted, there will never be two sheets in one report for this application we are working on, I just wanted you to have both easily accessible. so I but them together the report would be a single sheet always.

  58. #58
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Its getting a little confusing lol, but give this a try and let me know how it does:

    Please Login or Register  to view this content.

  59. #59
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Good morning Arkadi,

    The code looks amazing, works great on the first test sheet but on the second with the in transit portion I get and error 91. Not sure why thank you again for all of this


    This is the line on the debug, "Object Variable or with Block Variable not set"

    its in the in transit section

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by Fawkes_; 02-06-2017 at 12:30 PM.

  60. #60
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Oops... Ok, I set the range sdcheck just before the if statement (above your yellow line).... but if it is nothing, then I insert it... so we need to add a 3rd line inside that if SDCheck is Nothing, to set it to the new column... change this:

    Please Login or Register  to view this content.
    to include a new line like this:

    Please Login or Register  to view this content.

  61. #61
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    that did the trick, you are amazing as always. the sort at the end doesn't seem to be working anymore, I was looking at the code doesn't seem like anything changed.

  62. #62
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    You mean it is not sorting at all? Seems to work here... can you send over your version?
    Last edited by Arkadi; 02-06-2017 at 01:08 PM.

  63. #63
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    It seems to be sorting by the clear date and not the short date, also I can paste your code in here, im getting blocked by the site for some reason
    Last edited by Fawkes_; 02-06-2017 at 01:30 PM.

  64. #64
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    I lied, its not sorting at all, just looked like it because the dates for the incoming clears were in line oddly enough lol

  65. #65
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    fawkes, there are a number of replace statements, to post my code I had to highlight each instance of the word replace, and change the text colour... I used black so you can't tell.


    Using the book you gave me before, with the 2 sheets, and my last posted copy of the code, the sort is working.

  66. #66
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    But... yes the code is set to sort by the Clear Date.... you wanted the 1st short date column?

  67. #67
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Change the sort line at the end to this (if you want to sort by first short date column):

    Please Login or Register  to view this content.

  68. #68
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    thank you sir, you are exceptional.

    What is the best method you use to make an add in toolbar? I have seen a few out there.

  69. #69
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Lots of good ways, my preferred is to load or unload a menu whenever the workbook is activated/deactivated, so I have a macro to make or delete the menu, and then in the workbook events part (Double-Click "ThisWorkbook" in the vba editor) I put the activate/deactivate event which just calls the code:

    In normal module:

    Please Login or Register  to view this content.
    Then in the workbook events:
    Please Login or Register  to view this content.

  70. #70
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey Arkadi,

    If the system already has an Add-in menu from another macro will this conflict? I would like to keep the old bar and its macros working and add this one under it if possible.


    original menu
    New menu

  71. #71
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Yes this should add new one below the originals if I'm not mistaken.... they actually get loaded/unloaded when the workbook is activated, so you will only see this set of menus when "this book" is the open one. Most of our programs reset the bar each time the workbook closes, but I need to upgrade that because it means closing one workbook resets all the menu items. The method I posted above does not have this limitation. In fact in the workbook module I have the call for addmenu in the worksheet activate event just in case too

  72. #72
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    for some reason when I click the button for the selection for the macro from the command bar it targets the test WS we were using... like it tries to call it and open it... weird

  73. #73
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    What is the code for the menu? and the macro does still have Set WS = ActiveSheet right?

  74. #74
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Yes the macro is still using ws = activesheet

    and the code for my menu its this

    Please Login or Register  to view this content.

  75. #75
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    And FRT_Modification_v1 is the code we have been working on?
    I'm not sure why it would invoke that test sheet in any way...

  76. #76
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    I was able to play with it and it stopped, not sure what was tripping it up but its all cleared up now, You really were a life saver on this one. Thanks for all the work you did on this. You definitely have VBA on lock

  77. #77
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Lol... thanks Fawkes_, for the kind words and for the rep.
    If you are happy with the solution, please remember to mark the thread as solved?

  78. #78
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    I did have one question, the date for the comments is there a way to convert the date format to a MM/DD/YYYY in the comment?

  79. #79
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Also, for educational purposes, when you declare myShort as a string you use the line 1 to 10, 1 to 2

    This is building an array correct? does that limit the number of columns it saves to 10? I think the 1 to 2 is saving the qty and the date separately?

    I just want to make sure, I want to know how this is all done so I don't have to bother you all so often.

  80. #80
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Yes myShort is an array that contains strings, and yes, I didn't expect more than 10 changes in quantity so it can have 10 comment lines, each consisting of 2 elements, quantity and date (since we use the 2 parts to build each comment for a given line). So the 1 to 10 is not really columns, but decreases in quantity. If you expect more than 10 lines in the comments because the quantities will change more before reaching 0, then just increase the 10... it does no harm since the code is set to ignore the blank members of the array. I only did it that way because I was having problems using the redim command with a multi-dimensional array, usually I would just dynamically change the 1 to 10 to fit the circumstance.

    To format the dates the way you want, in the section that builds the message, change:

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.

  81. #81
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Format(new_array(7, 1), "mm/dd/yyyy") lol I just literally figured that out was coming here to post it like a kid on Christmas... but you beat me to it... you sir are > than me lol Thank you for all of the help once again, inbox me if there is anything I can do to thank you.

  82. #82
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Lol, well congrats on figuring it out on your own, never mind that I posted first, it is good you are learning
    Thanks for the offer, your kind words, rep, and the chance to be useful are thanks enough! (and marking the thread as solved when the issue is fully resolved of course).

    Happy coding, and I'm sure we'll talk again at some point

  83. #83
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    I would like that, you are an extremely helpful and knowledgeable professional.

  84. #84
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Professional? Lol this is just a volunteer site, but thanks

  85. #85
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Making a date range using start of week?

    Nice work Arkadi. I'm glad you took this one over - I would never have been able to do all of that!

  86. #86
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Lol "aardig" of you to say Aardigspook.... I suspect you know more than you admit... It did turn out to be a marathon eh!?
    It was fun to be honest.

  87. #87
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Sorry for the marathon, im working on testing some of the things you taught me but failing. already lol

  88. #88
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Making a date range using start of week?

    Fawkes pm me if you have issues using some of the things i used and ill explain.
    And dont apologize... I didnt complain

  89. #89
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Making a date range using start of week?

    Hey Arkadi,


    Here is the tread i made for the issue i was having, im trying to figure out how to make the variables the right way for the example i provided.

    http://www.excelforum.com/showthread.php?t=1173137

    Fawkes_

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Date based of week start
    By trosasco in forum Excel General
    Replies: 2
    Last Post: 10-14-2013, 02:36 PM
  2. [SOLVED] I want start date to be as Week 1
    By pamela16 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 04-23-2013, 08:19 AM
  3. Sheets for every week + start and ending date of the week
    By wimexcel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2012, 01:48 PM
  4. [SOLVED] Week Start and Week End date
    By mangesh in forum Excel General
    Replies: 2
    Last Post: 11-22-2012, 03:15 AM
  5. week start date and end date based on week number
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 12:39 PM
  6. Business Week Start Date
    By Rhapsodie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-08-2008, 06:15 PM
  7. Getting the date for the start of the week
    By JuzMe in forum Excel General
    Replies: 17
    Last Post: 06-05-2008, 05:34 AM
  8. Add start of new week date when new week starts
    By Maddoktor in forum Excel General
    Replies: 1
    Last Post: 06-03-2005, 11:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1