Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4
Default Room Placement Grid

Hi,
I've been trying to chart colors into cells according to if a room
is occupied for a certain period according to the period of stay of a guest.
There is the worksheet which reperesents room numbers
vertically and the dates horizontally:

A B C D E
F G
1 Date 4-5-08 5-5-08 6-5-08
7-5-08 8-5-08 etc
2 Room No
3 101
4 102
5 103
etc

Then I have a table where I have the name of the guest, room number and
period of stay.(Arrival Date and Departure Date)

Room No. Name Arrival Date
Departure Date
101 Smith 4-5-08
7-5-08
103 Jones 6-5-08
8-5-08



When I open the worksheet I want it to go to the table looking at the period
of stay of the guests and to plot on the worksheet lets say a color which
represents the room which is occupied on those days, along with the name of
the guests.
A B C D E
F G
1 Date 4-5-08 5-5-08 6-5-08
7-5-08 8-5-08etc
2 Room No
3 101 Smith Smith Smith
Smith
4 102
5 103
Jones Jones Jones
etc

Of the above it would be simpler on the cells to represent a color lets say
from C3 to F3 with the name in the first cell C3.

Any help would be appreciated.
Thanks
Ange




  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 10,593
Default Room Placement Grid

Ange,

First create a named range to cover the room data in the four columns A-D
(InsertNameDefine.., Name of RoomData, Refersto of $A:$D)

Then, assuming that there are real dates in the grid in B3, C3 etc. (if not,
create the actual dates as format them as just d), use conditional
formatting.

Select the area of the grid to be highlighted, starting in B4
Menu FormatConditional Formatting
Change Condition 1 to Formula Is
Add this formula
=SUM(($A4=INDEX(RoomData,0,1))*(B$3=INDEX(RoomDat a,0,3))*(B$3<=INDEX(RoomData,0,4)))
Go to thePatterns tab
select a good colour
OK out

That should do it.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Ange Kappas" wrote in message
...
Hi,
I've been trying to chart colors into cells according to if a room
is occupied for a certain period according to the period of stay of a
guest.
There is the worksheet which reperesents room numbers
vertically and the dates horizontally:

A B C D E
F G
1 Date 4-5-08 5-5-08 6-5-08 7-5-08
8-5-08 etc
2 Room No
3 101
4 102
5 103
etc

Then I have a table where I have the name of the guest, room number and
period of stay.(Arrival Date and Departure Date)

Room No. Name Arrival Date Departure
Date
101 Smith 4-5-08 7-5-08
103 Jones 6-5-08 8-5-08



When I open the worksheet I want it to go to the table looking at the
period
of stay of the guests and to plot on the worksheet lets say a color which
represents the room which is occupied on those days, along with the name
of
the guests.
A B C D E F
G
1 Date 4-5-08 5-5-08 6-5-08 7-5-08
8-5-08etc
2 Room No
3 101 Smith Smith Smith
Smith
4 102
5 103 Jones Jones Jones
etc

Of the above it would be simpler on the cells to represent a color lets
say from C3 to F3 with the name in the first cell C3.

Any help would be appreciated.
Thanks
Ange






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Room Placement Grid Ange Kappas Excel Discussion (Misc queries) 0 January 28th 08 08:09 AM
Room Grid Placement Ange Kappas Charts and Charting in Excel 0 January 28th 08 07:32 AM
Excel 2007 - "Snap To Grid" doesn't work on same grid line rwhtx Excel Discussion (Misc queries) 0 November 14th 07 03:40 PM
Grid lines in Excel not showing.Have tools,options,view/grid cked bajlearning Excel Discussion (Misc queries) 6 January 28th 07 02:00 AM
I need to convert grid.doc to an Excel Grid. suavejohn Charts and Charting in Excel 0 September 1st 05 06:26 PM


All times are GMT +1. The time now is 05:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"