Hi all,
Any ideas on thread title?
I tried doing it, but the results is wrong.
If i had only 1 ISNUMBER SEARCH function, it works.Please Login or Register to view this content.
Hi all,
Any ideas on thread title?
I tried doing it, but the results is wrong.
If i had only 1 ISNUMBER SEARCH function, it works.Please Login or Register to view this content.
Last edited by melvyndb; 04-29-2012 at 09:37 PM.
Could you post a workbook with some sample data in?
=ISNUMBER is boolean, meaning true/false and is usually utilized as a condition test.
=SEARCH returns an integer of the position of the specified text string in argument 1.
Is your intention to SUM the products, at least partially, of the string positions? What's the overall goal? A sample workbook would be helpful.
Perhaps it was the Noid who should have avoided me...
If you are satisfied with my solution click the small star icon on the left. Thanks
1. Make a copy of your workbook and run the following code on your copy (just in case)
2. With excel open, press ALT+F11 to open the Visual Basic Editor (VBE). From the "Insert" menu, select "Module".
3. Paste the code from above into the empty white space. Close the VBE.
4. From the developer tab, choose "Macros", select the Sub Name, and click "Run".
Hi andrew and alvaro,
thanks for your attention.
My office is quite tight on their security, so i cannot upload any files. Hope you can bear with my manual sample.
basically, there are alot of columns and rows, but my objective is to count those rows with the specific conditions. the first column that requires doing the search has got a few years in in (2012-0,2012-1,2012-2,2012-3,2012-na, etc) and i only want to search those that are 2012-0, 2012-1,2012-2.
the next column also same function, but with other values, like (dogs,cats,hamster,leopard,etc) i only need those that contains dogs, cat, leopard for example.
so for the whole search, i would like to find those rows that contains, 2012-0 OR 2012-1 OR 2012-2 in column A, and dogs OR cats OR leopard in column B, and the rest are quite standard, D!AZ1:25500="yes", D!AB1:25500="true" and so on.
The end result will be just a specific number "250" rows that has those conditions.
Or if there is a shorter way of getting the same results, please enlighten me, thanks to all who spread the love.
Any ideas?
Pl see the attached file.
formula is available in G2 cell.
Clarifications welcome.
Mark the thread solved if it is Ok.
The workings worked kvsrin. thank you so much for your time and effort...
of course not forgetting andrew and alvaro for your attention.
Will add reputation for you...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks