+ Reply to Thread
Results 1 to 3 of 3

Sum If Between ranges

  1. #1
    Registered User
    Join Date
    08-28-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    57

    Sum If Between ranges

    Hi

    I am needing the following result in Column E, if B is over 210 & less than 238 the value *.20P will appear in Column E the maximum for this will be 28 x £0.20 = £5.60
    if B is over 238 & to a maximum of 285 the value *.85P will appear in Column F, the Maximum will be 47 x £0.85 = £39.95

    Thanks In advance
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Sum If Between ranges

    e8=MEDIAN(B8-210,28,0)*20%*(D8>0)
    f8=MEDIAN(B8-238,47,0)*85%*(D8>0)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    08-28-2020
    Location
    England
    MS-Off Ver
    365
    Posts
    57

    Re: Sum If Between ranges

    Thanks so much for your help.

+ 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. Creating 'Network IP' and 'Subnet IP' Ranges from IP CIDR subnets ranges
    By sokolum in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2019, 06:46 AM
  2. [SOLVED] Use 2 Different Named Cell Ranges To Return Values From 1 Of the Ranges In Formula
    By DESSTRO in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-20-2017, 08:37 PM
  3. Replies: 11
    Last Post: 06-30-2016, 07:07 PM
  4. [SOLVED] VBA to accept pasting current named ranges into defined ranges
    By phpolicylady in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-01-2015, 01:33 PM
  5. Percentile ranges - keeping data & ranges seprately in different tabs
    By Santhoshhrishi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-11-2014, 10:09 AM
  6. Replies: 0
    Last Post: 10-15-2012, 07:24 AM
  7. Copy data in named ranges to a newer version of the same template to identical ranges
    By handstand in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-21-2006, 10:51 AM

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