Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify a record that has a blank space in the data in a field.
I need to pull records that have a blank space somewhere in the data , for
example "type 1" as opposed to "type1" or "help me" as opposed to "helpme". Your help is much appreciated. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify a record that has a blank space in the data in a field.
Assume each record has data points in columns A through D. Then the
best solution is writing a VBA function that you would place in column E that returns a "1" or "0" depending on the presence of a space. If, however, you want to avoid VBA, and just stick to worksheet functions, then do the following: 1. In column E, insert the function =IF(ISERROR(FIND(" ", A1)),0,FIND(" ", A1)). 2. Copy this to columns F through H. References will adjust automatically. 3. In column I, enter the function =SUM(E2:H2) If column I is 0, at least 1 cell has a blank. Hope this helps, Dom JH wrote: I need to pull records that have a blank space somewhere in the data , for example "type 1" as opposed to "type1" or "help me" as opposed to "helpme". Your help is much appreciated. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify a record that has a blank space in the data in a field.
You want to "pull records"?
How did you want to do that? Using AutoFilter? Advanced Filter? Did you want to use formulas to flag the items then sort and move? *********** Regards, Ron XL2002, WinXP "JH" wrote: I need to pull records that have a blank space somewhere in the data , for example "type 1" as opposed to "type1" or "help me" as opposed to "helpme". Your help is much appreciated. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify a record that has a blank space in the data in a field.
The following formula will tell you if a cell has blanks in it:
=IF(SUBSTITUTE(A1," ","")=A1,"no blanks","has blanks") -- Gary's Student "JH" wrote: I need to pull records that have a blank space somewhere in the data , for example "type 1" as opposed to "type1" or "help me" as opposed to "helpme". Your help is much appreciated. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify a record that has a blank space in the data in a fiel
Thanks Dom that worked.
" wrote: Assume each record has data points in columns A through D. Then the best solution is writing a VBA function that you would place in column E that returns a "1" or "0" depending on the presence of a space. If, however, you want to avoid VBA, and just stick to worksheet functions, then do the following: 1. In column E, insert the function =IF(ISERROR(FIND(" ", A1)),0,FIND(" ", A1)). 2. Copy this to columns F through H. References will adjust automatically. 3. In column I, enter the function =SUM(E2:H2) If column I is 0, at least 1 cell has a blank. Hope this helps, Dom JH wrote: I need to pull records that have a blank space somewhere in the data , for example "type 1" as opposed to "type1" or "help me" as opposed to "helpme". Your help is much appreciated. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
identify a record that has a blank space in the data in a fiel
Thanks Ron, Dom answered my question.
"Ron Coderre" wrote: You want to "pull records"? How did you want to do that? Using AutoFilter? Advanced Filter? Did you want to use formulas to flag the items then sort and move? *********** Regards, Ron XL2002, WinXP "JH" wrote: I need to pull records that have a blank space somewhere in the data , for example "type 1" as opposed to "type1" or "help me" as opposed to "helpme". Your help is much appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
data in primay field changed however subsequent field does not upd | Excel Discussion (Misc queries) | |||
Adding a blank in Data Validation List? | Excel Discussion (Misc queries) | |||
Record data on two lines | Excel Discussion (Misc queries) | |||
Pivot Table Data Field Query | Excel Worksheet Functions | |||
blank data field shows quote in formula, how to delete it? | Excel Discussion (Misc queries) |