+ Reply to Thread
Results 1 to 2 of 2

VLOOKUP with Multiple Criteria in Multiple Worksheets

  1. #1
    Registered User
    Join Date
    12-07-2015
    Location
    viera, FL
    MS-Off Ver
    Ofiice 365
    Posts
    32

    VLOOKUP with Multiple Criteria in Multiple Worksheets

    Hey Guys, you helped me before but I had to change the way I pulled the data and tried copying exactly what was done before to solve my issue but to no avail. There is some very small changes but I tried manipulating your formula and could not get it to work. Please see attached new sheet. Your old formula for Main N2 was: =(VLOOKUP(VLOOKUP(SUBSTITUTE($E2,"@",""),Teams,2,FALSE),INDIRECT(IF($C2="C", "Center",$C2)&"!A3:O32"),15,FALSE)-INDIRECT(IF($C2="C", "Center", $C2)&"!B35"))/INDIRECT(IF($C2="C", "Center", $C2)&"!B35")

    Trying to do the following in the attached spreadsheet: Return a value when 1 condition is met via Look-up:

    To determine a value in Main O2 I need:

    Main B2 to determine the TAB (ex: PG, SG, SF, PF, C)
    Once TAB is determined Main D2 determines team to find (ex: @MIN, @PHO, MIL, DEN, etc...however teams in Main D2 position are abbreviated and some have an "@" in front of them)
    Once TAB and Team determined the result in O2 should populate from:

    TAB (PF)
    TEAM (@MIN)
    Column C17 (44.8)

    So Main O2 should equal 44.8

    -----------------------------------------

    Same logic applies to Main P2:

    Main B2 to determine the TAB (ex: PG, SG, SF, PF, C)
    Once TAB is determined Main D2 determines team to find (ex: @MIN, @PHO, MIL, DEN, etc...however teams in Main D2 position are abbreviated and some have an "@" in front of them)
    Once TAB and Team determined the result in P2 should populate from:

    TAB (PF)
    TEAM (@MIN)
    Column D17 (54.3)

    So Main P2 should equal 54.3

    Lastly is the Main N2 column:

    This is an equation that should equal the average of ((Main O2 + Main P2)- League Average)/League Average. League Average is based on the tab and can be found in that TABs B35 position.

    Ex: Main N2 would equal (49.55-46.575)/46.575 and expressed as a percent. Answer being 6.39% where:
    49.55 is the average of Main O2 and Main P2
    46.75 comes from the correct tab (PF in this ex) and found in the B35 position.
    Attached Files Attached Files
    Last edited by fpgary; 12-18-2015 at 06:02 PM. Reason: Correct Post Title

  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
    52,944

    Re: You've helped before but something changed (Anyone Up for a Challenge?)

    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 )
    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

+ 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] Helped with copied VBA code from website but it is not working for me
    By topnotchthrillr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-25-2014, 04:52 PM
  2. Got Promotion-Excel Forum Helped me a lot to achive
    By laxmanann in forum The Water Cooler
    Replies: 9
    Last Post: 07-02-2014, 02:01 AM
  3. New to Forum Hope I Can Help as Well as be Helped.
    By jaroesner in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 02-14-2013, 02:56 PM
  4. [SOLVED] vba editing assistance that rcm helped with to summarize a report
    By lilsnoop in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-07-2013, 05:52 PM
  5. [SOLVED] I have clairified some info., maybe, I can be helped now .........
    By Denny Crane in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-03-2006, 12:55 AM
  6. Helped with stacked bar chart and percentages
    By Double A - Ron in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-19-2005, 10:05 AM
  7. [SOLVED] Thanks Jon for your Jan 2001 post......it helped me today!
    By CLR in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-14-2005, 12:05 AM

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