ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Sum and If (https://www.excelbanter.com/new-users-excel/256921-sum-if.html)

Shirl

Sum and If
 
I am wanting to add numbers in Column B,d,f etc only if it equals the text in
Column A,c,e etc
--
Shirl, NZ

FSt1

Sum and If
 
hi
try this..
=SUMIF(B2:B8,"text",A2:A8)
or
sumif(range with criteria, criteria, range to sum)

Regards
FSt1

"Shirl" wrote:

I am wanting to add numbers in Column B,d,f etc only if it equals the text in
Column A,c,e etc
--
Shirl, NZ


L. Howard Kittle

Sum and If
 
I might be overlooking the obvious, but how can NUMBERS in a column equal
TEXT in another column?

Regards,
Howard

"Shirl" wrote in message
...
I am wanting to add numbers in Column B,d,f etc only if it equals the text
in
Column A,c,e etc
--
Shirl, NZ




T. Valko

Sum and If
 
Try this...

=SUMIF(A1:E5,"x",B1:F5)

Note how the ranges are offset.

--
Biff
Microsoft Excel MVP


"Shirl" wrote in message
...
I am wanting to add numbers in Column B,d,f etc only if it equals the text
in
Column A,c,e etc
--
Shirl, NZ




L. Howard Kittle

Sum and If
 
Okay, I'm still learning...<bg

Howard

"Shirl" wrote in message
...
I am wanting to add numbers in Column B,d,f etc only if it equals the text
in
Column A,c,e etc
--
Shirl, NZ





All times are GMT +1. The time now is 12:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com