Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Carpie
 
Posts: n/a
Default If B2 = anything in column C, add A1

What would the proper function for this be? I thought I could use sumproduct
but I'm not getting what I expected.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Carpie
 
Posts: n/a
Default If B2 = anything in column C, add A1

Forget. Two seconds after posting I figured it out.

"Carpie" wrote:

What would the proper function for this be? I thought I could use sumproduct
but I'm not getting what I expected.

  #3   Report Post  
Posted to microsoft.public.excel.misc
David Billigmeier
 
Posts: n/a
Default If B2 = anything in column C, add A1

I think this is what you want.... This function will output the value in A1
if the value in B2 appears in ANY text string in column C.

=IF(COUNTIF(C:C,"*"&B2&"*")0,A1,"")

Does that help?
--
Regards,
Dave


"Carpie" wrote:

What would the proper function for this be? I thought I could use sumproduct
but I'm not getting what I expected.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check COlumn - Excel VBA magix Excel Discussion (Misc queries) 11 November 5th 05 02:32 AM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Count Position of Filtered TEXT cells in a column Sam via OfficeKB.com Excel Worksheet Functions 8 May 18th 05 04:23 AM
How to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 12:17 AM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


All times are GMT +1. The time now is 10:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"