A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Cell reference



 
 
Thread Tools Display Modes
  #1  
Old November 12th, 2009, 04:05 PM posted to microsoft.public.excel.misc
sc
external usenet poster
 
Posts: 41
Default Cell reference

On the below formula I would like to count if the data in A6 is contained in
A7 where A7 may have more data.

=COUNTIFS(A6,"=" & A7)

Specifically, A6 may be CE where A7 is CECFCG.
I'm not sure what to put in place of "=" to pull a wildcard type result of CE*
  #2  
Old November 12th, 2009, 04:29 PM posted to microsoft.public.excel.misc
CLR
external usenet poster
 
Posts: 1,638
Default Cell reference

Maybe........

=ISNUMBER(SEARCH(A6,A7))

Vaya con Dios,
Chuck, CABGx3




"sc" wrote:

On the below formula I would like to count if the data in A6 is contained in
A7 where A7 may have more data.

=COUNTIFS(A6,"=" & A7)

Specifically, A6 may be CE where A7 is CECFCG.
I'm not sure what to put in place of "=" to pull a wildcard type result of CE*

  #3  
Old November 12th, 2009, 04:51 PM posted to microsoft.public.excel.misc
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Cell reference

You are close

'use wildcard
=COUNTIF(A7,"*" & A6 & "*")

'combined with IF() function
=IF(COUNTIF(A7,"*" & A6 & "*"),"Yes","no")

If this post helps click Yes
---------------
Jacob Skaria


"sc" wrote:

On the below formula I would like to count if the data in A6 is contained in
A7 where A7 may have more data.

=COUNTIFS(A6,"=" & A7)

Specifically, A6 may be CE where A7 is CECFCG.
I'm not sure what to put in place of "=" to pull a wildcard type result of CE*

  #4  
Old November 12th, 2009, 05:39 PM posted to microsoft.public.excel.misc
sc
external usenet poster
 
Posts: 41
Default Cell reference

Worked great, thanks. I really only needed the wild card after the entry so
=COUNTIF(A7,A6 & "*") is what I end up with. Didn't really understand the
cell reference format until now.


"Jacob Skaria" wrote:

You are close

'use wildcard
=COUNTIF(A7,"*" & A6 & "*")

'combined with IF() function
=IF(COUNTIF(A7,"*" & A6 & "*"),"Yes","no")

If this post helps click Yes
---------------
Jacob Skaria


"sc" wrote:

On the below formula I would like to count if the data in A6 is contained in
A7 where A7 may have more data.

=COUNTIFS(A6,"=" & A7)

Specifically, A6 may be CE where A7 is CECFCG.
I'm not sure what to put in place of "=" to pull a wildcard type result of CE*

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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