Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom.
Yes, the periods are hard written into the cells. I guess I could use MID to ensure that they are there and match the positions of the periods rather than looking at the overall pattern. This may be close enough, although if any of these items contains a letter rather than a number it will fail. If you have any other ideas please let me know. Thanks again. "Tom Ogilvy" wrote: are the periods in the cell or are they produced through formatting. If in the cell, you could use an AND statement =AND(mid(A1,4,1)=".",Mid(A1,8,1)=".", . . . It depends on what the possibilities are. But the simple answer is that there is no built in function that is designed to do this. -- Regards, Tom Ogilvy "quartz" wrote in message ... I need a spreadsheet function or formula that can match by a pattern. Is there such a thing? I have looked at FIND and SEARCH, but for these you need to specify exactly your search string, you can't just indicate a pattern to match. For example, I need to test to determine if a cell contains a series of numbers in the following pattern: ###.###.####.######.###.##.### If so, then evaluate to ONE or TRUE or whatever, if not then ZERO or FALSE or whatever. NOTE: The above string could contain any series of digits, I just need to be sure all the "#" signs are numbers and that they are in the pattern shown above. Your assistance is greatly appreciated. Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy a formula pattern | Excel Worksheet Functions | |||
Pattern Formula? | Excel Discussion (Misc queries) | |||
Deleting all rows that match a pattern | Excel Programming | |||
Deleting all rows that match a pattern | Excel Programming | |||
Deleting all rows that match a pattern | Excel Programming |