Matching Formula Problem

MikeRob

New Member
Joined
May 8, 2020
Messages
27
Office Version
  1. 2016
Platform
  1. Windows
I'm having a tough time with this and think I'm very close but cant quite get the. i was trying if statements, index match, but cant get it to quite work.
here's what I'm trying to do in column a the letters appear in sets of 5, and in column b, the letters appear 1 each. how can I achieve the result where in column c a value od 1 is returned in column c's cells because they match column b?

see image:

aa
1​
how to get c 1-5 to return 1 cause they match b
ab
1​
how to get c 6 - 10 to return 1 cause they match b2
ac
1​
how to get c 11 -15 to return 1 cause they match b3
ad
1​
how to get c 16 - 20 to return 1 cause they match b4
a
1​
b
1​
b
1​
b
1​
b
1​
b
1​
c
1​
c
1​
c
1​
c
1​
c
1​
d
1​
d
1​
d
1​
d
1​
d
1​
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
That isn't entirely clear to me. Is this the sort of thing you mean?

20 10 29.xlsm
ABC
1aa1
2ac1
3a1
4b 
5b 
6b 
7c1
8c1
9c1
MikeRob
Cell Formulas
RangeFormula
C1:C9C1=IF(ISNUMBER(MATCH(A1,B:B,0)),1,"")
 
Upvote 0
Solution
That isn't entirely clear to me. Is this the sort of thing you mean?

20 10 29.xlsm
ABC
1aa1
2ac1
3a1
4b 
5b 
6b 
7c1
8c1
9c1
MikeRob
Cell Formulas
RangeFormula
C1:C9C1=IF(ISNUMBER(MATCH(A1,B:B,0)),1,"")
Solid... it worked like a charm!!! thank you ever so much for your help. I’ll be sure to give you a thumbs up and a follow... thank you for your help I really appreciate! it I’ll be sure to come to you as well for any more questions or problems I may need solved!
 
Upvote 0
Solid... it worked like a charm!!! thank you ever so much for your help. I’ll be sure to give you a thumbs up and a follow... thank you for your help I really appreciate!
You're welcome. Thanks for the follow-up. :)
If you choose, since a recent forum upgrade, you can now also mark a particular post as the solution by clicking the tick mark at the top right of that post.

I’ll be sure to come to you as well for any more questions or problems I may need solved!
You will need to just post in the forum again, rather than "come to me" specifically.
 
Upvote 0

Forum statistics

Threads
1,224,872
Messages
6,181,498
Members
453,047
Latest member
charlie_odd

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top