ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Find Text, Then Return the Sum of its values in Col D (https://www.excelbanter.com/excel-programming/453956-find-text-then-return-sum-its-values-col-d.html)

[email protected]

Find Text, Then Return the Sum of its values in Col D
 
I am looking to find a piece of VBA that will look up certain text in a column and where found return the values in another column

Example

Say I'm looking for the number "America" appears in Column B, then for each instance add together the values in Column D

The Text in Column B will be of multiple words, thus in any line where "America" appears in Cilumn B then sum up the values associated with this in Column D


All times are GMT +1. The time now is 02:43 AM.

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