+ Reply to Thread
Results 1 to 2 of 2

Combining IF, OFFSET and INDIRECT functions.

  1. #1
    Registered User
    Join Date
    10-17-2013
    Location
    Newcastle
    MS-Off Ver
    2010
    Posts
    25

    Combining IF, OFFSET and INDIRECT functions.

    This is a tricky one to explain,

    The formula I am trying to use does look overly complicated as I'm sure people will say, but due to layout of the results I receive and how I wish to move them around this is the best method. The formula that isn't working is;

    =(IF((OFFSET(INDIRECT("sheet2!D"&$A8),(Q$6),23,1,1))="Non-compliant",(OFFSET(INDIRECT("Sheet3!D"&$A8),(Q$6),35,1,1),(OFFSET(INDIRECT("sheet2!D"&$A8),(Q$6),23,1,1)))))

    (IF((OFFSET(INDIRECT("sheet2!D"&$A8),(Q$6),23,1,1))="Non-compliant" to be the logical test

    (OFFSET(INDIRECT("Sheet3!D"&$A8),(Q$6),35,1,1) for value if true

    (OFFSET(INDIRECT("sheet2!D"&$A8),(Q$6),23,1,1))))) for the value if false


    But for some reason my excel doesnt read the last part of the formula as [value if false], but keeps it in the [value if true bracket].


    How do I resolve this?

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Combining IF, OFFSET and INDIRECT functions.

    Looks like an issue with brackets I guess

    Try
    =IF(OFFSET(INDIRECT("sheet2!D"&$A8),(Q$6),23,1,1))="Non-compliant",OFFSET(INDIRECT("Sheet3!D"&$A8),(Q$6),35,1,1),OFFSET(INDIRECT("sheet2!D"&$A8),(Q$6),23,1,1))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Combining OFFSET, Indirect and IF functions
    By dowell89 in forum Excel General
    Replies: 3
    Last Post: 10-25-2013, 06:20 AM
  2. Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Andy Wiggins in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 06:05 AM
  3. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  4. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1