LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Filtering based on Value

I would like to combine these 2 into one formula

=IF(AND(ISNUMBER(FIND(LEFT(B20368,1),"JCR")),IF(SU M(COUNTIF(C20368,
{"DST","LVN","DNM"}))0,TRUE(),FALSE())),I20368-0.01,J20368)

=IF(OR(AND(B20368<"", ISNUMBER(FIND(LEFT(B20368,1),
"AWFUY"))),OR(ISNUMBER(FIND("SHORT", G20368)),ISNUMBER(FIND("SHT",
G20368))),SUM(COUNTIF(C20368,{"BOG","BLM","CMO"})) ),I20368-0.01,
J20368)

Each statement stands alone as far as filtering, so ISNUMBER(FIND
(LEFT
(B20368,1), "JCRAWFUY"))) won't work.

The 1st 'True' test looks at Column B and looks for values starting
with the Letter J, C, or R while at the same time checking for values
in Column C that are either "DST","LVN","DNM"

The Second Test looks at Column B and looks for values starting with
the Letter A, W, F, U, Y. The test would also be True if Column G
contains "SHORT" or "SHT". Finally check for values in Column C that
are either "BOG","BLM","CMO"

 
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
Create a worksheet based on filtering of another? Elaine Excel Discussion (Misc queries) 2 November 21st 08 09:46 PM
Filtering data based on formula Krys Excel Discussion (Misc queries) 1 April 22nd 08 01:23 PM
Filtering Based on External Criteria Youlan Excel Discussion (Misc queries) 1 March 21st 08 12:50 AM
filtering based on a value in a cell John E. Fox Excel Worksheet Functions 1 December 13th 06 01:42 AM
advanced filtering based on entries ABOVE those I wish to keep Cale Excel Discussion (Misc queries) 0 August 1st 06 09:11 PM


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