+ Reply to Thread
Results 1 to 11 of 11

use an ideal function to MATCH

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    30

    Question use an ideal function to MATCH

    Dear All,

    In the attached sample, can you advise which could be an ideal function to quickly find the results in column 'J' and subsequently in column 'N'?

    THANK YOU!

    ilias
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: use an ideal function to MATCH

    Maybe with (this kind of) pivot table.

    Or do you want to make depending list?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-21-2012
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: use an ideal function to MATCH

    Hello oeldere,

    I have found the results in column J manually. For example J3 which is 'Houston', is found in BCD1E1 ports (ABCE columns rispectively). Which function should I use to tell me that these ports are in those headers/or columns if you like?
    Regarding column N, to group the ports that have same prices in both columns L/M i did conditional formatting and then sorting. Is there a quicker way?
    Last edited by iliasark; 06-23-2012 at 05:29 AM.

  4. #4
    Registered User
    Join Date
    06-21-2012
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: use an ideal function to MATCH

    can someone advise for the above please..?

  5. #5
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: use an ideal function to MATCH

    If we can assume you are performing the look up from another sheet, then try:

    =VLOOKUP(A1,Sheet1!$I$2:$J$43,2,FALSE)

    Where cell A1 is the input cell containing the look up value (e.g. "Houston")

    Is this what you need?
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: use an ideal function to MATCH

    I understand, from post #3 that in BCD1E1 BCD represent the Columns B, C and D. but what does the 1E1 represent?

    my understanding (so far), is that, in your example, for "Houston", you want to return the those 3 column numbers, but why not E-H...what criteria excludes them, and what criteria includes B-D?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: use an ideal function to MATCH

    @ FDibbins
    I would say the BCD1E1 is a concatenation of the Port designations in the header row, not the column designations.
    So BCD1E1 would be Port B (col A), Port C (col B), Port D1 (col C) and Port E1 (col E)

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: use an ideal function to MATCH

    @ Cutter ok that makes sense, but why only those 3, and based on what criteria? or am i totally missing something here?

  9. #9
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: use an ideal function to MATCH

    There are 4, not 3.
    The OP has manually found matches to the values in column I (All Ports) and concatenated the port designations .
    The example given in post #3 is using Houston - found in cell I3 and yields the BCD1E1 result in J3 because Houston is found in those 4 port columns (A,B,C and E).
    I figure the OP wants to confirm that the cities in column I are in the concatenated ports given in col J. I guess to verify the manual search or to continue with additional searches.

  10. #10
    Registered User
    Join Date
    06-21-2012
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: use an ideal function to MATCH

    Hello All, sorry for my late reply...

    Cutter's assumption is correct.. But let me reform my inquiry better including my initial steps so as to clearly pinpoint where I want to arrive:
    1. I created column I, including ALL -single- Port names that exist in columns A to H (I did this with VLOOKUP's and a conditional formatting/unique just to ensure i did not miss any port).
    2. I created column J, and wrote manually all the locations (as I wrote in post 3, example for Houston is found in ABCE columns or if you like under Header Ports B-C-D1-E1) of each port according to column I.
    3.I sorted by A to Z column J. (sorry i didn't not include step 3 in the sample) by the way
    Why I did 1+2+3, is because I want to create categories of ports that are repeated in the SAME EXACT location. For instance ONLY Curacao and Freeport Bahamas ports are present in B-D2-E4 (or in columns ADH if you prefer) so they create category group 1. Now HOUSTON, AMSTERDAM, PIRAEUS,FUJAIRAH,DUBAI,SINGAPORE,ROTTERDAM,CRISTOBAL,ANTWERP,and FREEPORT TX are present in BCD1E1 so they go under category group 2, and so on and so forth. Sothen to creat a new column where there will be numerical list of groups of ports that are found in identical location.

    My MAIN CONCERNS are how I can manage to create columns I and then J with a function/formulae and avoid the manual way (like checking with the eye of making too many Vlookups in several columns..). Once column J is done to create the groups is much easier.

    *I purposely did not 'blend' columns K-L-M so as to avoid confusions.Column K is actually column C but its more complicate respect the other port columns because L is accompanied with prices... Just ignore their existence :-)
    Last edited by iliasark; 06-24-2012 at 09:45 AM.

  11. #11
    Registered User
    Join Date
    06-21-2012
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: use an ideal function to MATCH

    any ideas?

+ 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