Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Guys
I set up a criteria range in connection with advanced filter. Is there an OR syntax for a criteria? I am trying to enter "Black" OR "Purple" but no joy. Do you have to put 2 rows in the criteria range?? Thanks for your help Phil |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Yes, one value on one row, the next on the following, and then include all 3
cells (inc. header) in the criteria. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Phil C" wrote in message ... Hi Guys I set up a criteria range in connection with advanced filter. Is there an OR syntax for a criteria? I am trying to enter "Black" OR "Purple" but no joy. Do you have to put 2 rows in the criteria range?? Thanks for your help Phil |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Many thanks Bob
I knew that was lurking at the back of my brain somewhere! Could have used custom autofilter, of course, but this method is more flexible and you can save the 'query'. Phil "Bob Phillips" wrote in message ... Yes, one value on one row, the next on the following, and then include all 3 cells (inc. header) in the criteria. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Phil C" wrote in message ... Hi Guys I set up a criteria range in connection with advanced filter. Is there an OR syntax for a criteria? I am trying to enter "Black" OR "Purple" but no joy. Do you have to put 2 rows in the criteria range?? Thanks for your help Phil |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Seems like In the Case of **OR** in advance filtering
one has to Stair-Case Their Criteria Criteria Range (would look like so) J1:K3: J K 1 Color Color << repeated twice in separate columns 2 Black 3 Purple Just my 2 Cents... "Phil C" wrote in message : Many thanks Bob I knew that was lurking at the back of my brain somewhere! Could have used custom autofilter, of course, but this method is more flexible and you can save the 'query'. Phil "Bob Phillips" wrote in message ... Yes, one value on one row, the next on the following, and then include all 3 cells (inc. header) in the criteria. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Phil C" wrote in message ... Hi Guys I set up a criteria range in connection with advanced filter. Is there an OR syntax for a criteria? I am trying to enter "Black" OR "Purple" but no joy. Do you have to put 2 rows in the criteria range?? Thanks for your help Phil |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
Copy all the columns to a different location in the Excel sheet. This is basically to run an advance query which will fetch all the records in the excel sheet even if you have misspled while typing. Assuming that you have copied all the columns to a single spread sheet, you know the column heading now, save the excel sheet. Now I wiil be using the Advance filtering techniques so that all the column information are retrieved even if the typed cells are misspelled, which normally is not the case when you do a simple filtering technique. The filtered values may not be correct. To retieve the values; 1. Select all records and the column headings and define a name for the range List. This is the List range name. 2. Select all column headings and paste in a seperate row anywhere in the spreadsheet. 2. Select the pasted column heading along with an three empty row and define a name. This is the criteria range name. Note: You can specify more criteira in addition rows. 3. Define a criteria on the second row for all columns, if necessary. For example S* will display all details specific to "S'. 4. Click Data- Filter- Advanced Filter 5. Type the List name 6. Type the Criteria Name 7. Click copy to another location option - Mandatory 8. Click Copy to 9. Click the cell below the criteria range All data will be displayed specific to the query you requested. This is very usefull if the spreadsheet data are mistyped or mis-spelled. Now you have done a database funtion on your excle spread sheet. Challa Prabhu "Phil C" wrote: Hi Guys I set up a criteria range in connection with advanced filter. Is there an OR syntax for a criteria? I am trying to enter "Black" OR "Purple" but no joy. Do you have to put 2 rows in the criteria range?? Thanks for your help Phil |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Advanced Filter (Criteria + Blanks) | Excel Discussion (Misc queries) | |||
Advanced Filter criteria (formula) | Excel Worksheet Functions | |||
Need Advanced Filter with NOT equal string and OR criteria | Excel Discussion (Misc queries) | |||
Advanced filter and Criteria Range | Excel Discussion (Misc queries) | |||
"Criteria Range" in the "Data/Filter/Advanced Filter" to select Du | Excel Worksheet Functions |