ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF functions based on conditional values (https://www.excelbanter.com/excel-worksheet-functions/138741-if-functions-based-conditional-values.html)

mishmash

IF functions based on conditional values
 
I'm having problems creating a formula for adding the values of cells in one
column based on the values in another column. It's currency based so I'm
trying to figure out how to add all the values in one column based on whether
a row in another column contains a certain currency, entered as text.

So far I'm coming up with a blank, can any gurus out there help me?

mishmash

IF functions based on conditional values
 
I should add that I'm using Excel 2002.

Thanks

"mishmash" wrote:

I'm having problems creating a formula for adding the values of cells in one
column based on the values in another column. It's currency based so I'm
trying to figure out how to add all the values in one column based on whether
a row in another column contains a certain currency, entered as text.

So far I'm coming up with a blank, can any gurus out there help me?


PCLIVE

IF functions based on conditional values
 
Try SUMIF:

=SUMIF(B:B,"Yes",A:A)

In this formula, your values to add are in column A and your criteria for
adding these values is in column B. The criteria to match in column B is
"Yes". Modify as needed.

HTH,
Paul

"mishmash" wrote in message
...
I'm having problems creating a formula for adding the values of cells in
one
column based on the values in another column. It's currency based so I'm
trying to figure out how to add all the values in one column based on
whether
a row in another column contains a certain currency, entered as text.

So far I'm coming up with a blank, can any gurus out there help me?





All times are GMT +1. The time now is 09:52 PM.

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