Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to search a worksheet, by columns, for a specific sequence of
letters. For example, Column A might contain: A A B B E E I need to find the first occurrence of the (vertical) sequence ABBE, edit that sequence, then find the next occurrence, etc. The (vertical) sequence would never be more than 5 letters. Thanks in advance for your help. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
With data in A1:An, enter this formula in B1 and copy down to the end of data. =IF(AND(A1="A",A2="B",A3="B",A4="E"),"x","") "x" will mark the start of the sequence. -- Biff Microsoft Excel MVP wrote in message ... I need to search a worksheet, by columns, for a specific sequence of letters. For example, Column A might contain: A A B B E E I need to find the first occurrence of the (vertical) sequence ABBE, edit that sequence, then find the next occurrence, etc. The (vertical) sequence would never be more than 5 letters. Thanks in advance for your help. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That's got it, thanks!
On Thu, 10 Sep 2009 00:22:24 -0400, "T. Valko" wrote: Try this: With data in A1:An, enter this formula in B1 and copy down to the end of data. =IF(AND(A1="A",A2="B",A3="B",A4="E"),"x","") "x" will mark the start of the sequence. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP wrote in message ... That's got it, thanks! On Thu, 10 Sep 2009 00:22:24 -0400, "T. Valko" wrote: Try this: With data in A1:An, enter this formula in B1 and copy down to the end of data. =IF(AND(A1="A",A2="B",A3="B",A4="E"),"x","") "x" will mark the start of the sequence. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Same =rand() value in two adjacent cells in column | Excel Worksheet Functions | |||
Sum only if cells are not blank in adjacent column | Excel Worksheet Functions | |||
Using CountIf with non-adjacent cells in same column | Excel Discussion (Misc queries) | |||
summing values from adjacent column with refrence from adjacent column | Excel Discussion (Misc queries) | |||
Sum column if multiple criteria are met in adjacent cells | Excel Worksheet Functions |