+ Reply to Thread
Results 1 to 5 of 5

Possible Formulas (IF or VLOOKUP??)

  1. #1
    Registered User
    Join Date
    11-23-2011
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    5

    Possible Formulas (IF or VLOOKUP??)

    Hi All,

    I am tearing my hair out trying to figure this out and it seems so simple!!

    I want my value in column C to automatically input the value from another column if another 2 different columns match.

    Basically, in column A I have store numbers, and I also have the same store numbers in another spreadsheet - which I have pasted as a new worksheet int he same workbook. I want my formula to find the store number from column a, in the store number column on the next sheet and insert the value of the post code next the the store number.

    =PostCode if column a and column x match??

    Thanks,

    Kristy
    Last edited by kmarees1986; 11-23-2011 at 10:52 AM.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Possible Formulas (IF or VLOOKUP??)

    Hi,

    Something like:

    =VLOOKUP(A1,Sheet2!$A$1:$B$20,2,FALSE)

    Where A1:B20 hold the store numbers and post codes on Sheet2.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    11-23-2011
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Possible Formulas (IF or VLOOKUP??)

    Thats done it!! Thank-you so much, there are 3694 post codes on my list, you have saved me a good few hours!!

    Thanks again :-)

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Possible Formulas (IF or VLOOKUP??)

    Hi

    INDEX & MATCH

    See the attached
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Possible Formulas (IF or VLOOKUP??)

    No problem. If you're happy with the response please mark the thread solved.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.
    Dom

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1