+ Reply to Thread
Results 1 to 6 of 6

Formatting Dates on Spreadsheet

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    Mesa, Arizona
    MS-Off Ver
    Excel 2010
    Posts
    7

    Formatting Dates on Spreadsheet

    Hello,

    I am a beginner Excel user and I am running into some issues. Basically, I want to box F6 to highlight if it overlaps with F4 or F5. Box F5 and F6 are both going to be dates that are manually entered in by the user.

    It would be great if it can be set up to where F6 turns red if it overlaps with either F4 or F5. It would also be great if F6 turns green if there is no overlap with either box.

    Again, I have no idea how to approach this. I have been reading in the forums and I can't find anything that points me in the right direction. If anyone out there is willing to help a beginner, I would appreciate it.

    Cheers

  2. #2
    Registered User
    Join Date
    02-06-2014
    Location
    Mesa, Arizona
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Formatting Dates on Spreadsheet

    I don't think my attachment is showing. Hopefully, this works.
    Attached Files Attached Files

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Formatting Dates on Spreadsheet

    Assuming F4 contains earliest date and F5 latest date:
    Highlight F6, goto Conditional Formatting, Use Formula,
    =AND(F6<=F5,F6>=F4)
    Format, Fill, select a shade of red,Ok,Ok
    Conditional Formatting, Use Formula,
    =OR(F6>F5,F6<F4)
    Format, Fill, select a shade of green,Ok,Ok
    If the earliest date is F5 and latest date is F4, then:
    =AND(F6>=F5,F6<=F4)
    =OR(F6<F5,F6>F4)

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Formatting Dates on Spreadsheet

    As your sample has no date in F5, or sample of expected output in this case, I stand by Post #3

  5. #5
    Registered User
    Join Date
    02-06-2014
    Location
    Mesa, Arizona
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Formatting Dates on Spreadsheet

    Thank you for the help! I was able to play around with the formatting until I got it to do what I wanted. Thanks again, will rep!
    Attached Files Attached Files

  6. #6
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Formatting Dates on Spreadsheet

    You are welcome, and Thank You !

+ 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. Conditional Formatting with approaching due dates and completed dates
    By rogernation in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-13-2013, 04:12 PM
  2. Replies: 2
    Last Post: 11-26-2013, 11:04 AM
  3. Replies: 4
    Last Post: 08-29-2013, 11:23 AM
  4. [SOLVED] Conditional Formatting of: dates within 1 month and dates before today.
    By Luke Smith in forum Excel General
    Replies: 5
    Last Post: 06-18-2013, 07:29 AM
  5. Formatting dates between two dates in a list
    By dancing-shadow in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-06-2013, 05:41 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