+ Reply to Thread
Results 1 to 8 of 8

Compartmentalising each cell in "X" no of parts and formatting it conditionally.!

Hybrid View

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,522

    Compartmentalising each cell in "X" no of parts and formatting it conditionally.!

    Compartmentalising each cell in "X" no of parts and formatting it conditionally.!

    I am making a small application which shows various Activities/Processes involved in any project Vs Timeframe..

    In this application the aim is to correctly colour the Columns for each Activity falling in the particular dates which are the Column Headings.

    Now, is it possible to divide each cell into 7 equal parts and arrange the colour formatting in the respective block..

    For Ex: Let say the Activity : ->
    Feasibilty Study starts on 10-Jan-10 and ends on 21-Jan-10
    and the Date Column Heading Starts from 8-Jan-2010 and 15-Jan-2010
    Now, this entire Acitvity is spread in these two columns however if we look carefully it should be shown as 5 filled blocks of space in the 8-Jan-2010 and remaining 7 block of space in the next column in 15-Jan-2010...
    Attached Files Attached Files
    Last edited by e4excel; 04-05-2010 at 06:42 AM.

  2. #2
    Valued Forum Contributor tony h's Avatar
    Join Date
    03-14-2005
    Location
    England: London and Lincolnshire
    Posts
    1,187

    Re: Compartmentalising each cell in "X" no of parts and formatting it conditionally.!

    instead of dividing one column into seven, take seven columns and merge the headers into one.


    click on the * Add Reputation if this was useful or entertaining.

  3. #3
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,522

    Re: Compartmentalising each cell in "X" no of parts and formatting it conditionally.!

    Tony,

    I had this obvious thing in my mind too, however the problem is that the list of Activities is always going to Expand as well as the Time Taken would also be on the longer side and keeping that in mind it would become quite cumbersome to merge the headers for infinite columns and it would not be simple to drag from left to right..

    I would appreciate if some one could help with the arrangement of the filled spaces in the correct slots like in the example 10th Jan should be filled after keeping two spaces blank and the entire next column as it occupies all the spaces in the next column however if there was a date less than correspondinly it should have a blank space on the right..
    Last edited by e4excel; 04-04-2010 at 09:01 AM.

  4. #4
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,522

    Re: Compartmentalising each cell in "X" no of parts and formatting it conditionally.!

    Bump No response

  5. #5
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Compartmentalising each cell in "X" no of parts and formatting it conditionally.!

    Have a look if this gives you the results you're looking for.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,522

    Re: Compartmentalising each cell in "X" no of parts and formatting it conditionally.!

    Quote Originally Posted by WHER View Post
    Have a look if this gives you the results you're looking for.
    Dear WHER,

    This is an UNDERSTATEMENT if you really are asking me if it works

    It does and pretty well and thanks a lot man its too good to be true I had almost given hope on this...

    Its really amazing..

    Can you please explain the code if you dont mind spending some time.

    I am just amazed its been ages that I have worked on such a long "IF" condition...

    Warm Regards.
    e4excel

    Just incase, Is it possible to have different colours for each row as shown in the Activities to make it really different and unique combining your fantastic logic?


    Its ok if you the above is not possible but just thought of checking from you...?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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