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

Project
Product
Store
1973
A
Store1
1973
B
Store2
1973
A
Store1
1973
C
Store3
1973
A
Store1
2233
A
Store1
2233
B
Store2
2233
A
Store1

<tbody>
</tbody>

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

Project
Product
Store
1973
A
???
1973
B
???
1973
A
???
1973
C
???
2233
A
???
2233
C
???

<tbody>
</tbody>

Thank you!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
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,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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