+ Reply to Thread
Results 1 to 13 of 13

format multiple cells if 2 cells have specific info

  1. #1
    Forum Contributor
    Join Date
    10-03-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    112

    format multiple cells if 2 cells have specific info

    I need to format (fill color) cells A-I if F and G have specific info

    i tried conditional formatting but it doesn't allow for all my requirements.

    So if cell F in any row has today's date (formatted at 7/16/2015) and cell G has "Awarded" then i need to highlight cells A thru I in that row.

    I do have over 100 rows for it to parse.

    I think something like this is what i am looking for but i am stuck on the actual function and where to put it.

    if(f3=TODAY() & G3="Awarded") then....

  2. #2
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: format multiple cells if 2 cells have specific info

    try:

    =AND(F1=ToDAY(),G1="Awarded")
    If I've helped U pls click on d *Add Reputation

  3. #3
    Forum Contributor
    Join Date
    10-03-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: format multiple cells if 2 cells have specific info

    but where do i put the formula and how do i tell it to color the cells A thru I

  4. #4
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: format multiple cells if 2 cells have specific info

    go to home > conditional formatting > New Rule
    under Rule Type select: Use a formula to determine which cells to format

    paste the formula: =AND(F3=TODAY(),G3="Awarded")

    in Format click Fill tab then choose the desired color

    In the Applies To field type $A:$I

    Let me know if it works.

  5. #5
    Forum Contributor
    Join Date
    10-03-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: format multiple cells if 2 cells have specific info

    ok it kinda worked... it formatted the dates in the f column but did not the rest of the row.... I need all cells in any row where F is today and G is Awarded. I have attached a screen shot.
    Attached Images Attached Images

  6. #6
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: format multiple cells if 2 cells have specific info

    can you delete all the other conditional format that applies to range A:I or click Stop if True beside the conditional format

  7. #7
    Forum Contributor
    Join Date
    10-03-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: format multiple cells if 2 cells have specific info

    the other formula that applies to F3 is deleted. However it is still not formatting all the cells in the rows where column f has today's date

  8. #8
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: format multiple cells if 2 cells have specific info

    the formatting will not apply because you have two conditions to satisfy.

    F is today G is Awarded.

  9. #9
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: format multiple cells if 2 cells have specific info

    and please make sure you have the right formula:

    =AND($F3=TODAY(),$G3="Awarded")

    I can see in your 1st conditional format that the formula refers to A1=Today()

  10. #10
    Forum Contributor
    Join Date
    10-03-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: format multiple cells if 2 cells have specific info

    well thats what i am trying to do is if those 2 conditions met then cells A through I are formatted. Can it be done?

  11. #11
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: format multiple cells if 2 cells have specific info

    Yes if you just copy paste the correct formula which is:

    =AND($F3=TODAY(),$G3="Awarded")

  12. #12
    Forum Contributor
    Join Date
    10-03-2012
    Location
    Las Vegas
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: format multiple cells if 2 cells have specific info

    it is actually this formula

    =AND($F1=TODAY(),$G1="Awarded")

    Notice the $ signs. Thanks for your help

  13. #13
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: format multiple cells if 2 cells have specific info

    You're welcome.

    Please mark this thread as Solved and adding a rep if you're satisfied with the solution.

    Thank you

+ 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] VBA to Remove Specific Text from Cells based on Secondary Tab Info
    By WhupTroy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-27-2015, 08:40 AM
  2. [SOLVED] Count non-blank cells and put info in a specific cell/sheet
    By LaserMan in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-13-2014, 02:00 PM
  3. Replies: 19
    Last Post: 02-26-2013, 01:45 PM
  4. Capturing Data from multiple cells to multiple tables and cells on specific dates
    By zero_eclipse in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-27-2012, 08:38 AM
  5. Search for info and copy found info to specific cells
    By Costas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-19-2010, 07:12 AM
  6. extract non-specific info from multiple cells
    By rossww in forum Excel General
    Replies: 3
    Last Post: 07-25-2006, 06:06 AM
  7. [SOLVED] extract specific info from cells in a column
    By Herman in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-26-2005, 10:05 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