+ Reply to Thread
Results 1 to 6 of 6

xlookup, sumif and trend functions for particle size distribution calculation

  1. #1
    Registered User
    Join Date
    02-14-2022
    Location
    Cluj, Romania
    MS-Off Ver
    Microsoft Office 2021 Professional Plus
    Posts
    3

    xlookup, sumif and trend functions for particle size distribution calculation

    Hello everyone!

    I am trying to create a worksheet for the particle size distribution of soils from sieve and hydrometer test (geotechnical testing).

    As I am bit rusty and not an expert, I have encountered several problems in writing more complex formula and functions and I would greatly appreciate some help.

    First problem:
    I have tried to use together Xlookup and IFSsum, but I think I did not write the formula and conditions properly.

    I have two columns in Sheet 2, Particle Size and Percent, the values in both change for each sample we test.

    I need to calculate the sums in % from the second column (percent) for a given interval from the column one (Particle Size) and have them displayed in the second table (Quantity).

    Exemple: i need xloookup to search for all values in column two, corresponding for the interval >2 to > or equal 6.3 in column one, and give me the sum of all these values (the ones in column two).
    I don't know if I was clear enough..

    Second problem:
    In Sheet1 I need to calculate the Diameter of particles corresponding to the 10%, 30% and 60% of the total amount. I have written the formula, but I don't know how to tell excel to look in the both columns for the values, so I don't have to do it manually, because this also varies for each sample and its not a fixed cell. And the formula should look for these values from C25:C34 and from L43:L54, and the corresponding percent from E25:E34 and from N43:N54. This should be a value, not a sum.
    Exemple: the corresponding particle size diameter for 60% is 16.31

    Thank you so much for you help!
    Attached Files Attached Files
    Last edited by Ramish; 02-15-2022 at 03:42 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: xlookup, sumif and trend functions for particle size distribution calculation

    Welcome to the forum.

    I can't see where you have mocked up the results you are expecting (manually).

    Get rid of any merged cells - they will cause you more trouble than they are worth.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-14-2022
    Location
    Cluj, Romania
    MS-Off Ver
    Microsoft Office 2021 Professional Plus
    Posts
    3
    Hello AliGW. Thank you so much for taking the time to read my post and check the excel.
    The calculations are d10, d30, d60 colored in orange, right under the graphic in sheet 1.
    The results from the left table, left column in second sheet, colored in orange. The conditions are the ones in the right column, same table.

    I am not sure how to write them. I will try later today to bw more specific.
    Thank you.
    Last edited by AliGW; 02-14-2022 at 11:27 AM. Reason: PLEASE don't quote unnecessarily!

  4. #4
    Registered User
    Join Date
    10-01-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    78

    Re: xlookup, sumif and trend functions for particle size distribution calculation

    Hi Ramish,

    Try attached.
    You'll need to finish the formulas, but it should be self explanatory.

  5. #5
    Registered User
    Join Date
    02-14-2022
    Location
    Cluj, Romania
    MS-Off Ver
    Microsoft Office 2021 Professional Plus
    Posts
    3

    Re: xlookup, sumif and trend functions for particle size distribution calculation

    Thank you very, very much for your help, Neilosj. This works beautifully.
    I am very grateful!

  6. #6
    Registered User
    Join Date
    10-01-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    78

    Re: xlookup, sumif and trend functions for particle size distribution calculation

    Very welcome Ramish.
    If there are no improvements to be made, mark the thread as solved.

+ 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. [SOLVED] Nesting IF and XLOOKUP functions
    By Katterpillar19 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-12-2021, 12:19 PM
  2. [SOLVED] Combing SUMIF SEARCH and XLookup
    By Dustychops in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-23-2021, 02:24 PM
  3. Crew Size Prediction with Normal Distribution
    By kmaibusch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2021, 10:47 AM
  4. [SOLVED] Sum cell dependant on Ratio with XLOOKUP and SUMIF
    By dharvey1978 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2021, 10:11 AM
  5. [SOLVED] Trend Calculation using VBA
    By a_driga in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-24-2014, 09:54 PM
  6. Log-normal distribution curve trend line and equation
    By Alisterbstar in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-23-2013, 09:03 AM
  7. [SOLVED] size distribution curves
    By cliff in forum Excel General
    Replies: 0
    Last Post: 03-15-2006, 10:45 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