LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 85
Default Is it possible to shorten this LOOKUP Formula?

I have 3 groups of Drivers, all of them work a for day work week. Group 1
works Monday-Thursday, 2 works Tuesday-Friday, and 3 works Friday, Saturday,
Sunday, Monday. Group 1 with Friday off has assignment numbers of 900-949, 2
with Monday off has 950-999, 3 does 900-949 on Friday and 950-999 on Monday.
(The weekend numbers are totally different and not included in this process).
On my spread sheet I use these numbers in column A to time track the drivers
as they pass various locations. Column H is where I place the names of the
drivers. I have H set to change names for the different days of the week.
I'm wondering if I can shorten this formula, by using an abbreviation.
Weekday, Mon-Thur, something like that?


900-949 Fridays off;

=IF($A$1="Monday",LOOKUP(A3,Feeder!$A$2:$C$83),"") &IF($A$1="Tuesday",LOOKUP(A3,Feeder!$A$2:$C$83),"" )&IF($A$1="Wednesday",LOOKUP(A3,Feeder!$A$2:$C$83) ,"")&IF($A$1="Thursday",LOOKUP(A3,Feeder!$A$2:$C$8 3),"")&IF($A$1="Friday",LOOKUP(A3,Feeder!$H$3:$I$2 2),"")


950-999 Mondays off;


=IF($A$1="Monday",LOOKUP(A41,Feeder!$H$24:$I$43)," ")&IF($A$1="Tuesday",LOOKUP(A41,Feeder!$A$2:$C$83) ,"")&IF($A$1="Wednesday",LOOKUP(A41,Feeder!$A$2:$C $83),"")&IF($A$1="Thursday",LOOKUP(A41,Feeder!$A$2 :$C$83),"")&IF($A$1="Friday",LOOKUP(A41,Feeder!$A$ 2:$C$83),"")




 
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
Shorten a formula Jeze77 Excel Discussion (Misc queries) 0 August 30th 07 07:46 PM
Shorten a formula Jeze77 Excel Discussion (Misc queries) 6 August 30th 07 06:34 PM
Shorten Formula Lemmesee Excel Worksheet Functions 3 January 7th 07 10:30 PM
Shorten an IF formula Joker Excel Discussion (Misc queries) 4 December 10th 05 12:30 PM
shorten formula PACable Excel Worksheet Functions 8 October 27th 05 12:39 AM


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