Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Need to add values based on three other criteria

Hi Carim,

The sumproduct() function doesnt do what I need,

What I'm basically after is summing various values from cells in
column G based on the criteria of
value in same row from column A AND Column C AND Column H so for
example

when A1 is 4 AND C1 is Test AND H1 is Consumables the value of G1 is
added to a variable.

I then need to loop through to the next row and perform the same
check, if the same criteria are matched then I need to add the value
from G2 to the variable.

When I have looped through the rows I can then put the total (that
might be something along the lines of the sum of (G1, G2, G4, G100)
into a cell on the spreadsheet so that I can use it elsewhere. I seem
to be able to manage everything apart from actually matching the
criteria.

Regards

J

On 31 Aug 2006 01:44:10 -0700, "Carim" wrote:

Hi,

take a look at the function Sumproduct() ...
it will easily fix your problem ...

HTH
Cheers
Carim

Reply
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
Need sum of top values in a range based on criteria CSchwass Excel Worksheet Functions 5 August 28th 09 11:09 PM
Sum of values based on different criteria Irene Excel Discussion (Misc queries) 4 November 19th 08 11:17 PM
Sum unique values based on criteria yshridhar Excel Worksheet Functions 4 April 29th 08 05:29 AM
Looking up values based on two criteria LauriS Excel Worksheet Functions 8 August 24th 07 02:30 PM
adding values based on criteria Brad Excel Worksheet Functions 1 July 20th 05 06:16 PM


All times are GMT +1. The time now is 07:27 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"