I have a spreadsheet with two tabs. I need to create a formula that will automatically enters details in tab 1 if location number in tab one matches location number from tab 2. The full details are in tab 2.
HELP!
btw excel version 2007, not 2003
I have a spreadsheet with two tabs. I need to create a formula that will automatically enters details in tab 1 if location number in tab one matches location number from tab 2. The full details are in tab 2.
HELP!
btw excel version 2007, not 2003
Last edited by linzi; 10-04-2011 at 08:19 AM. Reason: workbook added
Hi Linzi. Welcome to the forum.
Please take a few moments to read the forum rules and then amend your thread title.
As a clue, you're probably looking for a LOOKUP, VLOOKUP or INDEX/MATCH
It will help to clarify your requirements if, when you update the title, you post a small sample workbook.
Regards
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
changed title
Please attach a sample workbook...
If you change the column headers to match on both sheets, you can use the following formula:
Cell D2: =VLOOKUP($A2&"",'UK Sites'!$A:$L,MATCH(D$1,'UK Sites'!$A$1:$L$1,0),FALSE)
Copy across and down.
If the column headers don't match, or can't be made to match, you'll need to put the relevant column number in the VLOOKUP instead of using the MATCH(...)
Regards
Thank you!!!! i would never have worked that out alone
You're welcome. Thanks for the rep.
Regards, TMS
Last edited by TMS; 10-04-2011 at 08:51 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks