ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   to search for a string and affect data if it finds the string? (https://www.excelbanter.com/excel-worksheet-functions/64345-search-string-affect-data-if-finds-string.html)

Shwaman

to search for a string and affect data if it finds the string?
 
I would like to say:

if H17 is equal to any cells between H11 and H16 then add the corresponding
I value to I17.

Max

to search for a string and affect data if it finds the string?
 
One guess ..

Put in I17: =SUMIF(H11:H16,H17,I11:I16)
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Shwaman" wrote in message
...
I would like to say:

if H17 is equal to any cells between H11 and H16 then add the

corresponding
I value to I17.





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

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