+ Reply to Thread
Results 1 to 2 of 2

Formula: Help me make a forumla return the X and Y axis when it has a value

  1. #1
    Registered User
    Join Date
    03-05-2019
    Location
    USA
    MS-Off Ver
    MS office 2013
    Posts
    4

    Formula: Help me make a forumla return the X and Y axis when it has a value

    So my issue is this, my work made a graph that shows changes in a handbook given a certain section and they marked an X where they changed. So I need a formula that gives me the lesson on the X axis and the lesson on the Y axis when there is a mark filled out where they meet.

    example.PNG


    So in this photo, I need a formula that when they is an X on the blue mark, it returns the red marks to me.

    Is this possible? Thanks!

  2. #2
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Formula: Help me make a forumla return the X and Y axis when it has a value

    From your table there are 39 Module-1 sections and 19 "Focus"s yielding 39 * 19 = 741 squares in which you may or may not have an "X".
    Worksheet "Table" in the attached workbook is a semblance of your table per your attachment.

    On a separate worksheet "Linear" I have converted (automatically by formula) your 2D 39 x 19 table to a linear list of 741 rows and then, also by formula extracted the X's from your table into the appropriate row of my linear list.

    From here you can simply filter col-E for X's only. Columns C and D then contain the Focus and Module-section corresponding to each "X" which I think is the result you asked for (your red circled items).

    To use the attached workbook populate the TABLE worksheet with your real data (my X's are for testing purposes only). If you have additional Focus's or Module sections you will need to update the Linear worksheet columns A and B as necessary. All other columns are calculated automatically.

    === Details
    On worksheet "Linear", the formulas in columns C and D generate all combinations of the user provided columns A (focus) and B (module section).
    In C2 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    D2=1 then in D3 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Column-E is then just an index/match into the 2D "Table" worksheet:
    In E2 and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    T() suppresses the 0's where there is no "X" in the 2D table.

    The attached workbook implements the above.

    Hopefully this is close to what you are looking for. Let me know.
    Attached Files Attached Files
    Last edited by GeoffW283; 03-05-2019 at 04:22 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] make secondary axis max/min the same as the primary axis.
    By Trebor777 in forum Excel General
    Replies: 2
    Last Post: 06-25-2017, 01:37 PM
  2. Make forumla lookup value rather than forumla
    By Jbraviator in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-09-2015, 01:00 PM
  3. How to make a forumla go in a pattern rather than in order?
    By ojhall123 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2013, 12:30 PM
  4. [SOLVED] How to make Primary axis and Secondary X-axis have the same scale
    By AdamCPTD in forum Excel General
    Replies: 0
    Last Post: 07-14-2006, 09:15 AM
  5. can I make the vertical axis the category axis in Excel line graph
    By power1 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-20-2006, 04:50 PM
  6. Replies: 2
    Last Post: 08-12-2005, 08:05 AM
  7. [SOLVED] How do I make the Y axis in an excel chart the category axis?
    By megnadoodle in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-29-2005, 05:06 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