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 HELP WITH FORMULA, possible an array

I have a spreadsheet with the following columns:
Plant (D), Cases In (E), Cases Out (F)

I want to pick a column (plant) and for every row that has CASSVILLE in
it, I want to add the number of cases in

I thought I could use =SUM(IF(D5:D100="CASSVILLE",E5:E100) but this is
just giving me =REF.

Please help me out on what formula I should be using.

Thanks,
Barry Bridges

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default NEED HELP WITH FORMULA, possible an array

After re-reading this, I also want to make clear that I want to have a
total of all of the rows that have CASSVILLE in them.



wrote:
I have a spreadsheet with the following columns:
Plant (D), Cases In (E), Cases Out (F)

I want to pick a column (plant) and for every row that has CASSVILLE in
it, I want to add the number of cases in

I thought I could use =SUM(IF(D5:D100="CASSVILLE",E5:E100) but this is
just giving me =REF.

Please help me out on what formula I should be using.

Thanks,
Barry Bridges


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default NEED HELP WITH FORMULA, possible an array

=sumproduct(--(D5:D100="CASSVILLE"), --(E5:E100))

for further reference check out...

http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
HTH...

Jim Thomlinson


" wrote:

After re-reading this, I also want to make clear that I want to have a
total of all of the rows that have CASSVILLE in them.



wrote:
I have a spreadsheet with the following columns:
Plant (D), Cases In (E), Cases Out (F)

I want to pick a column (plant) and for every row that has CASSVILLE in
it, I want to add the number of cases in

I thought I could use =SUM(IF(D5:D100="CASSVILLE",E5:E100) but this is
just giving me =REF.

Please help me out on what formula I should be using.

Thanks,
Barry Bridges



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default NEED HELP WITH FORMULA, possible an array

Thanks for your help, this fixed my problem.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default NEED HELP WITH FORMULA, possible an array


With the total for each case (plant) select the cell where you want to
have te result and use the SUM.IF formula, just follow the
instructions.
And for having the total rows for each case use COUNT.IF
If the number of rows is getting larger is it good to setup the
formulas with much larger ranges.
I hope this help you out.

Carlos

Sorry if a had any spelling problem. English is not my natal language.


--
CarlosAndres
------------------------------------------------------------------------
CarlosAndres's Profile: http://www.excelforum.com/member.php...o&userid=34169
View this thread: http://www.excelforum.com/showthread...hreadid=539340



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
Array formula SUMIF with 2D sum_range array Rich_84 Excel Worksheet Functions 3 April 3rd 09 10:46 PM
Array formula: how to join 2 ranges together to form one array? Rich_84 Excel Worksheet Functions 2 April 1st 09 06:38 PM
Find specific value in array of array formula DzednConfsd Excel Worksheet Functions 2 January 13th 09 06:19 AM
Tricky array formula issue - Using array formula on one cell, then autofilling down a range aspenbordr Excel Programming 0 July 27th 05 03:59 PM
Convert Normal formula to array formula Pradip Jain Excel Programming 4 May 23rd 05 04:32 PM


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