+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting with a custom formula help (Google Docs)

  1. #1
    Registered User
    Join Date
    06-11-2008
    Posts
    20

    Conditional Formatting with a custom formula help (Google Docs)

    I have two sheets.

    In Sheet1, in cells B5:P30, I have course ID numbers.

    In Sheet2, in column A, I have course ID numbers. In column B, I have 'Available' and 'Not Available'. These designate whether the course is offered.

    I want to conditionally format the course IDs in Sheet1 based on whether the course is offered according to Sheet2.

    Or, to put that more formally in Excel terms, I want to conditionally format B5:P30 in Sheet1 based on whether the value in column B of Sheet2 associated with the course number in column A of Sheet2 is 'Available' or 'Not Available'.

    I've tried this with a VLOOKUP, but haven't been able to get it to work -- I consistently get an error in the formula, but the formula works fine in the sheet away from the conditional formatting dialog. I've also tried with a third sheet listing Available and Not Available in their own columns and using a COUNTIF, but that similarly gave me unresolvable errors.

    One example I've tried is:

    =LOOKUP(B5,Sheet2!$A:$A,Sheet2!$B:$B)="Available"

    But that just says the formula has an error in it. The formula works fine outside the conditional formatting dialog, however.

    Any suggestions?
    Last edited by joynerCN; 05-01-2014 at 09:37 PM. Reason: Added example.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2407
    Posts
    25,804

    Re: Conditional Formatting with a custom formula help (Google Docs)

    Someone here may be able to help you but please note that Google Docs is not Excel, although it tries to emulate many Excel features, and this is an Excel forum.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    06-11-2008
    Posts
    20

    Re: Conditional Formatting with a custom formula help (Google Docs)

    Quote Originally Posted by 6StringJazzer View Post
    Someone here may be able to help you but please note that Google Docs is not Excel, although it tries to emulate many Excel features, and this is an Excel forum.
    Isn't Google Docs explicitly named in the title of this sub-forum? ("For Other Platforms(Mac, Google Docs, Mobile OS etc)")

  4. #4
    Registered User
    Join Date
    06-11-2008
    Posts
    20

    Re: Conditional Formatting with a custom formula help (Google Docs)

    After investigating further, it's become clear that both methods will work, but conditional formatting has difficulty looking at a different sheet. The formula works perfectly if the data is in the same sheet, but once I move it to a different one conditional formatting has trouble with the reference.

    Any suggestions on using a reference to another sheet in a conditional formatting custom formula?

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2407
    Posts
    25,804

    Re: Conditional Formatting with a custom formula help (Google Docs)

    Quote Originally Posted by joynerCN View Post
    Isn't Google Docs explicitly named in the title of this sub-forum? ("For Other Platforms(Mac, Google Docs, Mobile OS etc)")
    Indeed it is, a thousand apologies. I navigated here from the list of unanswered threads and hadn't noticed.

+ 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. Adding timestamp formula to drop down box on google docs
    By cmcefm in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 03-27-2014, 09:44 AM
  2. Adding timestamp formula to drop down box on google docs
    By cmcefm in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-27-2014, 09:44 AM
  3. pull certain data from google docs form-produced spreadsheet to other docs
    By MisterCadillac in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 03-11-2014, 04:49 AM
  4. Google Docs - Help with Lookup/Match Formula
    By livifivil in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 06-24-2013, 01:20 PM
  5. Google Docs
    By ianh in forum The Water Cooler
    Replies: 2
    Last Post: 06-11-2011, 02:11 PM

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