A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IF statement based on True/False that activates a certain list box



 
 
Thread Tools Display Modes
  #1  
Old March 19th, 2010, 05:47 AM posted to microsoft.public.excel.worksheet.functions
rittzy
external usenet poster
 
Posts: 1
Default IF statement based on True/False that activates a certain list box

I've been asked to create a formula that will react to either "yes" or "no"
entered into a cell which will show options in another cell based on a
certain list.

Example:
Cells D35 contain the values Monday, Tuesday, Wednesday (list named BegWeek)
Cells E3:E5 contain the values Thursday, Friday, Saturday (list named EndWeek)
Cell A3 accepts either "yes" or "no" entry only from a list
If A3 = "Yes" then B3 will = drop down list BegWeek
If A3 = "No" then B3 will = drop down list End Week

I don't even know if this can be done in Excel but I am being asked to try.
Considering a combination of formulas/macros but have no idea how to pull it
off. Any ideas are greatly appreciated.
  #2  
Old March 19th, 2010, 06:01 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default IF statement based on True/False that activates a certain list box

Select B3. From menu DataValidationAllow 'List' and in Source field enter
the below formula..

=IF(A3="Yes",begweek,IF(A3="No",endweek))

--
Jacob


"rittzy" wrote:

I've been asked to create a formula that will react to either "yes" or "no"
entered into a cell which will show options in another cell based on a
certain list.

Example:
Cells D35 contain the values Monday, Tuesday, Wednesday (list named BegWeek)
Cells E3:E5 contain the values Thursday, Friday, Saturday (list named EndWeek)
Cell A3 accepts either "yes" or "no" entry only from a list
If A3 = "Yes" then B3 will = drop down list BegWeek
If A3 = "No" then B3 will = drop down list End Week

I don't even know if this can be done in Excel but I am being asked to try.
Considering a combination of formulas/macros but have no idea how to pull it
off. Any ideas are greatly appreciated.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.