Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I have a column set up with a drop down menu listing the priority of a job(1-5). I have another column set up which gives the predicted finish date of the job. I am trying to make this function automated to give the predicted finish date when any one of the 1-5 are chosen. 1 prority takes 2 hours 2 4 hours 3 1 day 4 2 days How can i achieve this function? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"DaveAsh" wrote in message
... Hi, I have a column set up with a drop down menu listing the priority of a job(1-5). I have another column set up which gives the predicted finish date of the job. I am trying to make this function automated to give the predicted finish date when any one of the 1-5 are chosen. 1 prority takes 2 hours 2 4 hours 3 1 day 4 2 days How can i achieve this function? You make a small table somewhere (say, X100:Y105) with your priorities in the first column and the corresponding times in the second. Then you use a VLOOKUP formula to look up the priority in this table and return the corresponding time. For example, =VLOOKUP(A1,X100:Y104,2,FALSE) |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=LOOKUP(B1,{1,2,3,4,5},{"2 hours","4 hours","1 day","2 days","1 week"})
Assuming B1 is the dropdown cell. You mentioned 1-5 so I added the 1 week, adjust to suit. Gord Dibben MS Excel MVP On Tue, 13 Nov 2007 08:02:05 -0800, DaveAsh wrote: Hi, I have a column set up with a drop down menu listing the priority of a job(1-5). I have another column set up which gives the predicted finish date of the job. I am trying to make this function automated to give the predicted finish date when any one of the 1-5 are chosen. 1 prority takes 2 hours 2 4 hours 3 1 day 4 2 days How can i achieve this function? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks for that, however the formula just gives "2 hours" or "4 hours" etc. I
have a start date column set up in the format dd/mm/yyyy hh/mm and i want the formula to add say "2hours" or "4hours", "1 week" etc. to this time/date. How can i change the formula to give this new predicted job finish time/date? "Gord Dibben" wrote: =LOOKUP(B1,{1,2,3,4,5},{"2 hours","4 hours","1 day","2 days","1 week"}) Assuming B1 is the dropdown cell. You mentioned 1-5 so I added the 1 week, adjust to suit. Gord Dibben MS Excel MVP On Tue, 13 Nov 2007 08:02:05 -0800, DaveAsh wrote: Hi, I have a column set up with a drop down menu listing the priority of a job(1-5). I have another column set up which gives the predicted finish date of the job. I am trying to make this function automated to give the predicted finish date when any one of the 1-5 are chosen. 1 prority takes 2 hours 2 4 hours 3 1 day 4 2 days How can i achieve this function? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I also need the formula to recognise working hours when computing the
time/date i.e. acknowledge 9-5 day, mon-fri. "DaveAsh" wrote: Thanks for that, however the formula just gives "2 hours" or "4 hours" etc. I have a start date column set up in the format dd/mm/yyyy hh/mm and i want the formula to add say "2hours" or "4hours", "1 week" etc. to this time/date. How can i change the formula to give this new predicted job finish time/date? "Gord Dibben" wrote: =LOOKUP(B1,{1,2,3,4,5},{"2 hours","4 hours","1 day","2 days","1 week"}) Assuming B1 is the dropdown cell. You mentioned 1-5 so I added the 1 week, adjust to suit. Gord Dibben MS Excel MVP On Tue, 13 Nov 2007 08:02:05 -0800, DaveAsh wrote: Hi, I have a column set up with a drop down menu listing the priority of a job(1-5). I have another column set up which gives the predicted finish date of the job. I am trying to make this function automated to give the predicted finish date when any one of the 1-5 are chosen. 1 prority takes 2 hours 2 4 hours 3 1 day 4 2 days How can i achieve this function? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Protect Cell Formatting including Conditional Formatting | Excel Discussion (Misc queries) | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
Conditional Formatting that will display conditional data | Excel Worksheet Functions | |||
conditional formatting | Excel Discussion (Misc queries) |