+ Reply to Thread
Results 1 to 6 of 6

conditional formatting between worksheets

  1. #1
    Registered User
    Join Date
    07-20-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    67

    conditional formatting between worksheets

    I have a holiday tracker and i want a summary sheet on the first page and then the employees on each tab. the layouts are all the same and this is the formula in the employee section:

    COUNTIFS($A$42:$A$61,"<+"&F6,$B$42:$B$61,">="&F6)

    I want this formula to work on the summary tab as well but take the dates from the worksheet labelled Tom. i have tried adding TOM! inbto the formula, but it keeps saying that i cannot use condtional formatting between worksheets.

    I have attached my spreadsheet.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: conditional formatting between worksheets

    Give the Holidays Date To range a name, for example, TomTo. You've already given a range name to Holidays Date From range (Tom).

    Then use those range names in your conditional formatting:

    Please Login or Register  to view this content.

    Regards

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: conditional formatting between worksheets

    Use named ranges rather than cell references.

    =COUNTIFS(DATEFROM,"<="&F6,DATETO,">="&F6)

    Where DATEFROM: =TOM!$A$42:$A$61
    DATETO: =TOM!$B$42:$B$61
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    07-20-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    67

    Re: conditional formatting between worksheets

    hi guys,

    i have tried this. i have named the ranges and used the formula on the summary page, but only the Tom link works and it doesnt on the new pages i have added.see if you can spot where i am going wrong.

    the range on the summary page is F6:F37 TO AB6:AB37

    the formula i am using is

    =COUNTIFS(TOM,"<="&F6,TOMTO,">="&F6) to make it red
    =COUNTIFS(****,"<="&F6,DICKTO,">="&F6) to make it blue
    =COUNTIFS(SALLY,"<="&F6,SALLYTO,">="&F6) to make it purple

    I have named all the ranges on each of their page.

  5. #5
    Registered User
    Join Date
    07-20-2010
    Location
    london, england
    MS-Off Ver
    Excel 2007
    Posts
    67

    Re: conditional formatting between worksheets

    Sorry guys its working now!! Thanks for all your help!!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: conditional formatting between worksheets

    That's good news. Thanks for the feedback. What did you do to make it work?

    Can you mark your post as "solved"?

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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