Brenda Barnes said:How do I add a column to Sheet1 with location names pulled straight from Sheet2? Pretty sure there’s an easy way to do this in Excel, but I'm hitting a wall finding the actual steps. Help!
Hey Brenda Barnes
Look, you're new here, so I'll let it slide this once—but seriously, next time, just attach the file with the actual data already filled in. If you want people to actually help you, don't make us play mind reader or invent your problem from scratch. Just upload the damn file.
I whipped up an example based on that issue you're having.
Check the attachment.)
I’d say just use the function. VLOOKUP. In Excel.
You can just use a VLOOKUP from some other table—like your Sheet2—to pull whatever data you need based on a specific condition. Easy.
Check out the attached file—I put an example on Sheet1 (clients) using this formula.
Code:
=VLOOKUP(B2, post_broj_mjesto, 2, FALSE)
Which one’s actually gonna pull the data from that specific range on Sheet2 (those post-numbers)?
So, you want the results in column C on Sheet1. Let's say your lookup value is sitting right there in column B on Sheet1, and you're pulling data from the second column of a range named "post_broj_mjesto." Easy enough.
Check out the arguments for this Excel function. VLOOKUPLook, this named range can be on the same Sheet you're working on or tucked away on some other Sheet—doesn't matter. Just make sure it's actually there. Appointed. Data range. What do you call data ranges? Check out the link. So basically, if you type a zip code into column B on Sheet1 (say, cell B2), then cell C2 should automatically pull the parity for that zip code from a named range, right? Or am I tripping? Data range..
Hope that clears things up regarding how to use VLOOKUP and finally gives you the fix you're looking for.
[edit]
Just drag that formula down from the first row all the way to whichever last row you're looking for an answer in.