Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Get data - Multiple criteria

Hello there..

I am trying to get some data from sheet 'April' to Sheet 'Search' using
macros..

Its like people can select some criteria's to get the data.

1. if Sheets("Search").Range("E4").value="First" then it should search for
Sheets("Search").Range("C4").value in Sheets("April") column 'J'

and also match Sheets("Search").Range("C2").value with Sheets("April")
column 'F'.

It should also check if Sheets("Search").Range("E4").value="3Months"
then it should only get the data which is within 90 days, date column in
Sheets("April") is 'I'

2. if Sheets("Search").Range("E4").value="Second" then it should search for
Sheets("Search").Range("C4").value in Sheets("April") column 'M' and other 2
conditions remain the same.

P S - If any of these are left blank without selecting any option then that
criteria should be skipped.

Thank you

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
Multiple data validation criteria? ker_01 Excel Worksheet Functions 0 February 18th 10 12:33 AM
To count the data using multiple criteria in multiple columns Rajesh New Users to Excel 5 December 15th 08 04:07 PM
Sum data with multiple criteria martinbarnes Excel Discussion (Misc queries) 1 April 3rd 08 02:51 PM
multiple data validation criteria Greyling Excel Discussion (Misc queries) 3 May 15th 07 07:10 PM
finding data with multiple criteria carstowal Excel Discussion (Misc queries) 2 August 14th 06 03:41 PM


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