![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Location: Macon, Georgia USA
Posts: 124
|
Can anyone write a shorter formula, and can you also write me a formula using a lookup table for the formula below. This formula goes in 28 line.
=IF(OR($A6=$F$2,$A6=$F$2+7),"Sun", IF(OR($A6=$F$2+1,$A6=$F$2+8),"Mon", IF(OR($A6=$F$2+2,$A6=$F$2+9),"Tue", IF(OR($A6=$F$2+3,$A6=$F$2+10),"Wed", IF(OR($A6=$F$2+4,$A6=$F$2+11),"Thu", IF(OR($A6=$F$2+5,$A6=$F$2+12),"Fri", IF(OR($A6=$F$2+6,$A6=$F$2+13),"Sat",""))))))) Thank |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
What kind of data house A6 and F2: date, number, etc.? And, what is the purpose?
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Macon, Georgia USA
Posts: 124
|
F2 is a date
A6 is where my timesheet line begin |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Macon, Georgia USA
Posts: 124
|
F2 is a date
A6 is where my timesheet line begin and A33 is where it end |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Macon, Georgia USA
Posts: 124
|
Al,
I will send you a copy of the sheets need to help me figure out what I am trying to accomplish. Thanks again, A long winded Aircraft Mechanic, Walter Never Stop Learning |
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
|
|
|
|
|
|
|
#7 |
|
New Member
Join Date: Mar 2002
Location: Northern Ireland
Posts: 6
|
=TEXT($F$2,"DDD") |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|