+ Reply to Thread
Results 1 to 5 of 5

Inserting IF statement in to LARGE formula

  1. #1
    Registered User
    Join Date
    01-15-2013
    Location
    Bracknell
    MS-Off Ver
    Excel 2010
    Posts
    86

    Inserting IF statement in to LARGE formula

    Good Day Folks,

    I have an issue whereby I am trying to edit my formula and insert an IF statement.

    The formula is:
    =IFERROR(INDEX('Data - CURRENT'!$B$2:$B$2440,MATCH(LARGE('Data - CURRENT'!$BC$2:$BC$2440,ROW(K1)),'Data - CURRENT'!$BC$2:$BC$2440,0)),"")

    However, the issue I am having is that I only want responses based on "IF" one of the cells in excel = a certain value:
    'Data - CURRENT'!$AY:$AY="Y"

    Can someone please help me sort this out?

    Thank you in advance,
    Andrew

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Inserting IF statement in to LARGE formula

    I *think* this does what you want:
    Please Login or Register  to view this content.
    Does it?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Inserting IF statement in to LARGE formula

    Try this...
    =IFERROR(INDEX('Data - CURRENT'!$B$2:$B$2440,MATCH(LARGE(('Data - CURRENT'!$BC$2:$BC$2440,ROW(K1))*('Data - CURRENT'!$AY:$AY="Y")),'Data - CURRENT'!$BC$2:$BC$2440,0)),"")
    untested

    edit: is there an echo in here, Ron?

    lol
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    01-15-2013
    Location
    Bracknell
    MS-Off Ver
    Excel 2010
    Posts
    86

    Re: Inserting IF statement in to LARGE formula

    Hi Ron and Ford - thank you to you both for your help...works a treat!! Really appreciate your responses.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Inserting IF statement in to LARGE formula

    Im happy it worked for you, thanks for the feedback

+ 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] Adding an extra IF statement into a LARGE formula
    By Fursmanm in forum Excel General
    Replies: 4
    Last Post: 08-07-2012, 10:21 AM
  2. Replies: 5
    Last Post: 11-14-2011, 04:48 PM
  3. Large IF statement formula
    By Rachel716 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-19-2011, 02:09 PM
  4. Replies: 0
    Last Post: 11-01-2005, 04:09 PM
  5. Inserting large amounts of data with VBScript...
    By Volker Hetzer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2005, 12: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