Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9788

Formula to Have Sheet Populate Data From Another Sheet If Referenced Cell Exists in Import Sheet

$
0
0

I am doing my best to write formulas, but I am still super new to it all. I am doing my best to figure out how they work and I am stuck at the moment.

I am looking for a formula that can reference cells A1:A on my main sheet, and reference another sheet (for this we will call the referenced sheet "Data Import") for the same value to exist in cells C1:C and populate with the values on the same row of that existing value (A1:A from source sheet, matching C1:C of Data Import) in cells L1:L of the Data Import sheet. Ideally, this will generate a list of all the items that match A1:A with the corresponding data from L1:L in "Data Import" that is in row with the information on C1:C of "Data Import" that matches A1:A from the main sheet.

I am stuck and really failing with trying to piece this together. The formula I tried to write is:

=If($A$1:$A="'Data Import!$C$1:$C,vlookup('Data Import'!$L$1:$L,2,false),"")")

This does yield an "#N/A" on result. I am sure this formula is not what I need, but I don't know what else to try.

Here is a link to example reference sheet that can be edited... sorry for not including that!https://docs.google.com/spreadsheets/d/10gYx08Ei0_EV0NHfQAcu-8T8_y5PrI8Egeweztw8ymQ/edit?usp=sharing


Viewing all articles
Browse latest Browse all 9788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>