![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 3,065
|
=IF(OR(OFFSET(AF5,0,-4,1,1)={"Jack"}),Notes!B1,Notes!B2)
need to replace jack with name range |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Chicago, IL USA
Posts: 2,042
|
Quote:
=IF(ISNA(MATCH(OFFSET(AF5,0,-4,1,1),Jack,0)),Notes!B2,Notes!B1) You might also want to use SEARCH or FIND if your named range is a field of strings (not a cell range). HTH, Jay |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|