+ Reply to Thread
Results 1 to 9 of 9

Look up originating post code

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2003
    Posts
    7

    Look up originating post code

    I have a set of data that contains a unique identifier being a consignment number, against each of these is a leg number showing how many times this is moved. What I need to be able to show is the originating postcode as highlighted yellow on the attached sheet by looking up leg number 1 against the consignment number. Is there an easy way of doing this?

    Thanks in advance.

    Mark
    Attached Files Attached Files
    Last edited by marklister; 02-06-2012 at 02:21 PM.

  2. #2
    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: Look up originating post code

    Hi Mark and welcome to the forum.

    If i understand well your point, then you can do it, using Conditional Formatting.

    Hope to helps you.
    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.

  3. #3
    Registered User
    Join Date
    02-06-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Look up originating post code

    Hi, thanks for your response. However, I would like the originating postcode to be automatically entered in to this column by looking up against leg and consignment.

  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: Look up originating post code

    ...Then, something like this?


    =IF(C3=1;E3;IF(C3<>1;G2))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-06-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Look up originating post code

    That works great thanks but what should the formula look like if I then wanted the last postcode, ie against leg 3 or leg 5 etc.

    Thanks

  6. #6
    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: Look up originating post code

    You are welcome.

    Sorry, but my poor English, don't let me to understand your new question..

  7. #7
    Registered User
    Join Date
    02-06-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Look up originating post code

    0226.xls

    I have attached your file showing what should be dispayed.

    Thanks

  8. #8
    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: Look up originating post code

    Mark, i really want to help you, but for me, makes no sense.. Sorry!

  9. #9
    Registered User
    Join Date
    02-06-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Look up originating post code

    Thanks, I have managed to get the answer I want be writing the following formula but don't know if there is a simpler way to achieve the same result.

    =if(iserror(if(a3=a4,large(c:c,e3),h3)),i4,if(a3=a4,large(c:c,e3),h3))


    Mark

    0226.xls

+ 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