Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

conditional format, if statement for date range/gannt display

Posted on 2014-01-21
1
Medium Priority
?
251 Views
Last Modified: 2014-01-22
folks

I have an excel sheet with a start and end date column(cell b2/c2),

i.e.

10/1/14 and 20/1/14

i would like colums c to az have the weeknumbers as headings

if within the range from columns d to az the start and finish dates are >= start date and <=
end date then can we highlight the respective rows so it gives us a gantt type view as in  a project plan?

keen for your thoughts                                    


see sample attached
gannt.xlsx
0
Comment
Question by:rutgermons
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 29

Accepted Solution

by:
IrogSinta earned 2000 total points
ID: 39798775
See if this is what you want.  I added conditional formatting using this formula starting from column D.

=AND(D$1>=WEEKNUM($B1),D$1<=WEEKNUM($C1))

Ron
gannt.xlsx
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question