+ Reply to Thread
Results 1 to 6 of 6

Excel Formula based on value of numeric ranges

  1. #1
    Registered User
    Join Date
    03-01-2015
    Location
    Cincinnati
    MS-Off Ver
    Office 2010
    Posts
    16

    Excel Formula based on value of numeric ranges

    Trying for the following:

    If D4 is 760 or greater then G21*.0041/12
    If D4 is 740 - 759 then G21*.0059/12
    If D4 is 720 - 739 then G21*.0073/12
    If D4 is 700 - 719 then G21*.00.87/12
    If D4 is 680 - 699 then G21*.0108/12
    If D4 is 679 or less then "FHA"

    This is what I tried and am getting an error on:

    =IF(D4<680,"FHA","")*IF(D4<700,G21*1.08/12,"")*IF(D4<720,G21*0.0087/12,"")*IF(D4<740,G21*0.0073/12,"")*IF(D4>760,G21*0.0059/12,"")*IF(D4>759,G21*0.0041/12)

    Thank you,

    Chris
    Last edited by cnbales; 01-20-2017 at 02:37 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Excel Formula based on value of numeric ranges

    Hi Chris,

    Your problem looks like a Vlookup formula with True as the 4th argument to me. See the attached. Change D4 and G21 to get different answers.
    VLookup True for Chris.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Excel Formula based on value of numeric ranges

    Try this...

    =IF(D4="","",IF(D4<680,"FHA",G21*IF(D4>759,0.0041,IF(D4>739,0.0059,IF(D4>719,0.0073,IF(D4>699,0.0087,0.0108))))/12))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    03-01-2015
    Location
    Cincinnati
    MS-Off Ver
    Office 2010
    Posts
    16

    Re: Excel Formula based on value of numeric ranges

    Quote Originally Posted by Tony Valko View Post
    Try this...

    =IF(D4="","",IF(D4<680,"FHA",G21*IF(D4>759,0.0041,IF(D4>739,0.0059,IF(D4>719,0.0073,IF(D4>699,0.0087,0.0108))))/12))
    Tony,

    That solution worked exactly as I was wanting. Thank you for your help.

  5. #5
    Registered User
    Join Date
    03-01-2015
    Location
    Cincinnati
    MS-Off Ver
    Office 2010
    Posts
    16

    Re: Excel Formula based on value of numeric ranges

    Quote Originally Posted by MarvinP View Post
    Hi Chris,

    Your problem looks like a Vlookup formula with True as the 4th argument to me. See the attached. Change D4 and G21 to get different answers.
    Attachment 498126
    Marvin,

    Thank you for your help. Your answer solved the problem also.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Excel Formula based on value of numeric ranges

    You're welcome. 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. Depicting numeric ranges as single value
    By Bumblbree in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-22-2016, 05:42 PM
  2. [SOLVED] Breaking up multiple numeric ranges - questions?
    By Rhudi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-19-2014, 10:28 AM
  3. [SOLVED] Create a formula that ignores when non-numeric value is entered in numeric field
    By lukela85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-24-2013, 07:22 AM
  4. Replies: 6
    Last Post: 07-29-2013, 02:11 AM
  5. Export Excel Ranges to Word bookmarks using VBA then save word doc based on excel ranges
    By CuddlyGoldfish in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-30-2013, 07:47 PM
  6. Replies: 6
    Last Post: 07-04-2012, 09:31 AM
  7. Formula for numeric values based on text
    By quicksilver119 in forum Excel General
    Replies: 2
    Last Post: 08-05-2009, 03:23 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