Formula to Match Text and update for same values in the row

sur

Board Regular
Joined
Jul 4, 2011
Messages
177
Hello Team,

Need to look for "AA" in the Text and if so update the Yes in result , for those multiple invoices if the Text is also not equal to "AA".

i have trying with below formula, but stuck:

=IF(AD16="AA","Yes",IF(MATCH(J16,$J$16:$J$22,0),"Yes","No"))


[TABLE="width: 272"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]INV No.[/TD]
[TD]Text[/TD]
[TD]Result[/TD]
[/TR]
[TR]
[TD="align: right"]27[/TD]
[TD]AA[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD="align: right"]27[/TD]
[TD]BB[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD="align: right"]28[/TD]
[TD]BB[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD="align: right"]28[/TD]
[TD]BB[/TD]
[TD]No[/TD]
[/TR]
[TR]
[TD="align: right"]29[/TD]
[TD]BB[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD="align: right"]29[/TD]
[TD]BB[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD="align: right"]299[/TD]
[TD]AA[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
In your example why are the 28,BB rows flagged as "No", but the next 2rows are flagged "Yes"?
 
Upvote 0
I'm assuming 299 is a typo (should be 29). If i'm right try...

Formula in C2 copied down
=IF(COUNTIFS(A:A,A2,B:B,"AA"),"Yes","No")

M.
 
Upvote 0

Forum statistics

Threads
1,223,889
Messages
6,175,224
Members
452,620
Latest member
dsubash

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