Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Add cells using a diffrent column as the criteria

I am trying to take a shipping report and add the cost of each package that
the weight is between 1.0 -2.0 lbs. so that I can figure out the cost of the
group prices so that I can see where I am getting my price breaks. So I
would like to use the criteria A1-A5 =1.1 - <=2.0 so that it will add C1 and
C3 because they are in the 1.0 €“ 2.0 lbs. so my returned value is $4.20. Any
help would be great!

A B C D
1 1.1 $2.10
2 5.6 $7.20
3 1.6 $2.10
4 7.8 $8.57
5 5.9 $7.20

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Add cells using a diffrent column as the criteria

Try

=SUMPRODUCT(--(A1:A5=1.1),--(A1:A5<=2),C1:C5)

If this post helps click Yes
---------------
Jacob Skaria


"Shaun" wrote:

I am trying to take a shipping report and add the cost of each package that
the weight is between 1.0 -2.0 lbs. so that I can figure out the cost of the
group prices so that I can see where I am getting my price breaks. So I
would like to use the criteria A1-A5 =1.1 - <=2.0 so that it will add C1 and
C3 because they are in the 1.0 €“ 2.0 lbs. so my returned value is $4.20. Any
help would be great!

A B C D
1 1.1 $2.10
2 5.6 $7.20
3 1.6 $2.10
4 7.8 $8.57
5 5.9 $7.20

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
compare cells in column to criteria, then average next column cell Bradwin Excel Worksheet Functions 2 July 21st 08 08:37 PM
find duplicate data in diffrent column Malik Nadeem Excel Discussion (Misc queries) 1 July 18th 06 11:02 AM
Need formula that will sum cells in a column bases on criteria in other cells. Jim Excel Worksheet Functions 3 February 18th 06 03:33 PM
Linking cells with a diffrent sheet with 2 cells Angelofdoom Excel Worksheet Functions 2 February 15th 06 04:20 PM
add a column only if 5 other cells on the row satisfy criteria zubin Excel Worksheet Functions 1 September 14th 05 09:27 AM


All times are GMT +1. The time now is 02:23 PM.

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

About Us

"It's about Microsoft Excel"