+ Reply to Thread
Results 1 to 10 of 10

Using a range of dates for placing one date in a certain cell

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Houma, Louisiana
    MS-Off Ver
    Excel 2007
    Posts
    1

    Wink Using a range of dates for placing one date in a certain cell

    Using a range of dates to place one date in a cell
    Happy Holidays Y'all! I am working on an spreadsheet using MS Excel 2007. One thing that I want to accomplish is the following:
    Use a range of dates to specify an exact date, of which I want the computer to automatically fill in for me in one field based on a date that I enter in a different field.

    For example, if I type in 11/16/2012 in cell A1, then I want cell A2 to show this date 11/30/2012. Why? Because I want the computer to recognize that if any of these dates 11/16/2012 through 11/30/2012 are typed into cell A1, then A2 needs to show 11/30/2012. If in cell A1, I type 12/02/2012, then I want cell A2 to show 12/15/2012 because dates 12/01/2012 through 12/15/2012 in A1 need to show 12/15/2012 in A2.

    Thanks in advance for your help. Also, this is my first time using Excel Forum.

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Using a range of dates for placing one date in a certain cell

    I am sure there is an easier way to do this, but for fun:

    =IF(DAY(A1)>15,EOMONTH(A1,0),DATE(YEAR(A1),MONTH(A1),15))

    - Moo

  3. #3
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Using a range of dates for placing one date in a certain cell

    Book1.xlsx
    even harder than that...

  4. #4
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Using a range of dates for placing one date in a certain cell

    Quote Originally Posted by Legend Rubber View Post
    even harder than that...
    @Legend - LOL, that made me chuckle. You are quite bored, aren't you?

    -Moo

  5. #5
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Using a range of dates for placing one date in a certain cell

    @Moo
    No, just not that great with formulas...
    Mainly i use IF AND OR and VBA... but VERY beginner.... but learner...

  6. #6
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Using a range of dates for placing one date in a certain cell

    @Moo
    How do you get 850 posts in the same time as i have got only 200 ??? No Fair...
    You must have too much time... or else your boses dont keep track of you good enough....

  7. #7
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Using a range of dates for placing one date in a certain cell

    Quote Originally Posted by Legend Rubber View Post
    @Moo
    How do you get 850 posts in the same time as i have got only 200 ??? No Fair...
    You must have too much time... or else your boses dont keep track of you good enough....
    @Legend - LOL... I must have ExcelForum separation anxiety issues or something.
    I definitely could have had more posts by now if I knew even the slightest bit of VBA.
    Just like you, I am a work in progress - always learning stuff on here.

    Also, just so you know, I wasn't poking fun at your solution above, it was the 'even harder than that' comment that I found amusing. All solutions can provide insight into different ways of attacking a problem.

    - Moo

  8. #8
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Using a range of dates for placing one date in a certain cell

    @Moo,
    Hey, i didnt take any offense at all...
    I am very impressed with your solution...
    In fact, i am adding to your rep...

  9. #9
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Using a range of dates for placing one date in a certain cell

    @Legend - Thanks, bud. Much appreciated. =)

    - Moo

  10. #10
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Using a range of dates for placing one date in a certain cell

    @ Moo
    No porblem, hit me back some time...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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