+ Reply to Thread
Results 1 to 6 of 6

Modifying a current index match and making it more dynamic.

  1. #1
    Registered User
    Join Date
    05-15-2015
    Location
    United States
    MS-Off Ver
    2013
    Posts
    67

    Modifying a current index match and making it more dynamic.

    Hello -

    I currently have the following formula
    Please Login or Register  to view this content.
    What it is doing is based on a zip code input pulling a subsidy rate associated. It currently works as expected and needs to remain functional. However, I need to do is add a bit of complexity to it. I'm hoping someone can help.

    Cell C8 is a field that is used for the user to enter their zip-code

    X15:X22 - 93620, 93635, 95301, 95340, 95726, 95945, 95949, 95959, 95975

    If C4 equals "EE_Only" and C8 equals X15:X22 than I should get "404.67". If both of these criteria are not meet the referenced code should run.
    If C4 equals "EE+Spouse" and C8 equals X15:X22 than I should get "832.41". If both of these criteria are not meet the referenced code should run.
    If C4 equals "EE+Child(ren)" and C8 equals X15:X22 than I should get "624.81". If both of these criteria are not meet the referenced code should run.
    If C4 equals "EE+Family" and C8 equals X15:X22 than I should get "1139.54". If both of these criteria are not meet the referenced code should run.

    Any help is greatly appreciated.
    Last edited by kcgojnur; 09-23-2017 at 06:21 PM.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Modifying a current index match and making it more dynamic.

    Are you saying "if C8 = any value in X15:X22" or "if C8 = all values in X15:X22" (that is, X15:X22 are all equal to C8)?
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Registered User
    Join Date
    05-15-2015
    Location
    United States
    MS-Off Ver
    2013
    Posts
    67

    Re: Modifying a current index match and making it more dynamic.

    Hi Lee -

    If C8 = Any values in X15:X22

    The user will be entering in their zip code in C8, therefore if they enter any of the values in X15:X22 based on their C4 section should be the output. However if they enter a zip that doesn't match X15:X22 the referenced formula should apply.

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Modifying a current index match and making it more dynamic.

    This is untested, since you didn't provide a workbook, but perhaps:
    Please Login or Register  to view this content.
    A small sample workbook (NOT a picture) would help us to solve your problem quickly and accurately.
    Remove any sensitive or extraneous info, we just need some “realistic” data for testing purposes.
    Please include examples of any variations the code or formula must address.
    Also, PLEASE simulate some results to demonstrate what you want.

    To attach a workbook:
    Click Edit Post (or just start a new reply.)
    Click Go Advanced
    Scroll down to Manage Attachments and click.
    Now just Browse for your file, then click Upload. Simple!

  5. #5
    Registered User
    Join Date
    05-15-2015
    Location
    United States
    MS-Off Ver
    2013
    Posts
    67

    Re: Modifying a current index match and making it more dynamic.

    Quote Originally Posted by leelnich View Post
    This is untested, since you didn't provide a workbook, but perhaps:
    Please Login or Register  to view this content.
    A small sample workbook (NOT a picture) would help us to solve your problem quickly and accurately.
    Remove any sensitive or extraneous info, we just need some “realistic” data for testing purposes.
    Please include examples of any variations the code or formula must address.
    Also, PLEASE simulate some results to demonstrate what you want.

    To attach a workbook:
    Click Edit Post (or just start a new reply.)
    Click Go Advanced
    Scroll down to Manage Attachments and click.
    Now just Browse for your file, then click Upload. Simple!
    OMG! I think this is it. I'll do some additional testing. I truly appreciate your help on this one.

  6. #6
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Modifying a current index match and making it more dynamic.

    Let me know if you need further help (preferably with a workbook to test ). If your problem is in fact solved, please go to Thread Tools up top and mark your thread SOLVED. Thanks! -Lee
    Last edited by leelnich; 09-23-2017 at 06:59 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. Index/Match - Dynamic Index Range with Hlookup
    By WassimJMP in forum Excel General
    Replies: 3
    Last Post: 02-16-2016, 12:24 PM
  2. [SOLVED] INDEX MATCH, MATCH and ADD for a dynamic scatter gram chart
    By julesmctavish in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2016, 10:40 AM
  3. Making floating pictures useful for Index Match
    By andreasjaeger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2015, 09:47 PM
  4. Modifying an index/match forumla to include additional cells
    By trishcollins in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-13-2014, 09:49 AM
  5. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  6. [SOLVED] Index Match Most Current Date
    By boll55 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2013, 10:33 AM
  7. [SOLVED] Index Match Most Current Date
    By boll55 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2013, 05:01 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