#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Logical

This is what I want to know..
cell B1 & C1 is the cell to enter the duties of two staffs (namely X & Y).
B1 is for staff X, C1 is for staff Y. staff can chose any one of duty in B1
& C1 frm a dropdownlist of 10 different duties(like "Break shift", "10 - 6
PM", "10 - 2 PM"..and so on)..

We have another cell D1 E1 & F1 where we enter the staff strength in the
shop on three intervals of time (say 10 - 2PM, 2 - 6PM, & 6 - 10PM)
Assume D1 cell to show the staffs present in the shop during time interval
10 - 2PM, E1 for 2 - 6PM & F1 for 6 - 10PM.

Now for eg, staff X chose her duty as Break Shift in cell B1(assume cell B1
as Jan 1, B2 as Jan 2 and so on), now we enter in D1 & F1 digit 1. & the
other staff chose 2 -10pm duty in C1 now the staff strenght cells are as
follows...

D1 shows 1, E1 shows 1 &F1 shows 2... This is entered manually now checking
the staff duty.. Is it possible to automate it.. When the staff's select
their duty the staff strength column in the particular day must show up the
number of staffs as per the duty automatically.. Pls help me

rgds,
--

--
Life isa journey not a destination
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Logical

When you say staff X or Y, are you referring to one employee or a group of
employees? How many employees is D1/E1/F1 trying to add up?
--
-Kaman
The IT dept people call before they call the real IT dept.


"Sherees" wrote:

This is what I want to know..
cell B1 & C1 is the cell to enter the duties of two staffs (namely X & Y).
B1 is for staff X, C1 is for staff Y. staff can chose any one of duty in B1
& C1 frm a dropdownlist of 10 different duties(like "Break shift", "10 - 6
PM", "10 - 2 PM"..and so on)..

We have another cell D1 E1 & F1 where we enter the staff strength in the
shop on three intervals of time (say 10 - 2PM, 2 - 6PM, & 6 - 10PM)
Assume D1 cell to show the staffs present in the shop during time interval
10 - 2PM, E1 for 2 - 6PM & F1 for 6 - 10PM.

Now for eg, staff X chose her duty as Break Shift in cell B1(assume cell B1
as Jan 1, B2 as Jan 2 and so on), now we enter in D1 & F1 digit 1. & the
other staff chose 2 -10pm duty in C1 now the staff strenght cells are as
follows...

D1 shows 1, E1 shows 1 &F1 shows 2... This is entered manually now checking
the staff duty.. Is it possible to automate it.. When the staff's select
their duty the staff strength column in the particular day must show up the
number of staffs as per the duty automatically.. Pls help me

rgds,
--

--
Life isa journey not a destination

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Logical

I dont understand what €śbreak shift€ť means or what the other 10 choices
might be for B1/C1 as it relates to D1 (10a-2p), E1 (2p-6p) and F1 (6p-10p).
I am assuming 3 of the 10 choices are going to be either (10a-2p), (2p-6p),
or (6p-10p) and the other 7 are irrelevant as far as your question is
concerned. I am also assuming that there is only one entry per day (row) in
either B1, C1, or both. You could put a fancy formula in D1 with nested IF
or COUNTIF statements, but I always like to go with simple, even if its a
roundabout way of doing it. Since Im assuming just 2 employees and 3
relevant outcomes, here is what I would do€¦.

Insert 6 columns after C1 (which will be hidden later), moving your three
shop strength totals over to J1/K1/L1. The first 3 inserted columns
(D1/E1/F1) would be for Staff X/10a-6p, Staff X/2p-6p, and Staff X/6p-10p,
respectively. And G1/H1/I1 would be for Staff Y/10a-6p, Staff Y/2p-6p, and
Staff Y/6p-10p. In cell D1 you would put: =IF (B1=€ť10a-2p€ť,1,0). In cell
E1: =IF (B1=€ť2p-6p€ť,1,0); and so on.

Then in your shop strength columns over in J1/K1/L1 you would simply add the
relevant cells. In cell J1 you would put: =D1+G1. In cell K1: =E1+H1. In
cell L1: =F1+I1. Then hide columns D-I and protect those cells!

If my assumptions are off, then this route may not be feasible.

--
-Kaman
The IT dept people call before they call the real IT dept.


"Sherees" wrote:

This is what I want to know..
cell B1 & C1 is the cell to enter the duties of two staffs (namely X & Y).
B1 is for staff X, C1 is for staff Y. staff can chose any one of duty in B1
& C1 frm a dropdownlist of 10 different duties(like "Break shift", "10 - 6
PM", "10 - 2 PM"..and so on)..

We have another cell D1 E1 & F1 where we enter the staff strength in the
shop on three intervals of time (say 10 - 2PM, 2 - 6PM, & 6 - 10PM)
Assume D1 cell to show the staffs present in the shop during time interval
10 - 2PM, E1 for 2 - 6PM & F1 for 6 - 10PM.

Now for eg, staff X chose her duty as Break Shift in cell B1(assume cell B1
as Jan 1, B2 as Jan 2 and so on), now we enter in D1 & F1 digit 1. & the
other staff chose 2 -10pm duty in C1 now the staff strenght cells are as
follows...

D1 shows 1, E1 shows 1 &F1 shows 2... This is entered manually now checking
the staff duty.. Is it possible to automate it.. When the staff's select
their duty the staff strength column in the particular day must show up the
number of staffs as per the duty automatically.. Pls help me

rgds,
--

--
Life isa journey not a destination

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Logical

Kaman

Thanks a lot, u said it simple, i was making it complicated...thank u
--
Life isa journey not a destination


"Kaman" wrote:

I dont understand what €śbreak shift€ť means or what the other 10 choices
might be for B1/C1 as it relates to D1 (10a-2p), E1 (2p-6p) and F1 (6p-10p).
I am assuming 3 of the 10 choices are going to be either (10a-2p), (2p-6p),
or (6p-10p) and the other 7 are irrelevant as far as your question is
concerned. I am also assuming that there is only one entry per day (row) in
either B1, C1, or both. You could put a fancy formula in D1 with nested IF
or COUNTIF statements, but I always like to go with simple, even if its a
roundabout way of doing it. Since Im assuming just 2 employees and 3
relevant outcomes, here is what I would do€¦.

Insert 6 columns after C1 (which will be hidden later), moving your three
shop strength totals over to J1/K1/L1. The first 3 inserted columns
(D1/E1/F1) would be for Staff X/10a-6p, Staff X/2p-6p, and Staff X/6p-10p,
respectively. And G1/H1/I1 would be for Staff Y/10a-6p, Staff Y/2p-6p, and
Staff Y/6p-10p. In cell D1 you would put: =IF (B1=€ť10a-2p€ť,1,0). In cell
E1: =IF (B1=€ť2p-6p€ť,1,0); and so on.

Then in your shop strength columns over in J1/K1/L1 you would simply add the
relevant cells. In cell J1 you would put: =D1+G1. In cell K1: =E1+H1. In
cell L1: =F1+I1. Then hide columns D-I and protect those cells!

If my assumptions are off, then this route may not be feasible.

--
-Kaman
The IT dept people call before they call the real IT dept.


"Sherees" wrote:

This is what I want to know..
cell B1 & C1 is the cell to enter the duties of two staffs (namely X & Y).
B1 is for staff X, C1 is for staff Y. staff can chose any one of duty in B1
& C1 frm a dropdownlist of 10 different duties(like "Break shift", "10 - 6
PM", "10 - 2 PM"..and so on)..

We have another cell D1 E1 & F1 where we enter the staff strength in the
shop on three intervals of time (say 10 - 2PM, 2 - 6PM, & 6 - 10PM)
Assume D1 cell to show the staffs present in the shop during time interval
10 - 2PM, E1 for 2 - 6PM & F1 for 6 - 10PM.

Now for eg, staff X chose her duty as Break Shift in cell B1(assume cell B1
as Jan 1, B2 as Jan 2 and so on), now we enter in D1 & F1 digit 1. & the
other staff chose 2 -10pm duty in C1 now the staff strenght cells are as
follows...

D1 shows 1, E1 shows 1 &F1 shows 2... This is entered manually now checking
the staff duty.. Is it possible to automate it.. When the staff's select
their duty the staff strength column in the particular day must show up the
number of staffs as per the duty automatically.. Pls help me

rgds,
--

--
Life isa journey not a destination

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Logical

Hi kaman,
wat is the formula if i want to say for eg: if B1="break shift" or
"10a-2p/w.off" or "10a-2p/p.off" or 10a-6p the column 10a-2p must show 1,
otherwise 0..

U said if(b1="10a-2p",1,0), wat is the formula if i want to say if
b1="10a-2p",1 or 10a-6p,1 more than one conditions for 1

I hope that u got me, please come back to me
--
Life isa journey not a destination


"Kaman" wrote:

I dont understand what €śbreak shift€ť means or what the other 10 choices
might be for B1/C1 as it relates to D1 (10a-2p), E1 (2p-6p) and F1 (6p-10p).
I am assuming 3 of the 10 choices are going to be either (10a-2p), (2p-6p),
or (6p-10p) and the other 7 are irrelevant as far as your question is
concerned. I am also assuming that there is only one entry per day (row) in
either B1, C1, or both. You could put a fancy formula in D1 with nested IF
or COUNTIF statements, but I always like to go with simple, even if its a
roundabout way of doing it. Since Im assuming just 2 employees and 3
relevant outcomes, here is what I would do€¦.

Insert 6 columns after C1 (which will be hidden later), moving your three
shop strength totals over to J1/K1/L1. The first 3 inserted columns
(D1/E1/F1) would be for Staff X/10a-6p, Staff X/2p-6p, and Staff X/6p-10p,
respectively. And G1/H1/I1 would be for Staff Y/10a-6p, Staff Y/2p-6p, and
Staff Y/6p-10p. In cell D1 you would put: =IF (B1=€ť10a-2p€ť,1,0). In cell
E1: =IF (B1=€ť2p-6p€ť,1,0); and so on.

Then in your shop strength columns over in J1/K1/L1 you would simply add the
relevant cells. In cell J1 you would put: =D1+G1. In cell K1: =E1+H1. In
cell L1: =F1+I1. Then hide columns D-I and protect those cells!

If my assumptions are off, then this route may not be feasible.

--
-Kaman
The IT dept people call before they call the real IT dept.


"Sherees" wrote:

This is what I want to know..
cell B1 & C1 is the cell to enter the duties of two staffs (namely X & Y).
B1 is for staff X, C1 is for staff Y. staff can chose any one of duty in B1
& C1 frm a dropdownlist of 10 different duties(like "Break shift", "10 - 6
PM", "10 - 2 PM"..and so on)..

We have another cell D1 E1 & F1 where we enter the staff strength in the
shop on three intervals of time (say 10 - 2PM, 2 - 6PM, & 6 - 10PM)
Assume D1 cell to show the staffs present in the shop during time interval
10 - 2PM, E1 for 2 - 6PM & F1 for 6 - 10PM.

Now for eg, staff X chose her duty as Break Shift in cell B1(assume cell B1
as Jan 1, B2 as Jan 2 and so on), now we enter in D1 & F1 digit 1. & the
other staff chose 2 -10pm duty in C1 now the staff strenght cells are as
follows...

D1 shows 1, E1 shows 1 &F1 shows 2... This is entered manually now checking
the staff duty.. Is it possible to automate it.. When the staff's select
their duty the staff strength column in the particular day must show up the
number of staffs as per the duty automatically.. Pls help me

rgds,
--

--
Life isa journey not a destination



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 107
Default Logical

You may not have seen an answer to this he
http://www.thecodecage.com/forumz/ex...mme-excel.html
--
p45cal


"Sherees" wrote:

This is what I want to know..
cell B1 & C1 is the cell to enter the duties of two staffs (namely X & Y).
B1 is for staff X, C1 is for staff Y. staff can chose any one of duty in B1
& C1 frm a dropdownlist of 10 different duties(like "Break shift", "10 - 6
PM", "10 - 2 PM"..and so on)..

We have another cell D1 E1 & F1 where we enter the staff strength in the
shop on three intervals of time (say 10 - 2PM, 2 - 6PM, & 6 - 10PM)
Assume D1 cell to show the staffs present in the shop during time interval
10 - 2PM, E1 for 2 - 6PM & F1 for 6 - 10PM.

Now for eg, staff X chose her duty as Break Shift in cell B1(assume cell B1
as Jan 1, B2 as Jan 2 and so on), now we enter in D1 & F1 digit 1. & the
other staff chose 2 -10pm duty in C1 now the staff strenght cells are as
follows...

D1 shows 1, E1 shows 1 &F1 shows 2... This is entered manually now checking
the staff duty.. Is it possible to automate it.. When the staff's select
their duty the staff strength column in the particular day must show up the
number of staffs as per the duty automatically.. Pls help me

rgds,
--

--
Life isa journey not a destination

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
is there an AND logical ? 0nanman Excel Worksheet Functions 7 May 15th 09 08:07 PM
is there an AND logical ? Don Guillett Excel Worksheet Functions 2 May 15th 09 08:05 PM
Help!!! - logical function for someone not very logical ECH123 Excel Worksheet Functions 3 May 11th 09 04:14 PM
Logical Angeline Excel Discussion (Misc queries) 1 December 13th 07 05:57 AM
Logical Value At A Loss Excel Worksheet Functions 7 March 13th 06 04:42 PM


All times are GMT +1. The time now is 04:07 AM.

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"