• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

need extract a common value from multiple cells

udprocks

Member
Hi,

I need to extract data from two cells that is common value in both cells .

i have attached a sample sheet for same.

any help much appericiated.
 

Attachments

Hi,

IF you allow us to add 3 extra column to get the numerical value of the data
you can use the attached file formula to get your desired result
here I also believe that your string of all numerical value will be one after another

regards
Naresh
 

Attachments

Hi,

IF you allow us to add 3 extra column to get the numerical value of the data
you can use the attached file formula to get your desired result
here I also believe that your string of all numerical value will be one after another

regards
Naresh

thanks naresh, its cool working for me.
 
I misread the requirement, most probably.
Which result is accurate
abc1da1f ---> a1a1a1a1a1a = 11111 (digit is found so report it)
abc1da1f ---> a1a1a1a1a1a = 11 (matching digit, count)
abc1da1f ---> a1a1a1a1a1a = 1 (matching single max case)

I thought third as requirement. Here's a formula which will give you maximum match number which needs to be entered by CSE.
=MAX(IF(ISNUMBER(FIND(MID(B2,COLUMN($A$1:INDEX($1:$1,LEN(B2))),ROW($A$1:INDEX($A:$A,LEN(B2)))),A2))*ISNUMBER(--MID(B2,COLUMN($A$1:INDEX($1:$1,LEN(B2))),ROW($A$1:INDEX($A:$A,LEN(B2))))),--MID(B2,COLUMN($A$1:INDEX($1:$1,LEN(B2))),ROW($A$1:INDEX($A:$A,LEN(B2)))),0))
 
I misread the requirement, most probably.
Which result is accurate

abc1da1f ---> a1a1a1a1a1a = 1 (matching single max case)

I thought third as requirement. Here's a formula which will give you maximum match number which needs to be entered by CSE.
=MAX(IF(ISNUMBER(FIND(MID(B2,COLUMN($A$1:INDEX($1:$1,LEN(B2))),ROW($A$1:INDEX($A:$A,LEN(B2)))),A2))*ISNUMBER(--MID(B2,COLUMN($A$1:INDEX($1:$1,LEN(B2))),ROW($A$1:INDEX($A:$A,LEN(B2))))),--MID(B2,COLUMN($A$1:INDEX($1:$1,LEN(B2))),ROW($A$1:INDEX($A:$A,LEN(B2)))),0))
dear sir,

exactly third one is requirement like
its work like charm....

thanks you so much ,...:)
 
Back
Top