+ Reply to Thread
Results 1 to 5 of 5

select the quantity based on Tank no. and depth

  1. #1
    Registered User
    Join Date
    09-24-2011
    Location
    Yemen
    MS-Off Ver
    365
    Posts
    77

    select the quantity based on Tank no. and depth

    i have table contain three columns( Tank no. , Depth , Quantity )
    i need formula to extract the quantity of any selected tank based on actual tank's depth

    For example
    Tank no. 6 , depth 1 meter ,Quantity =8073
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: select the quantity based on Tank no. and depth

    Try in J2

    =SUMIFS(C:C,A:A,H2,B:B,I2)


    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    09-24-2011
    Location
    Yemen
    MS-Off Ver
    365
    Posts
    77

    Re: select the quantity based on Tank no. and depth

    Ace_XL YOU ARE THE MAN
    THATS WORK PERFECTLY
    MANY THANKS FOR YOUR HELP

  4. #4
    Registered User
    Join Date
    09-24-2011
    Location
    Yemen
    MS-Off Ver
    365
    Posts
    77

    Re: select the quantity based on Tank no. and depth

    Moreover.. How to change cell value J2 based on tank number in cell H2 ?

    Thanks in advance

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: select the quantity based on Tank no. and depth

    Perhaps I don't understand what you are asking.
    Using Ace_XL's formula the value in J2 does change when the tank number in H2 changes.
    Please clarify what it is that you want by giving a specific example that references the file attached to post #1 or post a new file that illustrates what you are asking.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Predictive chemical ordering based on tank level
    By radradryan in forum Excel General
    Replies: 5
    Last Post: 02-25-2015, 06:12 AM
  2. [SOLVED] Find volume based on depth in relation to a fill table
    By Eddles in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-19-2014, 04:28 PM
  3. sorting data based on depth ranges
    By justmcd in forum Excel General
    Replies: 1
    Last Post: 10-23-2013, 03:34 AM
  4. How to measure fuel in cylindrical tank,Base tank and rectangular tank
    By koolboy65 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-17-2012, 02:31 AM
  5. calculating based on a range of variable depth (VBA)
    By khajja in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-15-2011, 07:38 PM
  6. Replies: 5
    Last Post: 11-23-2009, 06:24 PM
  7. Replies: 2
    Last Post: 05-07-2006, 03:20 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