+ Reply to Thread
Results 1 to 9 of 9

Formula for Unique ID mapping of 4 cells

  1. #1
    Registered User
    Join Date
    09-27-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    4

    Formula for Unique ID mapping of 4 cells

    Hello, I attached an image and excel sheet showing what I want to accomplish. Pretty much I have numbers at bottom of my excel sheet where if I say 1 it would map to 4 cells that would be displayed up above exactly. I would like a nice simple formula where I could up above say #1, and it would look down below where ID 1 is and map to the 4 cells up above where I said #1. Of course the reason I am posting is because I want to map to 300+ possibilites where I only care about the Slot # and if I input that, it would automatically map it from the data below.

    Yes I could use IF statements, but I have around 300+ unique ones I need to map to and that would not be realistic.

    Thanks for the help!

    ANSWER: Search for INDEX and MATCH combined in a simple format.
    Last edited by Azmar; 09-28-2015 at 11:05 AM.

  2. #2
    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
    53,049

    Re: Formula that I could use for this cell problem?

    Hi, welcome to the forum

    Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (note: this change is not optional )

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.
    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

  3. #3
    Registered User
    Join Date
    09-27-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    4

    Re: Formula that I could use for this cell problem?

    Ok I believe I fixed everything!

  4. #4
    Registered User
    Join Date
    09-27-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    4

    Re: Formula for Unique ID mapping of 4 cells

    Is there no formula that can easily accomplish this? I am still having troubles with this. I am open to different ways of doing the same thing too, if anyone has any advice.

    Thanks

  5. #5
    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
    53,049

    Re: Formula for Unique ID mapping of 4 cells

    For E21 down, try this...
    =INDEX($B$11:$E$18,MATCH("*("&$B$21&")",$A$11:$A$18,0),MATCH($D21,$B$1:$E$1,0))
    (not sure that answers your question though?

  6. #6
    Registered User
    Join Date
    09-27-2015
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    4

    Re: Formula for Unique ID mapping of 4 cells

    Got it solved thanks! After you posted that I looked more into INDEX and MATCH and the answer was a simpler format. Thanks!

  7. #7
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: Formula for Unique ID mapping of 4 cells

    Quote Originally Posted by FDibbins View Post
    For E21 down, try this...
    =INDEX($B$11:$E$18,MATCH("*("&$B$21&")",$A$11:$A$18,0),MATCH($D21,$B$1:$E$1,0))
    (not sure that answers your question though?
    May I ask you FDibbins?
    How did you deduce that in cell E21 OP need formula, that you have posted.
    You have a magic ball?

  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
    53,049

    Re: Formula for Unique ID mapping of 4 cells

    Indi, no, my batteries for the magic ball died, I need to get some more lol

    OP said they wanted to replace multiple IF statements, that was where I saw them being used - figured if I gave INDEX/MATCH for that, OP could adapt for other places

  9. #9
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: Formula for Unique ID mapping of 4 cells

    You need an UPS 😅 for your ball
    UPS Uninterruptible Power Source
    Last edited by Indi_Ra; 09-28-2015 at 05:19 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Text Formatting Problem (Cell&Cell&Cell formula)
    By Axquirix in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-28-2014, 07:32 PM
  2. Replies: 2
    Last Post: 10-16-2012, 01:27 PM
  3. Formula problem, cell displays #NUM!
    By pdmkh in forum Excel General
    Replies: 2
    Last Post: 08-16-2011, 11:40 AM
  4. Excel 2007 : Problem with time cell formula.
    By rhyler1 in forum Excel General
    Replies: 11
    Last Post: 01-26-2011, 07:53 PM
  5. Problem with inserting formula in cell with VBA
    By Keva in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-23-2010, 03:43 AM
  6. Formula cell referencing problem
    By Narcil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2008, 08:15 PM
  7. cell:formula problem
    By swain.s@blueyonder.co uk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2006, 09:50 PM

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