+ Reply to Thread
Results 1 to 5 of 5

Calculate the volume of multiple tanks based on the number of the tanks

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

    Calculate the volume of multiple tanks based on the number of the tanks

    I need a formula to calculate the volume in liters based on the number of the tank number in another sheets (CM and MM)

    The volume is calculated by looking for the value in column(cm) at the tank sheet and returning the value in another column (liters), and then also add/sum the millimeters value in sheet(MM)
    liters to the total of liters as total calculated liters

    Please find the attached example
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,421

    Re: Calculate the volume of multiple tanks based on the number of the tanks

    One example is not much to go on, but try this in E5 of the TANKS sheet:

    =INDEX(CM!$A$4:$AF$1503,MATCH($C5,CM!$A$4:$A$1503,0),MATCH($B5,CM!$2:$2,0)+1) + INDEX(MM!$A$4:$AH$12,MATCH($D5,MM!$A$4:$A$12,0),MATCH($B5,MM!$2:$2,0)+1)

    Copy down as required.

    Hope this helps.

    Pete

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

    Re: Calculate the volume of multiple tanks based on the number of the tanks

    Quote Originally Posted by Pete_UK View Post
    One example is not much to go on, but try this in E5 of the TANKS sheet:

    =INDEX(CM!$A$4:$AF$1503,MATCH($C5,CM!$A$4:$A$1503,0),MATCH($B5,CM!$2:$2,0)+1) + INDEX(MM!$A$4:$AH$12,MATCH($D5,MM!$A$4:$A$12,0),MATCH($B5,MM!$2:$2,0)+1)

    Copy down as required.

    Hope this helps.

    Pete
    Thank you very much thats GREAT ... BUT it doesnt work if the mm value is empty or zero , for example 2cm 0mm
    also i would like it to recognize between empty cell and zero value ,for example 0 value =2145 liters but empty cell means no value
    Thanks for your help

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

    Re: Calculate the volume of multiple tanks based on the number of the tanks

    Plz ignore my previous reply the problem solved ,
    Thank you very much Pete_UK

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,421

    Re: Calculate the volume of multiple tanks based on the number of the tanks

    Glad to help, and thanks for the rep.

    Pete

+ 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] Calculate the volume based on the number of the tank
    By meonly123 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-02-2023, 07:43 PM
  2. Depleting Fuel Inventory Using Multiple Tanks, and Tanks of Various Volumes
    By Stephen_YK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-30-2023, 08:47 PM
  3. Help Request, formula help on tanks
    By donkey131 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-09-2017, 05:58 PM
  4. [SOLVED] Calculating Current Capacity on Fuel Tanks
    By GeminiG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2016, 01:15 PM
  5. Volume in horizontal round tanks???
    By Richard Larson in forum Excel General
    Replies: 4
    Last Post: 01-16-2013, 07:47 PM
  6. MPG's between "Full tanks"
    By impala096 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-04-2008, 12:10 PM
  7. Changed printer ink tanks
    By postalpat in forum Excel General
    Replies: 1
    Last Post: 03-15-2005, 09:06 PM

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