Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: named range formula

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Posts
    3,184
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    =IF(OR(OFFSET(AF5,0,-4,1,1)={"Jack"}),Notes!B1,Notes!B2)

    need to replace jack with name range

  2. #2
    MrExcel MVP Jay Petrulis's Avatar
    Join Date
    Mar 2002
    Location
    Chicago, IL USA
    Posts
    2,040
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-05-07 07:51, Jack in the UK wrote:
    =IF(OR(OFFSET(AF5,0,-4,1,1)={"Jack"}),Notes!B1,Notes!B2)

    need to replace jack with name range
    Switch to the MATCH function with the named range. I named a range 'Jack'

    =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

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •