Home |
Search |
Today's Posts |
#1
|
|||
|
|||
sumif Question
I have two column of data like:
A B A45 $345.68 A35 $23.96 G38 $457.98 A13 $670.01 G68 $43.82 How may I sum the Column B data only if the corresponding column A data is started by G? Thanks. Jason |
#2
|
|||
|
|||
Try...
=SUMPRODUCT(--(LEFT(A1:A5)="G"),B1:B5) Hope this helps! In article , "Jason" wrote: I have two column of data like: A B A45 $345.68 A35 $23.96 G38 $457.98 A13 $670.01 G68 $43.82 How may I sum the Column B data only if the corresponding column A data is started by G? Thanks. Jason |
#3
|
|||
|
|||
=SUMPRODUCT(--(LEFT(A1:A100,1)="G"),B1:B100)
-- HTH RP (remove nothere from the email address if mailing direct) "Jason" wrote in message ... I have two column of data like: A B A45 $345.68 A35 $23.96 G38 $457.98 A13 $670.01 G68 $43.82 How may I sum the Column B data only if the corresponding column A data is started by G? Thanks. Jason |
#4
|
|||
|
|||
=SUMIF(A:A,"G*",B:B)
HTH Jason Atlanta, GA -----Original Message----- I have two column of data like: A B A45 $345.68 A35 $23.96 G38 $457.98 A13 $670.01 G68 $43.82 How may I sum the Column B data only if the corresponding column A data is started by G? Thanks. Jason . |
#5
|
|||
|
|||
Works beautifully. Thanks a lot.
Jason "Jason Morin" wrote: =SUMIF(A:A,"G*",B:B) HTH Jason Atlanta, GA -----Original Message----- I have two column of data like: A B A45 $345.68 A35 $23.96 G38 $457.98 A13 $670.01 G68 $43.82 How may I sum the Column B data only if the corresponding column A data is started by G? Thanks. Jason . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to use SUMIF to return sums between two values located in cells | Excel Worksheet Functions | |||
SUMIF Not | Excel Discussion (Misc queries) | |||
SUMIF question | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions | |||
SUM(IF( Array to avoid #NUM! values | Excel Worksheet Functions |