Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Value from List Box?

Hello,
I am revamping a timesheet in Excel and was wondering how to make all values
in a list box equal 8.
For example,
I have a drop down box for Holiday, Sick, Personal and when a user selects
one of these types 8 hours will appear in a total hours box.
Any help would be great!
Thx
-B
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Value from List Box?

=IF(OR(A1={"Holiday","Sick","Personal"}),8,"")


"Outlook, eh?" wrote:

Hello,
I am revamping a timesheet in Excel and was wondering how to make all values
in a list box equal 8.
For example,
I have a drop down box for Holiday, Sick, Personal and when a user selects
one of these types 8 hours will appear in a total hours box.
Any help would be great!
Thx
-B

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35
Default Value from List Box?

Great formula! I am sure I posted this before but I was just wanted to get
your thoughts on what are the possible places that a list (source) for data
validation can be stored? I am working on someone else's timesheet and when I
click on a cell and check the data validation it is referring to a list that
I can't find. Obviously I checked the one tab, but it had another validation
list. This is a free-floating file, which means it is being copied and saved
all over the organization, so I don't think the list refers to another Excel
file. Any ideas? Thanks!

"Teethless mama" wrote:

=IF(OR(A1={"Holiday","Sick","Personal"}),8,"")


"Outlook, eh?" wrote:

Hello,
I am revamping a timesheet in Excel and was wondering how to make all values
in a list box equal 8.
For example,
I have a drop down box for Holiday, Sick, Personal and when a user selects
one of these types 8 hours will appear in a total hours box.
Any help would be great!
Thx
-B

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
Dropdown List - list item endings not visible if column too narrow AK9955 Excel Discussion (Misc queries) 2 April 27th 07 09:02 AM
validation list--list depends on the selection of first list Michael New Users to Excel 2 April 27th 06 10:23 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 Ed Excel Worksheet Functions 5 September 12th 05 09:48 AM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM
sort list of players by team from player list on separate sheet Robert Excel Worksheet Functions 1 July 19th 05 01:57 AM


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