ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Lookup/Match Formula (https://www.excelbanter.com/excel-worksheet-functions/244787-lookup-match-formula.html)

Dan R.

Lookup/Match Formula
 
Here's my spreadsheet:

Column B - PRICE (all different), Column C - QUANTITY (some blank)

Then several rows down I'm trying to calculate the total (price x
quantity of each item).

So basically I need it to look in column C and if it finds a number
then multiply that number by the value in column B of the same row. I
tried Lookup but it didnt work since you have to specify the number to
search for.

Any ideas? It must be a COUNTIF, MATCH, INDEX of some kind.

Thanks

Dan R.

Lookup/Match Formula
 
Nevermind, I rememeber... It's sumproduct.

Thanks.

On Oct 6, 10:42*pm, "Dan R." wrote:
Here's my spreadsheet:

Column B - PRICE (all different), Column C - QUANTITY (some blank)

Then several rows down I'm trying to calculate the total (price x
quantity of each item).

So basically I need it to look in column C and if it finds a number
then multiply that number by the value in column B of the same row. I
tried Lookup but it didnt work since you have to specify the number to
search for.

Any ideas? It must be a COUNTIF, MATCH, INDEX of some kind.

Thanks



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

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