Does If + vlookup work in this case

excelzunder

New Member
Joined
Apr 10, 2018
Messages
1
Hello,

I need to complete the table but I'm not sure how to write the formula in this case.
Could you please advise.

Chart A: original data

[TABLE="width: 500"]
<tbody>[TR]
[TD]Project
[/TD]
[TD]Product
[/TD]
[TD]Store
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]A
[/TD]
[TD]Store1
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]B
[/TD]
[TD]Store2
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]A
[/TD]
[TD]Store1
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]C
[/TD]
[TD]Store3
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]A
[/TD]
[TD]Store1
[/TD]
[/TR]
[TR]
[TD]2233
[/TD]
[TD]A
[/TD]
[TD]Store1
[/TD]
[/TR]
[TR]
[TD]2233
[/TD]
[TD]B
[/TD]
[TD]Store2
[/TD]
[/TR]
[TR]
[TD]2233
[/TD]
[TD]A
[/TD]
[TD]Store1
[/TD]
[/TR]
</tbody>[/TABLE]

Chart B: I need to complete "Store" column by formula

[TABLE="width: 500"]
<tbody>[TR]
[TD]Project
[/TD]
[TD]Product
[/TD]
[TD]Store
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]A
[/TD]
[TD]???
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]B
[/TD]
[TD]???
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]A
[/TD]
[TD]???
[/TD]
[/TR]
[TR]
[TD]1973
[/TD]
[TD]C
[/TD]
[TD]???
[/TD]
[/TR]
[TR]
[TD]2233
[/TD]
[TD]A
[/TD]
[TD]???
[/TD]
[/TR]
[TR]
[TD]2233
[/TD]
[TD]C
[/TD]
[TD]???
[/TD]
[/TR]
</tbody>[/TABLE]

Thank you!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Let A:C house Chart A and E:G ChartB.

In G2 control+shift+enter, not just enter, and copy down:

=INDEX($C$2:$C$9,MATCH($F2,IF($A$2:$A$9=$E2,$B$2:$B$9),0))
 
Upvote 0

Forum statistics

Threads
1,225,760
Messages
6,186,868
Members
453,380
Latest member
ShaeJ73

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