ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Calculating totals in a column based on a lookup in another column (https://www.excelbanter.com/excel-worksheet-functions/22148-calculating-totals-column-based-lookup-another-column.html)

Michael Wright via OfficeKB.com

Calculating totals in a column based on a lookup in another column
 
Hi all,

I am trying to do the following on the same worksheet:

Calculate a total in one column based on an 'if' function from another
column and return it in another cell.

Can anyone suggest how I might do this - I have tried combining an 'if'
statement with a 'sum' statement - I'm afraid that i cannot find the right
syntax.

Any advice gratefully received.

Regards,

Mike

--
Message posted via http://www.officekb.com


Hi

You were close! Have a look at the SUMIF function.

--
Andy.


"Michael Wright via OfficeKB.com" wrote in
message ...
Hi all,

I am trying to do the following on the same worksheet:

Calculate a total in one column based on an 'if' function from another
column and return it in another cell.

Can anyone suggest how I might do this - I have tried combining an 'if'
statement with a 'sum' statement - I'm afraid that i cannot find the right
syntax.

Any advice gratefully received.

Regards,

Mike

--
Message posted via http://www.officekb.com





All times are GMT +1. The time now is 07:14 PM.

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