#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 108
Default Validation

Hi all,

I have the following problem.

% Lan %Lan % Lan % Aqua % Aqua % Aqua
W MIA LAX JFK MIA LAX JFK
1 45 85 90 89 12 45
2 90 45 100 85 10 10
3 78 52 54 96 78 10
4 65 78 74 41 50 25
5 12 21 63 74 52 46
6 74 10 12 23 90 74

So in other sheet, I want to have a menu with two options,
Select W(week#) and destination(MIA-LAX-JFK).
When you select week 1 for example, it should display all the information
related to week 1 depending the destination, if MIA is selected, then show
%LAN MIA and %Aqua MIA.

How can this be done???

JP
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Validation

Hi JP,
Check out this link at Debra Dalgleish's site.
http://www.contextures.com/xlDataVal13.html
Regards - Dave.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 108
Default Validation

Ive seen that site, but it does not explain how to make excel show on some
cells the result of two parameters. (week and destination)

"Dave" wrote:

Hi JP,
Check out this link at Debra Dalgleish's site.
http://www.contextures.com/xlDataVal13.html
Regards - Dave.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 108
Default Validation

The following code, inserts the result of some data on a sheet, when a week
numer is selected.
How do I modify it, so whenever I select the week, it erases the previous
data, and only show the data for the selected week?


Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row = 2 And Target.Column = 3 Then
'calculate criteria cell in case calculation mode is manual
Sheets("ProductsList").Range("Criteria").Calculate
Worksheets("ProductsList").Range("Database") _
.AdvancedFilter Action:=xlFilterCopy, _
CriteriaRange:=Sheets("ProductsList").Range("Crite ria"), _
CopyToRange:=Range("A6:G6"), Unique:=False
'calculate summary total in case calculation mode is manual
Sheets("Data Entry").Range("D2").Calculate
End If
End Sub

"Dave" wrote:

Hi JP,
Check out this link at Debra Dalgleish's site.
http://www.contextures.com/xlDataVal13.html
Regards - Dave.

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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation Update Validation Selection PCreighton Excel Worksheet Functions 3 September 11th 07 03:32 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 10:12 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"