Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Conditional Formatting

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default Conditional Formatting

"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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Conditional Formatting

=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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Conditional Formatting

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 49
Default Conditional Formatting

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
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
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM
conditional formatting thrasher Excel Discussion (Misc queries) 2 February 9th 05 03:57 AM


All times are GMT +1. The time now is 12:39 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"