+ Reply to Thread
Results 1 to 5 of 5

Filling rows according to cell values & deleting rows with no values

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    25

    Filling rows according to cell values & deleting rows with no values

    I have inherited a spreadsheet with over 800 rows (and daily expanding) and 14 columns of data. It is quite unwieldy and I need some help fixing it up. I've attached a sheet that looks similar, with only 200 rows for reference. Here are my questions:

    1. How can I delete all rows that contain no values?
    2. I want to fill an entire row of data yellow if the values in the final two cells (L&M) in the row are equal, and red if they aren't. How can I do that?
    3. Column A contains only dates, from oldest to newest. I'd like an obvious visual clue for when the months change. Currently it's a long, merged, blue-filled cell that says "March 2011", for instance. It can't be color because all cells need to be filled based on certain criteria (see #2), and borders aren't obvious enough. Any other ideas?
    4. I want to click on the row number on the very right, but have it select only columns A-M, is that possible?

    I'm also having trouble with autofill. It seems to only work on parts of the spreadsheet. I don't know what settings may have been changed, but I do have autocomplete turned on, and no clue what to do despite hours of googling.

    Thanks a lot for your input!
    Attached Files Attached Files
    Last edited by auslegung; 01-25-2013 at 05:38 PM. Reason: Changed title

  2. #2
    Valued Forum Contributor
    Join Date
    07-27-2012
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    826

    Re: Several Qs, possibly advanced

    auslegung, welcome to the forum.

    Can you please take a moment to familiarize yourself with the forum rules: http://www.excelforum.com/forum-rule...rum-rules.html

    and specifically Rule 1, which concerns thread titles:

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more days have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.
    Brendan.


    __________________________________________________________________________________________________
    Things to consider:

    1) You can thank any poster by clicking the * at the left of a helpful post.
    2) You can help to keep the forum tidy by marking your thread as "Solved", if it has been answered to your satisfaction.
    3) Help us to help you, by uploading a sample workbook, showing the type of data you're dealing with, and clearly indicating what the results should be.

  3. #3
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Several Qs, possibly advanced

    1. filter the sheet by selecting columns A:M --> click filter --> then filter all except the "blanks" and delete the lines

    2. select the whole data set --> go to conditional formatting -->new rule based on a formula =L1=M1 (make sure activecell is the upper left cell of the selection), change the settings to the fill desired
    make a new rule for if they are not equal =L1<>M1, change the settings to the fill desired

    3. conditional formatting --> you will need one rule for each month --> based on a formula =month(A:A)=1, then format one color, or text color
    I would suggest adding a column to the left of col A that has the month written out or with the month number instead, it's less work and easier to sort in the future

    4. there are no row numbers on the right, you could add one in column N with a button, but you should also have a macro that will select the desired cells



    autofill only works during the session, then it won't work until the next session of data entry (I think, based on my experience)

    also, why not use a table instead of this style of spread sheet? a table gives you a bit more versatility, but it's your call

  4. #4
    Registered User
    Join Date
    01-25-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Several Qs, possibly advanced

    scott.s.fower,

    Thanks for the speedy and complete reply! A few things aren't working correctly, I'm not sure what's going on.

    For #2, I select columns A-M, do the conditional formatting, but it highlights columns C-M, then applies the conditional highlighting to only columns A-B. What have I done wrong?

    For #3, thanks for the ideas, I think what I'd like is an incredibly thick top border at the top of the first date in a month. Is there any way to do that?

    For #4 I meant the row number on the very left. Essentially, I want to select a row, but for the selection to stop at column M

    #1 worked exactly as I was needing, thanks again!

  5. #5
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Filling rows according to cell values & deleting rows with no values

    2. i'm not sure, are there any merged cells? also make sure you select cell a1 before doing it

    3. you should just do that manually

    4. again you would have to do that with VBA, sorry

+ 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