+ Reply to Thread
Results 1 to 5 of 5

(SOLVED) Highlight a range of cells until every cell in that range contains data

  1. #1
    Registered User
    Join Date
    05-03-2017
    Location
    Rijen, Netherlands
    MS-Off Ver
    2011
    Posts
    11

    (SOLVED) Highlight a range of cells until every cell in that range contains data

    I try achieve, with conditional formatting, to highlight (background color) a range of cells until every cell in that particular range is filled with data.
    For example the cells a1:d1 should contain data, when so...the background of these cells should turn green for example.
    Is that possible with conditional formatting?
    Last edited by rvfotopro; 05-13-2017 at 04:59 PM.

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Highlight a range of cells (horizontal) until every cell in that range contains data

    Yes possible. But what type of data in "a1:d1"
    Suppose data is a,b,c,d
    >Select range "A1 to "D1"
    >Click on "conditional format > new rule
    >select "use a formula determinewhich cell to format"
    >In "Format values where this formula true"
    >Enter formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    >Click on "Format" > select color > click "OK" > "ok" >"Apply" > "Ok"
    Same process for "B1", "C1", "D1"


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    05-03-2017
    Location
    Rijen, Netherlands
    MS-Off Ver
    2011
    Posts
    11

    Re: Highlight a range of cells (horizontal) until every cell in that range contains data

    Thanks, this works if the data is known, however de data varies and are alle different. I just want them to be NOT EMPTY all at once. So, non of the cells are to be allowed left blank. In my case, the will get only a green light if ALL the cells are filled. The data itself is not known yet.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Highlight a range of cells (horizontal) until every cell in that range contains data

    Try

    =A1<>""

  5. #5
    Registered User
    Join Date
    05-03-2017
    Location
    Rijen, Netherlands
    MS-Off Ver
    2011
    Posts
    11

    (SOLVED) Highlight a range of cells until every cell in that range contains data

    That works only for one cell. I need it to be working for all cels at the same time. I doesn't work but I would think off =AND(A1<>"";B1<>"";C1<>"";d1<>"")........

    YES... I have got it.... forgot the "$"

    =AND($A1<>"";$B1<>"";$C1<>"";$D1<>"")
    Works fine now!

+ 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. Replies: 4
    Last Post: 04-12-2015, 02:47 AM
  2. Highlight cell range if 1 particular cell in range contains data
    By oliver1712 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-27-2015, 12:57 PM
  3. Highlight one cell based on a range of cells
    By claire_wilson in forum Excel General
    Replies: 3
    Last Post: 12-16-2014, 07:15 PM
  4. [SOLVED] macro to compare a range with a standard range and highlight cells, when not matched
    By excelhelpseeker in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-27-2014, 12:46 PM
  5. [SOLVED] UDF concatenate randomly chosen cells from range (Horizontal Range)
    By cheesefry in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2014, 03:54 AM
  6. Highlight or colour a cell or cells based on cells in another range.
    By baffld in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-30-2012, 08:41 PM
  7. [SOLVED] Highlight range of cells - run macro - select last cell in range
    By chromachem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2012, 11:46 AM

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