Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default data validation

I have a cell in which a payment type is selected, eg "CREDIT CARD" or
"CHEQUE" and so on. What I want to from here is change the selection list in
another cell based on what is selected in the first. E.g. if "CREDIT CARD"
is selected then the list in the next cell is for card types. If "CHEQUE" is
selected then the list in the next cell is Bank Names.

Is this achievable?

Thanks in advance
--
paulu
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default data validation

Hi,

This is a simple solution without any error checking built in. i.e it will
allow you to select a card type when Cheque is selected in the first cell.

I assume you know how to use data validation from the question.

In Data Validation choose List from the Allow dropdown box. In the Source
box you can enter a formula. Replace square bracketed text with the actual
references.

=If([Payment type cell] = "Cheque", [Card Type Range],[Cheque Range])

HTH,
Matt

I have a cell in which a payment type is selected, eg "CREDIT CARD" or
"CHEQUE" and so on. What I want to from here is change the selection list in
another cell based on what is selected in the first. E.g. if "CREDIT CARD"
is selected then the list in the next cell is for card types. If "CHEQUE" is
selected then the list in the next cell is Bank Names.

Is this achievable?

Thanks in advance
--
paulu

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default data validation

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

--
HTH

Bob Phillips

"Matt Lunn" wrote in message
...
Hi,

This is a simple solution without any error checking built in. i.e it will
allow you to select a card type when Cheque is selected in the first cell.

I assume you know how to use data validation from the question.

In Data Validation choose List from the Allow dropdown box. In the

Source
box you can enter a formula. Replace square bracketed text with the actual
references.

=If([Payment type cell] = "Cheque", [Card Type Range],[Cheque Range])

HTH,
Matt

I have a cell in which a payment type is selected, eg "CREDIT CARD" or
"CHEQUE" and so on. What I want to from here is change the selection

list in
another cell based on what is selected in the first. E.g. if "CREDIT

CARD"
is selected then the list in the next cell is for card types. If

"CHEQUE" is
selected then the list in the next cell is Bank Names.

Is this achievable?

Thanks in advance
--
paulu



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
custom data validation on cells with data validation values AKrobbins Excel Worksheet Functions 2 June 21st 11 04:20 PM
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


All times are GMT +1. The time now is 09:36 PM.

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"