Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default =SUMIF Help!!

We can use the ROWS() function to generate the last digit. Say in A1 thru
B30 we have:

004 107
009 104
007 117
009 100
009 111
002 108
004 116
001 109
002 101
002 114
007 113
003 102
003 117
007 103
002 108
004 105
004 110
006 118
006 103
008 120
001 118
002 111
006 105
009 120
001 119
002 106
008 109
005 104
003 104
004 101

were column A is Text

Instead of a set of formulas like:

=SUMIF(A1:A30,"001",B1:B30)
=SUMIF(A1:A30,"002",B1:B30)

we can use:

=SUMIF($A$1:$A$30,"00" & ROWS($A$1:A1),$B$1:$B$30) and copy down
--
Gary''s Student - gsnu200856


" wrote:

Any one can help up the following case, how to set up the number in
"criteria" to be continue, so that i not neet to key in one by one, sample

=SUMIF('Data In (Agent 1)'!B14:B233,"003",'Data In (Agent 1)'!C14:C233)

as above sample format, how to automatically adjust the number "003" to
"004" for the next row format?

thank you.

regards,
Lee

 
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 Kip Excel Worksheet Functions 1 June 9th 05 12:55 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 01:13 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"