ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   make sumproduct lookup case sensitive (https://www.excelbanter.com/excel-worksheet-functions/215906-make-sumproduct-lookup-case-sensitive.html)

PBcorn

make sumproduct lookup case sensitive
 
I'm using sumproduct to look up a value in column 5 based on values in
columns 1 and 2:

SUMPRODUCT((TRIM('Sheet1'!$A$9:$A$97)=TRIM(A13))*( TRIM('Sheet1'!$B$9:$B$97)=TRIM(B13)),'Sheet1'!$H$9 :$H$97)

however i need it to treat two strings, identical aprt from the case of
certain letters, as separate items.

Any suggestions?

Pete_UK

make sumproduct lookup case sensitive
 
Use the EXACT function.

Hope this helps.

Pete

On Jan 9, 10:06*am, PBcorn wrote:
I'm using sumproduct to look up a value in column 5 based on values in
columns 1 and 2:

SUMPRODUCT((TRIM('Sheet1'!$A$9:$A$97)=TRIM(A13))*( TRIM('Sheet1'!$B$9:$B$97)*=TRIM(B13)),'Sheet1'!$H$ 9:$H$97)

however i need it to treat two strings, identical aprt from the case of
certain letters, as separate items.

Any suggestions?




All times are GMT +1. The time now is 11:54 AM.

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