+ Reply to Thread
Results 1 to 2 of 2

Wanting to create conditional formatting that is not Cell related.

Hybrid View

  1. #1
    Registered User
    Join Date
    04-12-2014
    Location
    Port Elizabeth, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    1

    Exclamation Wanting to create conditional formatting that is not Cell related.

    I'm hoping that I can get some help regarding this little problem I'm having. It's not so much a problem as what it is tedious.

    Sheet1 handles stock that has been sent to a customer on delivery notes, which I fill then in green to highlight the information and when I receive purchase orders, I fill in the Invoice and Purchase order numbers on this sheet and remove the color fill. The entries not invoiced is copied to Sheet2 with only the values pasted and the information is then copied to a new file, saved under a new name and emailed to four different people. Data is added on constantly and the information CANNOT be cell dependent.

    I've only recently been starting to learn about macros and it's power, but I don't know how to implement something that can speed up my daily grind.

    In general, I want to do the following:

    On Sheet1
    1. As soon as I have finished entering all the details I needed to enter, I would like the row to have a dark green fill.
    2. When I've entered the Invoice number and Purchase Order Number, then the fills must automatically be removed.

    On Sheet2
    1. The details with the Dark Green Fill must be shown here with only the values represented.
    2. When I enter the invoice and Purchase order number, the corresponding data must then be deleted and the remaining cell contents must then shift up.
    3. I will then have this sheet exported to a new workbook, saved under a new name and then sent to four different people.

    Am I saddling up a too high horse? My knowledge with VB and Macros are VERY limited, although I understand the premise.

    Any help and would be appreciated..

    With Thanks

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,273

    Re: Wanting to create conditional formatting that is not Cell related.

    You are incorrect that CF will not work - just use CF with the formula option.

    You give no meaningful details, so I will assume that the details are entered on Sheet1 in columns A:H, and I and J have the Inv. and PO #s. Format those cells for the non-green shade that you want.

    Then Select A:H of, say, row 2 and apply CF. Use the formula

    =AND(OR($I2="",$J2=""),COUNTA($A2:$H2)=8)

    and choose the green shade you want. Then copy A2:J2 and paste the formatting to the other rows.

    What you want on sheet2 will require a macro, but you don't give enough details to allow even a stab at the correct code.
    Bernie Deitrick
    Excel MVP 2000-2010

+ 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. [SOLVED] Date Related Conditional Formatting
    By MB6039 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2013, 01:15 PM
  2. How to use VBA to create two warning messages related to one cell
    By Ledmac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2013, 05:37 PM
  3. Replies: 6
    Last Post: 07-02-2013, 10:29 AM
  4. Excel 2007 : Date related Conditional Formatting
    By scott41 in forum Excel General
    Replies: 0
    Last Post: 05-07-2011, 02:28 PM
  5. Replies: 1
    Last Post: 09-30-2010, 01:28 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