ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   sum if wildcard (https://www.excelbanter.com/new-users-excel/86069-sum-if-wildcard.html)

Marcel

sum if wildcard
 
Hi, im trying to sum data based on data in another cell and need to
incorporate a wildcard character. My formula is

=SUM(IF($G$2:$G$52997=BA2,$M$2:$M$52997,0))

I need to use the asterix (*) wildcard with the cell BA2.

Is this possible ? Thanks, Marcel.

Bob Phillips

sum if wildcard
 
=SUMIF($G$2:$G$52997,"*"&BA2&"*",$M$2:$M$52997)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Marcel" wrote in message
...
Hi, im trying to sum data based on data in another cell and need to
incorporate a wildcard character. My formula is

=SUM(IF($G$2:$G$52997=BA2,$M$2:$M$52997,0))

I need to use the asterix (*) wildcard with the cell BA2.

Is this possible ? Thanks, Marcel.





All times are GMT +1. The time now is 01:31 PM.

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