ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sum based on value in another field (https://www.excelbanter.com/excel-worksheet-functions/48800-sum-based-value-another-field.html)

cindee

Sum based on value in another field
 
I have a range of prices in column A. In column B, I put a check next to
what I'd like to order. The bottom of Column A should only total values that
have a corresponding check in column B.

Sounds simple enough but I'm stumped. Please help!

Thanks,

Cindee

David Billigmeier

What is your "Check Mark?" I just assumed it was an "x", if not, change to
fit your data (also change the row numbers to match):

=SUMIF(B1:B10,"x",A1:A10)


--
Regards,
Dave


"cindee" wrote:

I have a range of prices in column A. In column B, I put a check next to
what I'd like to order. The bottom of Column A should only total values that
have a corresponding check in column B.

Sounds simple enough but I'm stumped. Please help!

Thanks,

Cindee


cindee

Thanks, David! That wasn't so difficult...I guess I was being lazy today!

"David Billigmeier" wrote:

What is your "Check Mark?" I just assumed it was an "x", if not, change to
fit your data (also change the row numbers to match):

=SUMIF(B1:B10,"x",A1:A10)


--
Regards,
Dave


"cindee" wrote:

I have a range of prices in column A. In column B, I put a check next to
what I'd like to order. The bottom of Column A should only total values that
have a corresponding check in column B.

Sounds simple enough but I'm stumped. Please help!

Thanks,

Cindee



All times are GMT +1. The time now is 11:47 PM.

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