+ Reply to Thread
Results 1 to 4 of 4

How to conditionally format/adjust adjacent cells based on text in specific cells.

  1. #1
    Registered User
    Join Date
    07-19-2021
    Location
    Washington, USA
    MS-Off Ver
    New?
    Posts
    3

    How to conditionally format/adjust adjacent cells based on text in specific cells.

    m trying to set up a calendar that autofills dates based on what items are due on that date. (Ex 9/12/21 would fill with items that are scheduled to be completed on that date) My current code is as follows

    =IF(ISERROR(INDEX($AC$1:$AD$92,SMALL(IF($AC$1:$AC$92=$F$35,ROW($AC$1:$AC$92)),ROW(3:3)),2)),"",INDEX($AC$1:$AD$92,SMALL(IF($AC$1:$AD$92=$F$35,ROW($AC$1:$AC$92)),ROW(3:3)),2))
    The index is pulling from a array populated by the following code

    ='ACTIVE-Unit Turns Needed'!AD5&IF('ACTIVE-Unit Turns Needed'!O5>0,"(" &'ACTIVE-Unit Turns Needed'!O5&" Days)",)
    As you can see, I'm getting the days needed from a date as well(If the due date is 7/17, but it will take 5 days, this would be appended). The calendar works great as is, but if possible, I'd like to set it up so that these items are pulled across the table(an item due on 7/17 that takes 5 days would actually be listed across 7/13-7/17, those 5 days). I'm worried about overlap, and about getting across weekends. I know it's an ambitious project, but any help would be great. In the mean time, I'll continue messing with it myself :^).

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: How to conditionally format/adjust adjacent cells based on text in specific cells.

    Please upload a workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.

    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-19-2021
    Location
    Washington, USA
    MS-Off Ver
    New?
    Posts
    3

    Re: How to conditionally format/adjust adjacent cells based on text in specific cells.

    Here you go! Not the tidiest as I am still experimenting with it.
    Attached Files Attached Files

  4. #4
    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,917

    Re: How to conditionally format/adjust adjacent cells based on text in specific cells.

    If you want help with an excel file, upload an excel file (as requested), not a csv file, please
    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

+ 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: 3
    Last Post: 01-24-2021, 11:33 AM
  2. [SOLVED] Conditionally format certain cells based on a specific rule (formula maybe)
    By q988988 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-27-2020, 01:51 AM
  3. [SOLVED] Filling blank cells in 2 cols based on specific text in adjacent column
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-07-2019, 10:24 AM
  4. Replies: 3
    Last Post: 06-28-2018, 11:20 PM
  5. Conditionally format adjacent Cells - if less than zero
    By rhiakatkat in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-26-2018, 03:31 PM
  6. [SOLVED] How to conditionally format cells if other cells contain specific text
    By ImranBhatti in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2016, 02:52 PM
  7. Replies: 1
    Last Post: 01-20-2016, 08:56 AM

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