+ Reply to Thread
Results 1 to 5 of 5

Excel Formula Solution need for plotting 1D Results from 2D list of data

  1. #1
    Registered User
    Join Date
    09-28-2012
    Location
    Reading, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Excel Formula Solution need for plotting 1D Results from 2D list of data

    I am not sure this can be done and I have pretty much given up think it is possible. However, I thought I would throw this query out to anyone listening/reading who may know a novel way of doing this. The idea is to avoid macros because this is the only thing that has limited me through formulation with Excel Environment.


    I have attached a copy of the problem with some information on what the expect process is for deciding what to output. If it is not clear then I am happy to provide additional information to help.
    I thought this could be solved using the indirect & lookup Excel methods.....but I am no advanced expert but feel I am close to getting it ( without macros )

    cheers, Lee
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel Formula Solution need for plotting 1D Results from 2D list of data

    In the 1 dimensional data, shouldn't -6 be included as part of column 1 and then again as the first value in Col 2? -6 is not larger than -6 so should read
    -18
    -12
    -6
    0
    6
    etc.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel Formula Solution need for plotting 1D Results from 2D list of data

    Assuming I am correct above and you really do mean Larger than and not Equal to or larger than

    In A16, enter 0, In B16 dragged right as far as you want to go

    =IF(ISNUMBER(B6),IF(ISNUMBER(C6),MATCH(C6,B6:B15)+A16,10+A16),"")

    For your 1 dimensional array use this formula dragged down

    =INDEX($B$6:$F$15, ROW(A1)-INDEX($A$16:$D$16,MATCH(ROW(A1)-1,$A$16:$D$16)), MATCH(ROW(A1)-1,$A$16:$D$16))
    Does that work for you? Attached is my worksheet showing how I sort of reasoned things out.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-28-2012
    Location
    Reading, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Excel Formula Solution need for plotting 1D Results from 2D list of data

    Hi ChemistB.

    Sorry for the delayed Response. To be honest I did not expect something so quick!
    You got it perfectly, this exactly what I wish to do. Many thanks!

    I have not yet looked into the detail of your method but once I have digested it I certainly take on board this angle of Excel formulation for Dynamic tabling ( so I do not have to pester the community again !)

    I am not quite sure I understand your first point. Each column in the 2D table is meant to contain every increasing values BUT with some "manual" randomness. IT is just my poor copy&paste&modify of columns to make up the 2D table which leads to the same values of -6, 0,6


    Once again , Many thanks, Lee

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Excel Formula Solution need for plotting 1D Results from 2D list of data

    Glad it looks like it's working, Lee.
    My first point was that -6 should appear twice in your 1D sequence since it's in Col 1 and at the top of Col 2 and -6 is not larger than -6.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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