+ Reply to Thread
Results 1 to 6 of 6

Plot within ±1 for all variable and the given variable

  1. #1
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Plot within ±1 for all variable and the given variable

    Hello Friends

    MS Excel Version : 2010
    File Name : Plus or minus.xlsx

    Requirement 1
    If the given value is less than / greater than 1 (i.e., ± 1) within any
    other value for any variable then it should plot the name of the variable
    in the column C, other wise it should plot nil. Also the count should be
    plotted in Cell C15.

    Requirement 2
    If the given values for variables is within ± 2 with the variable X3
    then it should be plotted in Cell D4, Also the Cound should be plotted
    in Cell D15.

    thanks in advance

    thilag
    Attached Files Attached Files
    Last edited by thilag; 03-17-2014 at 05:43 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Plot within ±1 for all variable and the given variable

    Hello

    Try this.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Plot within ±1 for all variable and the given variable

    Hello Fotis1991

    thanks for your immediate reply.

    It partially fullfilles my requirement 1. If the double variable comes in a single cell then it shows only one variable Example : In Cell C32 the result should be X3 X6 but the formula shows only X6.


    again thanks for your help.

    thilag

  4. #4
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Plot within ±1 for all variable and the given variable

    Hello Fotis1991

    thanks for your immediate reply.

    Your formula helps me to do the requirement 1 partially. If the 2 variables has to be plotted in the single cell then this formula is plotting only one variable. Example : In Cell C32 the formula value is to be X3 X6 (or) X6 X3 but the formula plots X6 only.

    Again thanks for your immediate reply.

    thilag

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Plot within ±1 for all variable and the given variable

    To be honest i noticed only range A2:A13 and gave my suggestion.

    For what i see that you need, i don't think that you can do using one formula.

    We'll need some helper columns for this or(even better) a VBA solution which(vba solution) i don't know.

    Of course this is only my opinion. Let's wait to see if anyone else has a solution to suggest.

  6. #6
    Forum Contributor
    Join Date
    02-25-2012
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    445

    Re: Plot within ±1 for all variable and the given variable

    Hello Fotis1991

    thanks for your reply.

    I my self did a formula for try the second requirement, and it is working fine.

    Formula is

    <=TRIM((IF((IF(AND(B1>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B1<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A1,"Not Applicable"))="Not Applicable","",A1))&REPT(CHAR(10),1)&(IF((IF(AND(B2>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B2<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A2,"Not Applicable"))="Not Applicable","",A2))&REPT(CHAR(10),1)&(IF((IF(AND(B3>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B3<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),"Not Applicable","Not Applicable"))="Not Applicable","",A3))&REPT(CHAR(10),1)&(IF((IF(AND(B4>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B4<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A4,"Not Applicable"))="Not Applicable","",A4))&REPT(CHAR(10),1)&(IF((IF(AND(B5>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B5<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A5,"Not Applicable"))="Not Applicable","",A5))&REPT(CHAR(10),1)&(IF((IF(AND(B6>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B6<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A6,"Not Applicable"))="Not Applicable","",A6))&REPT(CHAR(10),1)&(IF((IF(AND(B7>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B7<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A7,"Not Applicable"))="Not Applicable","",A7))&REPT(CHAR(10),1)&(IF((IF(AND(B8>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B8<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A8,"Not Applicable"))="Not Applicable","",A8))&REPT(CHAR(10),1)&(IF((IF(AND(B9>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B9<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A9,"Not Applicable"))="Not Applicable","",A9))&REPT(CHAR(10),1)&(IF((IF(AND(B10>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B10<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A10,"Not Applicable"))="Not Applicable","",A10))&REPT(CHAR(10),1)&(IF((IF(AND(B11>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B11<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A11,"Not Applicable"))="Not Applicable","",A11)&(IF((IF(AND(B12>((VLOOKUP(A$3,A$1:B$12,2,FALSE))-2.1),B9<((VLOOKUP(A$3,A$1:B$12,2,FALSE))+2.1)),A9,"Not Applicable"))="Not Applicable","",A9))&REPT(CHAR(10),1)))>

    Kindly refer the atached file <Plus or minus.xlsx>.

    thanks

    thilag

+ 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. plot a multi-variable line chart
    By randinator in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-11-2013, 10:54 AM
  2. Semi-log plot with one y variable and two x variables?
    By jnnfr37 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-16-2013, 06:15 PM
  3. How to plot a 3 variable chart
    By jayesh84 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 02-05-2012, 07:36 AM
  4. Replies: 1
    Last Post: 05-04-2011, 04:18 AM
  5. plot using variable or cell value for data range
    By LMHmedchem in forum Excel General
    Replies: 5
    Last Post: 04-26-2011, 04:13 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