+ Reply to Thread
Results 1 to 5 of 5

Adding a range of numbers between to data points

  1. #1
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Adding a range of numbers between to data points

    Hi,

    Need help in building a formula that will sum a range of number based on a start weight and end weight within a matrix. Result will go into Cell B10 in the spreadsheet.

    Need to add a range of numbers in the D column between the start weight shown in B7 and the end weight shown in B8. Weight column (Column A) is the array of weights to reference.

    Note that in column A, there are gaps between numbers. Formula must find number closest in the range. Example: Formula would find A33 (400) to be the start weight for this is closest number to 401. It would find A354 (1299) for this is the number closest to 1300 shown in B8.

    Thank in advance for the help.

    -Manny
    Attached Files Attached Files
    Last edited by Prof Sick; 07-23-2019 at 03:56 PM. Reason: Problem Solved, Thanks!

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Adding a range of numbers between to data points

    It seems to me like a basic SUMIFS() function: https://support.office.com/en-us/art...6-611cebce642b Try something like =SUMIFS(D15:D408,A15:A408,">=400",A15:A408,"<=1300")
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Re: Adding a range of numbers between to data points

    Thanks for the help. Wanting to not need to go into the formula to change the range. Want to be able to change the values in both the B7 and B8 cells to get various sums.

    -Manny

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Adding a range of numbers between to data points

    Note that the criteria is just a text string ">=400". You can use the CONCATENATE() function or concatenate operator & to combine the relational operator with a cell value into the resulting string ">="&B7, for example.

  5. #5
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Re: Adding a range of numbers between to data points

    Perfect! That did the trick. Thanks for the help on this.

    -Manny

+ 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. Adding overlay data points to a box and whisker plot
    By BryceM in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-11-2019, 09:37 AM
  2. Adding Labels to Data Points in Scatter Plot Chart
    By Stopea in forum Excel General
    Replies: 10
    Last Post: 05-21-2014, 08:25 PM
  3. Comparing rows of data and adding 'points' for every duplicate
    By dee1989 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-30-2013, 07:48 AM
  4. adding data points with different x-axis values to a graph
    By st!ngray in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-19-2012, 09:22 AM
  5. Adding points delaminated numbers in cells
    By JamesDriver in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-29-2012, 10:31 PM
  6. adding space between data points in a column
    By John David in forum Excel General
    Replies: 5
    Last Post: 11-23-2010, 02:19 PM
  7. Replies: 2
    Last Post: 10-20-2010, 08:52 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