Closed Thread
Results 1 to 22 of 22

conditional formatting based on weekly target

  1. #1
    Forum Contributor
    Join Date
    07-15-2015
    Location
    Kolkata
    MS-Off Ver
    2010 & 2013
    Posts
    303

    conditional formatting based on weekly target

    I want to make conditional formatting based on weekly target. can any one help me on it
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: conditional formatting based on weekly target

    Hello
    1. Firstly, select cells G5:CA9 in the worksheet.
    2. On the Home Ribbon, click Conditional Formatting>New Rule
    3. Click 'Use a formula to determine which cells to format'.
    4. In the formula box, type =G5>= G$1
    5. Click Format>Fill
    6. Click the Green Icon >OK>OK.
    7. Repeat steps 2-6 typing the formula = G5<G$1, and selecting the Red Icon.
    8. Finished

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

    Re: conditional formatting based on weekly target

    Look attach file.
    Firstly clear all "CF" in entier sheet.
    Select "G5:G24
    >Go to CF > Manage Rules > New Rule
    >Select "Use a formula to determine which cells to format"
    >enter formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    >Go to Format & select Green > click "ok"
    >"click again "ok"
    >Clcik "apply" & "ok"
    Same process for Less than only formula change to
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For Red color
    In another column same process.
    Attached Files Attached Files


    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".

  4. #4
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: conditional formatting based on weekly target

    @avk
    Why not select the whole block instead of just G5:G24?
    Also remove = from second formula

  5. #5
    Forum Contributor
    Join Date
    07-15-2015
    Location
    Kolkata
    MS-Off Ver
    2010 & 2013
    Posts
    303

    Re: conditional formatting based on weekly target

    Thanks you so much.

    I need one more help on conditional formatting. i want to highlight the cells by conditional formatting based on Start date and end date. please help me?
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: conditional formatting based on weekly target

    Try this for the rule...
    =AND(O$7>=$G8,O$7<=$H8)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: conditional formatting based on weekly target

    Dear Hercules : Range G5:G24 : Just for one example. Other column CF by own.

    Dear Sanjibghosh : You mentioned Start date and end date. But this information not completed.
    Kindly confirm In which columns you need CF. (where to apply CF)
    What is criteria (against which Target)

  8. #8
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: conditional formatting based on weekly target

    Quote Originally Posted by avk View Post
    Dear Hercules : Range G5:G24 : Just for one example.
    I understand that, but my point was that if you select the whole block (from G to CA) that is one conditional format to define instead of a separate format for each column

  9. #9
    Forum Contributor
    Join Date
    07-15-2015
    Location
    Kolkata
    MS-Off Ver
    2010 & 2013
    Posts
    303

    Re: conditional formatting based on weekly target

    Thanks you so much.

    Now, I want to add one more conditional formatting. If "Man Days Req (Based on current trand)" date is more than "End Date" then the date cells are red.
    I have marked manually in the excel file for example see cell "BG9:BW9". please help me?
    Attached Files Attached Files

  10. #10
    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,147

    Re: conditional formatting based on weekly target

    None of the cells in BG onward are coloured RED:

    Are you saying that for example in row 9, dates from 1st June to 23rd June are RED i.e dates after "End Date" up to "Man Days Req (Based on current trend)" ?

    If the above

    CF formula

    Select P8

    =AND(P$7>$H8,$I8>$H8,P$7<=$I8)

    Applies to:

    =$P$8:$CB$100
    Attached Files Attached Files
    Last edited by JohnTopley; 04-16-2017 at 06:58 AM.

  11. #11
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: conditional formatting based on weekly target

    Quote Originally Posted by JohnTopley View Post
    None of the cells in BG onward are coloured RED:
    @John
    I think the OP meant PINK (Grill Pattern)

  12. #12
    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,147

    Re: conditional formatting based on weekly target

    ... if my logic is correct, then we can easily change the "fill".

  13. #13
    Forum Contributor
    Join Date
    07-15-2015
    Location
    Kolkata
    MS-Off Ver
    2010 & 2013
    Posts
    303

    Re: conditional formatting based on weekly target

    Hi,

    i want to calculate how many resources are allocated on today basis based on project name. The no. of resource calculate from B column in "Resource Allocation" sheet and the count shows in "Account Status" sheet under column L
    Attached Files Attached Files

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,403

    Re: conditional formatting based on weekly target

    Entered as an array formula (CTRL+SHIFT+ENTER):

    =SUM(IF('Resource Allocation'!$C$2:$CB$2=TODAY(),IF('Resource Allocation'!$C$3:$CB$30='Account Status'!$B8,'Resource Allocation'!$B$3:$B$23)))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  15. #15
    Forum Contributor
    Join Date
    07-15-2015
    Location
    Kolkata
    MS-Off Ver
    2010 & 2013
    Posts
    303

    Re: conditional formatting based on weekly target

    Thank you so much

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,403

    Re: conditional formatting based on weekly target

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Any further queries not directly related to conditional formatting should be made in a new thread. Thanks!

  17. #17
    Forum Contributor
    Join Date
    07-15-2015
    Location
    Kolkata
    MS-Off Ver
    2010 & 2013
    Posts
    303

    Re: conditional formatting based on weekly target

    If "Man Days Req (Based on current trand)" date is less than "End Date" then the date cells are Green .

    For example Row 8 : "U8:AX8" cells are green

    Please let me know the formula for conditional formatting.
    Attached Files Attached Files

  18. #18
    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,147

    Re: conditional formatting based on weekly target

    You should be able to work this out yourself given the number of previous examples given to you

    try

    =$R8<$H8

  19. #19
    Forum Contributor
    Join Date
    07-15-2015
    Location
    Kolkata
    MS-Off Ver
    2010 & 2013
    Posts
    303

    Re: conditional formatting based on weekly target

    Hi JohnTopley,

    I have done it as you said but its not working. Can you do it in the file? It will help me a lot

  20. #20
    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,147

    Re: conditional formatting based on weekly target

    See the attached.

    You need to check the "Applies to" is set to the required range.
    Attached Files Attached Files

  21. #21
    Forum Contributor
    Join Date
    07-15-2015
    Location
    Kolkata
    MS-Off Ver
    2010 & 2013
    Posts
    303

    Re: conditional formatting based on weekly target

    Hi,

    Now, i am facing very difficult challenges. I want to update the project name in "Resource Allocation" sheet based on "Ideal Campaign Complete Date" from "Account Status" sheet. There is any way to update automatically.

    For example i have updated manually in "Resource Allocation" for project name "Red Hat_TQL"
    Attached Files Attached Files

  22. #22
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,403

    Re: conditional formatting based on weekly target

    This has now moved a long way away from the original purpose of the thread and has nothing to do with its title. I asked you in post #16 to start a new thread on any subsequent new issue - you have ignored this request.

    Please start a new thread with an appropriate title.

    Thread closed.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Conditional formatting Red, Amber, Green, based on a target date
    By JimFiggs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-30-2021, 04:47 PM
  2. Need conditional formatting to repeat on a weekly basis
    By kimteets in forum Excel General
    Replies: 1
    Last Post: 02-17-2017, 04:22 PM
  3. Conditional Formatting - Percentage of Target
    By Barrera006 in forum Excel General
    Replies: 4
    Last Post: 12-21-2015, 04:57 PM
  4. [SOLVED] Multiple Range Target Conditional Formatting in VBA
    By jedemeyer1 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-09-2015, 05:30 AM
  5. RAG Status based on OLD / New Target (Conditional Formatting)
    By batchy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2014, 11:45 AM
  6. Conditional formatting in relation to a target
    By zawadzki in forum Excel General
    Replies: 0
    Last Post: 11-15-2011, 03:29 PM
  7. Conditional formatting in relation to a target
    By zawadzki in forum Excel General
    Replies: 15
    Last Post: 09-29-2011, 04:07 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