Gannt Chart not executing with cells containing vlookup data

KarbonEnk

New Member
Joined
Jan 2, 2013
Messages
9
Excel v.2010 | OS Windows 7

Problem: The gannt chart being produced with conditional formatting doesn't execute with cells that have vlook up data. I'm comparing a start time and an End time. The conditional formatting works when you type in the time directly into the cell.

Files:
Description File - This is the file that I want all the data to be displayed in (In the leader's box, the information is being pulled from vlookup
In the Cashwrap box, the times are typed in directly to show that the gannt chart works)

Lookup Value - This file contains the names that I am looking up

Lookup Data - This file contains the table that I am pulling into the description file.

I hope my issue is clear but if not, let me know and I can elaborate further. Thanks in advance Excel Team.

Google
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi and welcome to MrExcel.

I guess the reason why you haven't received a reply is because you haven't provided and sample data, the formula you are using for your Conditional Formatting or your Vlookup formula. I'm sure if you provide this information then someone will provide you with the answer you require.

Ak
 
Upvote 0
Smith, John7:00 am12:00pm8:00am9:00am - 10:00am

<tbody>
</tbody>


Above: Look up data

Smith, John

<tbody>
</tbody>


Above: Value looking up

name
start
end
break
lunch
7am
7:15am
7:30am
7:45am
8:00am
8:15am
8:30am
8:45am
9:00am
9:15am
9:30am
9:45am
10:00am
10:15am
10:30am
Smith, John
7:00 am
12:00pm
8:00am
9:00am -10:00 am
x
x
x
x

x
x
x





x
x

<tbody>
</tbody>





Vlookup Formula:
Code:
=IFERROR(VLOOKUP([Athlete_Roster.xlsx]Departments'!$B12,'[1-06-13.xlsx]Sheet1'!$A$7:$BQ$94,1,FALSE),"")
Formating Formula:
Code:
=AND(F$21>=$B22,G$21<=$C22)

I can get the gannt chart to work by adding a zero at the end of the start time field but I don't know how to display the lunch field in the gannt chart
 
Last edited:
Upvote 0
Hi,

I'm not sure if this is the solution you require.

Sample data.....

Excel Workbook
ABCDEF
1NameStartEndBreakLunch
2Smith. John07:0012:0008:0009:00 am - 10:00 am
3Smith, Jon07:0012:0008:0009:00 am - 10:00 am
4Smith John07:0012:0008:0009:00 am - 10:00 am
5Smith, John07:0012:0008:0009:00 am - 10:00 am
6Smith. Jon07:0012:0008:0009:00 am - 10:00 am
7
Sheet1


Sample Vlookup result.....

Excel Workbook
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1NameStartEndBreakLunch7:007:157:307:458:008:158:308:459:009:159:309:4510:0010:1510:3010:4511:0011:1511:3011:4512:00
2Smith, John7:00 AM12:00 PM8:00 AM09:00 am - 10:00 amxxxxxxxxxxxxxxx
3
Sheet2



The formula in B2 needs copying across to E2 and the formula in F2 needs copying across.
The numbers in F1:Z1 have been entered as time using the formatting of h:mm.
I have entered the Lunch time as....
09:00 am - 10:00 am
instead of.....
9:00am - 10:00am

Conditional Formatting formula....
=F2=""

I hope this helps.

Ak
 
Upvote 0

Forum statistics

Threads
1,215,516
Messages
6,125,284
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top