Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
In MS Excel 2007, I'm trying to use a function to search for (and display) a specific text string that resides within a cell, providing that it is the last non blank cell in a range of cells across a row. e.g. If searching row 2:2 (or a section of this row) for the last non blank cell, I want to then search within that last cell to locate the word "pass", where the same cell may also contain any combination of text/number values. If "pass" exists within the cell, I want to return a the same text value of "pass". Note that €śpass€ť may exist across various cells in the range. -- I've managed to successfully return the entire contents that reside within the last non-blank cell (with the following formula): =IF(ISNA(LOOKUP(2,1/('QA Results'!$D2:$CY2<""),'QA Results'!$D2:$CY2)),"",LOOKUP(2,1/('QA Results'!$D2:$CY2<""),'QA Results'!$D2:$CY2)) -- I've also achieved similar results when searching the cell range for the last known cell that successfully contains the text €śpass€ť (this is not necessarily the last non blank cell in the range). Again the entire cell content is returned. =IF(OR(ISNA('QA Results'!D2:CY2),ISERROR(LOOKUP(2,1/SEARCH("Pass",'QA Results'!D2:CY2),'QA Results'!$D$2:$CY$2))),"",LOOKUP(2,1/SEARCH("Pass",'QA Results'!D2:CY2),'QA Results'!$D$2:$CY$2)) Any assistance would be appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Nested formula to search a text string and return specific text | Excel Worksheet Functions | |||
Search for specific number in a range | Excel Worksheet Functions | |||
Looking for a way to search for specific text across columns | Excel Worksheet Functions | |||
count by specific text color in range of cell | Excel Discussion (Misc queries) | |||
How do I search for specific text and sum the cell to the right? | Excel Worksheet Functions |