Hi Savant, Try this formula: ==IF(OR(AND(ISNUMBER(FIND(LEFT(B2,1),"JCR")),IF(SUM(COUNTIF(C2, {"DST","LVN","DNM"}))>0,TRUE,FALSE)),OR( ISNUMBER(FIND(LEFT (B2,1),"AWFUY")),ISNUMBER(FIND("SHORT", G2)),IF(SUM(COUNTIF(C2, {"BOG","BLM","CMO"}))>0,TRUE,FALSE))),I2-0.01,J2)
Regards Ashish Jain www.excelitems.com Developer of Open XL On Apr 27, 5:13 pm, "caveman.savant" <caveman.sav...@gmail.com> wrote: > I've been using these formulas to sort some values and return > results > I would like to combine these 2 into one formula > =IF(AND(ISNUMBER(FIND(LEFT(B20368,1),"JCR")),IF(SUM(COUNTIF(C20368, > {"DST","LVN","DNM"}))>0,TRUE(),FALSE())),I20368-0.01,J20368) > > =IF(OR(AND(B20368<>"", ISNUMBER(FIND(LEFT(B20368,1), > "AWFUY"))),ISNUMBER(FIND("SHORT", 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. --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---