+ Reply to Thread
Results 1 to 7 of 7

Nested If Alternative?

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Nested If Alternative?

    Hi guys,

    I've been racking my brain over this all afternoon. I have a large data set and don't see an alternative to using nested if statements. I figure there must be a way and I'm missing something. My problem is like me wanting to use vlookup with range as my lookup value. Any help is appreciated. I have a more accurate description of what I'm trying to do on the attached spreadsheet.

    Thank you!

    Jared
    Attached Files Attached Files

  2. #2
    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
    52,938

    Re: Nested If Alternative?

    Try this, copied down...
    =C4*SUMIFS($I$4:$I$79,$G$4:$G$79,"<="&B4,$H$4:$H$79,">="&B4)
    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

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

    Re: Nested If Alternative?

    Since the dates are discrete ranges and are in ascending order...try this regular formula, copied down:
    Please Login or Register  to view this content.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    02-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Nested If Alternative?

    Thank you, Ford! It worked!

    Jared

  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
    52,938

    Re: Nested If Alternative?

    Happy to help

    Ron's suggestion should work as well, and it is a bit shoreter

    If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

  6. #6
    Registered User
    Join Date
    02-19-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Nested If Alternative?

    Done! Thanks again

  7. #7
    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
    52,938

    Re: Nested If Alternative?

    Thanks again

+ 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. Alternative to Nested IF Statement
    By s1crock in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-16-2014, 06:13 PM
  2. [SOLVED] Alternative to Nested IF Statement
    By ahs004 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2013, 07:58 AM
  3. Alternative to summing nested If's
    By mashley in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-09-2009, 09:37 AM
  4. is there a db alternative to nested if then?
    By jrtaylor in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-10-2009, 10:59 AM
  5. Alternative Code - Nested Ifs
    By gizoku00 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2008, 11:16 PM

Tags for this Thread

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