ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   using wildcards on text (https://www.excelbanter.com/excel-worksheet-functions/111021-using-wildcards-text.html)

scott

using wildcards on text
 
How can I find a part of a text string in a cell from an external file?
This is what I currently have but it wont let me use wildcards (e.g.
"*ages*").

{=COUNT(IF('C:\[fileA.xls]sheetA'!$M$4:$M$1000="ages",'C:\[fileA.xls]sheetA'!$L$4:$L$1000))}

Roger Govier

using wildcards on text
 
Hi Scott

Maybe
=COUNTIF('C:\[fileA.xls]sheetA'!$M$4:$M$1000,"=ages*")
or
=SUMIF('C:\[fileA.xls]sheetA'!$M$4:$M$1000,"=ages*"
,'C:\[fileA.xls]sheetA'!$L$4:$L$1000)

--
Regards

Roger Govier


"Scott" wrote in message
...
How can I find a part of a text string in a cell from an external
file?
This is what I currently have but it wont let me use wildcards (e.g.
"*ages*").

{=COUNT(IF('C:\[fileA.xls]sheetA'!$M$4:$M$1000="ages",'C:\[fileA.xls]sheetA'!$L$4:$L$1000))}





All times are GMT +1. The time now is 07:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com