+ Reply to Thread
Results 1 to 2 of 2

If Then with Multiple Betweens...

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Seattle
    MS-Off Ver
    2011
    Posts
    2

    If Then with Multiple Betweens...

    I'm trying to populate one cell based on 4 ranges in values... so..

    If A1 is between 0 and 349,999, then B1
    OR If A1 is between 350,000 and 749,999, then B2
    OR If A1 is between 750,000 and 1,149,999 then B3
    OR If A1 is greater than 1,150,000, then B4

    Is there a way to combine these all into one formula? I feel like it's an easy job, but my mind is just blanking...

  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,926

    Re: If Then with Multiple Betweens...

    =if(a1<=0,"",if(a1<35,b1,if(a1<75,b2,if(a1<115,b3,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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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