+ Reply to Thread
Results 1 to 4 of 4

Populating a value based on a series of data

  1. #1
    Registered User
    Join Date
    03-03-2022
    Location
    Indiana, United States
    MS-Off Ver
    Office 365
    Posts
    20

    Populating a value based on a series of data

    NOTE: I have added a spreadsheet for a clearer understanding of my question.

    I would like to create a spreadsheet where I can populate a value based on a series of table selections.

    For example:

    If I choose:

    Option A from Table 1,
    Option A from Table 2,
    Option B from Table 3,

    Then ______ populates.


    Would my best option be to make a unique ID for each individual series and then populate a value, or is there some other (easier) way to make this happen?

    EDITED TO ADD: I showed this on the spreadsheet but did not spell it out in my original question, the type of selection for each coverage may change depending on the person. In other words, a person can choose individual coverage for one insurance, family for another, and employee/children only for another so it's not as clear cut as just one option. That being said, I'm not opposed to a drop-down for each insurance type (healthcare/denta/vision) since this may change year to year.

    Spreadsheet attached for real reference.
    Attached Files Attached Files
    Last edited by DawnG1231; 03-30-2023 at 12:31 PM. Reason: Added additional info

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Populating a value based on a series of data

    Hi,
    first you need to make sure you use the same expression in your result table to match the same in the source tables.
    I changed it wherever it didnt match completely and added another column for "Type" to split it from "Employee Type"

    E26 and copies to other cells:
    =INDEX($D$13:$H$20,MATCH(C$25&$B26&D26,$A$13:$A$20&$B$13:$B$20&$C$13:$C$20,0),MATCH(C26,$D$12:$H$12,0))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-03-2022
    Location
    Indiana, United States
    MS-Off Ver
    Office 365
    Posts
    20

    Re: Populating a value based on a series of data

    This is fantastic - could you be so kind as to break this down for me on the index and match? I've not used it before.

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: Populating a value based on a series of data

    Here's another option without the Type column addition.

    =INDEX($D$13:$H$20,IFERROR(MATCH(C$25&$B26&MID(C26,SEARCH("/",C26)+1,99),$A$13:$A$20&$B$13:$B$20&$C$13:$C$20,0),MATCH(C$25&$B26,$A$13:$A$20&$B$13:$B$20,0)),MATCH(IFERROR(LEFT(C26,SEARCH("/",C26)-1),C26),$D$12:$H$12,0))

    as for the index the index/match function ,
    the structure of the formula is INDEX(array, row_number, column_number)

    The range I took is the table of values, the row was aimed to columns A,B&C combined, and the column is determined by the match between the value in your column C, and the set of valued in line 12.

    You can read more about these combined functions here:
    https://exceljet.net/articles/index-and-match
    Attached Files Attached Files

+ 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. Auto Populating a series of tabs within a spreadsheet
    By kli123 in forum Excel Formulas & Functions
    Replies: 32
    Last Post: 07-13-2018, 10:33 AM
  2. Need help in Auto populating data based on value
    By Ariz1981 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-10-2016, 06:06 AM
  3. Populating multiple cells based on data
    By Eloise1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-26-2015, 02:15 PM
  4. Populating Data Based on Two Criteria
    By Evjoy in forum Excel General
    Replies: 2
    Last Post: 03-28-2014, 07:36 PM
  5. Populating a series of cells based on a worksheet change event
    By cdhowells in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-09-2010, 09:38 AM
  6. Populating information in a series of Tabs
    By jockularfiasco in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2007, 10:56 PM

Tags for this Thread

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