Closed Thread
Results 1 to 5 of 5

Where to add another IF statement in this formula

Hybrid View

Kevin Stewart Where to add another IF... 10-13-2013, 01:08 PM
AlKey Re: Where to add another IF... 10-13-2013, 01:15 PM
Kevin Stewart Re: Where to add another IF... 10-13-2013, 02:31 PM
AlKey Re: Where to add another IF... 10-13-2013, 04:16 PM
FDibbins Re: Where to add another IF... 10-13-2013, 05:31 PM
  1. #1
    Registered User
    Join Date
    09-04-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    15

    Where to add another IF statement in this formula

    The formula below works great, but I need to add another IF statement to it. I Need something like.... IF(DATA!$Z$2:$Z$20000>=$H$2 But I don't know where to insert. I've tried it all ways that I know how and can't get it to work.



    {=IF(ROWS(D$4:D4)<=$L$2,INDEX(DATA!B$2:B$6372,SMALL(IF(DATA!$A$2:$A$6372=$E$2,IF(DATA!$E$2:$E$6372=$G$2,ROW(DATA!$E$2:$E$6372)-ROW(DATA!$E$2)+1)),ROWS($D$4:D4))),"")}

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Where to add another IF statement in this formula

    Maybe this?

    =IF(Data!$Z$2:$Z$20000>=$H$2,IF(ROWS(D$4:D4)<=$L$2,INDEX(Data!B$2:B$6372,SMALL(IF(Data!$A$2:$A$6372=$E$2,IF(Data!$E$2:$E$6372=$G$2,ROW(Data!$E$2:$E$6372)-ROW(Data!$E$2)+1)),ROWS($D$4:D4))),""))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    09-04-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Where to add another IF statement in this formula

    Thanks, but it still just pulls the first items and looks past the >=H2 statement

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Where to add another IF statement in this formula

    One more

    =IF(AND(ROWS(D$4:D4)<=$L$2,Data!$Z$2:$Z$20000>=$H$2),INDEX(Data!B$2:B$6372,SMALL(IF(Data!$A$2:$A$6372=$E$2,IF(Data!$E$2:$E$6372=$G$2,ROW(Data!$E$2:$E$6372)-ROW(Data!$E$2)+1)),ROWS($D$4:D4))),"")

  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: Where to add another IF statement in this formula

    This looks very much like this thread, which has already had a few suggestions (mine included)...
    http://www.excelforum.com/excel-form...step-away.html

    Please do not post duplicate threads.

    I and going to close this thread now, you can continue on your other thread. If this is not the same thing, please PM me to let me know how it is different and I will re-open this thread
    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

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula for Income Statement in financial statement
    By Zunit in forum Excel General
    Replies: 6
    Last Post: 07-02-2012, 02:21 PM
  2. Formula for If, Then statement
    By cubuffs101 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2011, 03:09 PM
  3. Formula with statement
    By Ltat42a in forum Excel General
    Replies: 3
    Last Post: 05-20-2007, 12:19 PM
  4. [SOLVED] Formula expected end of statement error, typing formula into cell as part of VBA macro
    By DavidGMullins@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2006, 03:05 PM
  5. if statement formula
    By Marlis in forum Excel General
    Replies: 2
    Last Post: 08-17-2005, 12:05 AM

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