LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Sumif extrapolated


Is there a way to do this?

On my boat I have ballast tanks that carry different cargoes.

example: cell A1 to A5 will contain the name of the product. and cell B1 to
B5 will contain amount of barrels in the tank.
lets say the products are ballast water, fresh water, or potable water. in
Cells C1 to C5 I want a formula to track how many bbls of what product is in
the tanks. example: if I enter "fresh water" in A1 and A2 and B1 and B2
contain 100. then a cell in the C row will say "200 bbls fresh water".

I know how to do this using the sumif function but, I want to be able to
change the product names in A1 to A5 to any text and still have the cells in
C row keep track of what that text is and how many bbls are in the cell in
the B row corrosponding to that tank.

And stated different, with sumif I can do =sumif(A1:A5,"fresh water",B1:B5)
for every cell that says "fresh water then the no. value stored in the cell
next to it in the B row will be totaled in the c row and say "200 bbls fresh
water". but I want to be able to change the product name in row A to whatever
I want and still have the C row track it the same way.

I tried to make this clear but I dont know if I did.

I have win xp home and XP office excel 2002.

Any insight would help.

thanks in advance

Greg





 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
SUMIF David French Excel Worksheet Functions 2 May 17th 05 06:13 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 12:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"