+ Reply to Thread
Results 1 to 10 of 10

Thread: Help with If formula regarding xy scatter chart

  1. #1
    Registered User
    Join Date
    09-07-2011
    Location
    Flint,Michigan
    MS-Off Ver
    Excel 2003
    Posts
    13

    Help with If formula regarding xy scatter chart

    Alrighty be patient I'm a new guy so i apologize in advance... so i have a chart with existing data on it and i have a cell that i need to plot but only if it that cell "passes." It passes when it is lower than a given number/cell. Hopefully this isn't too general.I'm Know how to set it to whether or not it passes or not but after that i get stuck so please help a guy a out. Thank you so much for taking the time to read this.

  2. #2
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: Help with If formula regarding xy scatter chart

    Hello & Welcome to the Board,

    If you do not want a point to plot then use the NA() function.

    Example: =IF(A1<B1,"passes",NA())
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

  3. #3
    Registered User
    Join Date
    09-07-2011
    Location
    Flint,Michigan
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Help with If formula regarding xy scatter chart

    JeffreyBrown:

    Well thank ya and alrighty so that will not plot if it passes? Because if it passes i need it to plot in the chart.

  4. #4
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: Help with If formula regarding xy scatter chart

    Here is an example.

    This uses a check box in column D (Double click), but you can restructure the If statement for your needs.
    Attached Files Attached Files
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

  5. #5
    Registered User
    Join Date
    09-07-2011
    Location
    Flint,Michigan
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Help with If formula regarding xy scatter chart

    Thanks so much JeffreyB

    Alrighty Cool Just one more little question How did you get the check marks there? If i put an a in the corresponding box i get it to to be hidden from the chart but a check mark will look better.

    Thanks again man i owe ya a six pack or something haha
    Attached Files Attached Files
    Last edited by jkr4250; 09-08-2011 at 09:50 AM.

  6. #6
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: Help with If formula regarding xy scatter chart

    You're welcome...Glad to be of some help

    For the check mark >> enter an "a" >> change the font to Marlett.

    Maybe this example will also help...
    Attached Files Attached Files
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

  7. #7
    Registered User
    Join Date
    09-07-2011
    Location
    Flint,Michigan
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Help with If formula regarding xy scatter chart

    WOW man thanks i feel like ten times smarter haha umm whats the process of being able to make the check mark appear and disappear by just clicking on it all i can do so far is just type it in which works fine but clicking is a lot easier

  8. #8
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: Help with If formula regarding xy scatter chart

    Did you look at the first attachment?

    If you do you will find a double click event in the VBA...

    To get to the VBA >> Alt + F11 >> Alt + Q to close the VBA

    This should help also...

    http://www.rondebruin.nl/code.htm
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

  9. #9
    Registered User
    Join Date
    09-07-2011
    Location
    Flint,Michigan
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Help with If formula regarding xy scatter chart

    Ok i think i am missing something in the sample of check boxes with mutual and stuff i went into VBA and tried to copy i did exactly what they said but it doesn't show up in my macro list.
    and i noticed in your two check box examples you didn't have a module but instead the sheets had the code in them. so i guess my question is exactly how do i set all that up if possible I'm sorry for asking so many questions. I would just like to get this to work

    thanks again :/

  10. #10
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: Help with If formula regarding xy scatter chart

    Yes this is worksheet code which needs to be installed in the sheet module.

    Maybe this article will help...

    http://vbaexpress.com/kb/getarticle.php?kb_id=879
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0