Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Macca
 
Posts: n/a
Default Help with IF and drop down lists on a look up

First problem is I want to place a n umerical value in a cell based on the
numerical value of another cell i.e

if cell A1 contains a value =24 and <=35 then cell A2 should contain 250
if cell A1 contains a value =36 and <=59 then cell A2 should contain 500

I have tried using IF with &'s and using IF with AND but I can't get it to
work.

Also I want to put a drop down list in a box dependant on a text value in
another cell for example if cell A1 contains ABC then drop down list (which I
have placed on a separate sheet) will contain ab,cc,dd etc.

Thanks loads
  #2   Report Post  
bj
 
Posts: n/a
Default

Try in A2
=if(and(A1=24,A1<=59),if(A135,500,250),"")

"Macca" wrote:

First problem is I want to place a n umerical value in a cell based on the
numerical value of another cell i.e

if cell A1 contains a value =24 and <=35 then cell A2 should contain 250
if cell A1 contains a value =36 and <=59 then cell A2 should contain 500

I have tried using IF with &'s and using IF with AND but I can't get it to
work.

Also I want to put a drop down list in a box dependant on a text value in
another cell for example if cell A1 contains ABC then drop down list (which I
have placed on a separate sheet) will contain ab,cc,dd etc.

Thanks loads

  #3   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

There are instructions here for dependent data validation lists:

http://www.contextures.com/xlDataVal02.html



Macca wrote:
First problem is I want to place a n umerical value in a cell based on the
numerical value of another cell i.e

if cell A1 contains a value =24 and <=35 then cell A2 should contain 250
if cell A1 contains a value =36 and <=59 then cell A2 should contain 500

I have tried using IF with &'s and using IF with AND but I can't get it to
work.

Also I want to put a drop down list in a box dependant on a text value in
another cell for example if cell A1 contains ABC then drop down list (which I
have placed on a separate sheet) will contain ab,cc,dd etc.

Thanks loads



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Using Symbols in Drop Down Lists Sumeet Benawra Excel Worksheet Functions 3 May 6th 23 03:46 AM
Data Validation - Drop down lists - if then? Steve R Excel Discussion (Misc queries) 2 April 8th 05 06:13 PM
multiple drop down lists jason n z Excel Discussion (Misc queries) 1 March 10th 05 01:24 AM
Can different drop down lists be displayed depending on the value. Laurentd Excel Discussion (Misc queries) 1 February 24th 05 12:31 AM
How do I change the appearance of my drop down lists? Tom Tanner Excel Worksheet Functions 1 October 28th 04 04:03 PM


All times are GMT +1. The time now is 03:44 AM.

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

About Us

"It's about Microsoft Excel"