Closed Thread
Results 1 to 2 of 2

how to combine multiple conditions with search functions and macro the function

Hybrid View

melvyndb how to combine multiple... 04-12-2012, 05:44 AM
arlu1201 Re: how to combine multiple... 04-12-2012, 07:11 AM
  1. #1
    Registered User
    Join Date
    04-11-2012
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    26

    how to combine multiple conditions with search functions and macro the function

    Hi all,

    I am finding ways to conduct a search for rows with multiple conditions.

    e.g.

    2010 cat10 closed yes
    2012 dog20 closed yes
    2010 cat15 closed yes

    I need to find 2010,cat,closed, yes as my conditions. Do note that cat has cat10 and cat15, but I want to search anything with cat. so effectively, I will have 2 rows with that condition.

    my method:

    =SUM(IF(ISERROR(SEARCH("cat",frmAdministratorRecordView'!$AE$2:$AE$25550,1)),0,(IF(frmAdministratorRecordView!AD2:AD25550="yes",IF(frmAdministratorRecordView!AF2:AF25550="2010",IF(frmAdministratorRecordView!L2:L25550="closed",1,0))))
    but there is some errors, can somebody guide me along?

    I am thinking of seperating the functions so that macro can work, but not sure how.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: how to combine multiple conditions with search functions and macro the function

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1