Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Text Sum
I need code or a formula to return the amount of times text was found in a
range of cells. The problem is the data in the sheet is inconsistent for example: StayInSchool, SchoolInitiative, SchoolsagainstDropout, etc. I need to calculate the amount of times "schoo" or school" is shown in the specified range. I need to be able to use a contains formula or string instead of < or equal to. Because this data comes from several markets, their naming convention is not uniform. Another option would be Access (or another application) if you can provide something I can throw into the Builder in Access that would help also. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Text Sum
Hi
you can use the COUNTIF function for this e.g. =COUNTIF(A1:A10,"*school*") however, i would also love to know what you mean by the "throw into the Builder in Access" ... Cheers JulieD "cisse_5" wrote in message ... I need code or a formula to return the amount of times text was found in a range of cells. The problem is the data in the sheet is inconsistent for example: StayInSchool, SchoolInitiative, SchoolsagainstDropout, etc. I need to calculate the amount of times "schoo" or school" is shown in the specified range. I need to be able to use a contains formula or string instead of < or equal to. Because this data comes from several markets, their naming convention is not uniform. Another option would be Access (or another application) if you can provide something I can throw into the Builder in Access that would help also. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Text Sum
Try
=COUNTIF(A1:A100,"*School*") Regards Rowan "cisse_5" wrote: I need code or a formula to return the amount of times text was found in a range of cells. The problem is the data in the sheet is inconsistent for example: StayInSchool, SchoolInitiative, SchoolsagainstDropout, etc. I need to calculate the amount of times "schoo" or school" is shown in the specified range. I need to be able to use a contains formula or string instead of < or equal to. Because this data comes from several markets, their naming convention is not uniform. Another option would be Access (or another application) if you can provide something I can throw into the Builder in Access that would help also. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Text Sum
I believe he is referring to the Query builder in Access. Maybe thinking
about moving the data to Access, build a query to do the text count, and then bring the query results back to Excel? Mike F "JulieD" wrote in message ... Hi you can use the COUNTIF function for this e.g. =COUNTIF(A1:A10,"*school*") however, i would also love to know what you mean by the "throw into the Builder in Access" ... Cheers JulieD "cisse_5" wrote in message ... I need code or a formula to return the amount of times text was found in a range of cells. The problem is the data in the sheet is inconsistent for example: StayInSchool, SchoolInitiative, SchoolsagainstDropout, etc. I need to calculate the amount of times "schoo" or school" is shown in the specified range. I need to be able to use a contains formula or string instead of < or equal to. Because this data comes from several markets, their naming convention is not uniform. Another option would be Access (or another application) if you can provide something I can throw into the Builder in Access that would help also. |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Text Sum
Thanks all for your response. I was there and tried it but the manager kept
insisting on this complex statement that didn't achieve the required result. I only need to write 3 separate statements and this is simple and gets the job done. Thanks Alot!!!!!! "Rowan" wrote: Try =COUNTIF(A1:A100,"*School*") Regards Rowan "cisse_5" wrote: I need code or a formula to return the amount of times text was found in a range of cells. The problem is the data in the sheet is inconsistent for example: StayInSchool, SchoolInitiative, SchoolsagainstDropout, etc. I need to calculate the amount of times "schoo" or school" is shown in the specified range. I need to be able to use a contains formula or string instead of < or equal to. Because this data comes from several markets, their naming convention is not uniform. Another option would be Access (or another application) if you can provide something I can throw into the Builder in Access that would help also. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using TEXT and &TEXT - display numbers with commas, underline text | Excel Discussion (Misc queries) | |||
using a conditional suffix in text function format syntax=text(value,format_text) | Excel Worksheet Functions | |||
grab cell text from multi-tab workbook, show text in another workb | Excel Worksheet Functions | |||
Text does not display in "Text boxs" and when wrapping text in a c | Excel Discussion (Misc queries) | |||
extracting text from within a cell - 'text to rows@ equivalent of 'text to columns' | Excel Programming |