+ Reply to Thread
Results 1 to 11 of 11

When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_false]?

Hybrid View

Void_Queen When using [=IF(ISNUMBER, ],... 08-07-2014, 06:29 PM
FDibbins Re: When using [=IF(ISNUMBER,... 08-07-2014, 07:20 PM
Void_Queen Re: When using [=IF(ISNUMBER,... 08-07-2014, 11:30 PM
FDibbins Re: When using [=IF(ISNUMBER,... 08-08-2014, 12:59 AM
Void_Queen Re: When using [=IF(ISNUMBER,... 08-08-2014, 01:19 AM
FDibbins Re: When using [=IF(ISNUMBER,... 08-08-2014, 01:24 AM
Void_Queen Re: When using [=IF(ISNUMBER,... 08-08-2014, 02:55 AM
Glenn Kennedy Re: When using [=IF(ISNUMBER,... 08-08-2014, 03:04 AM
Void_Queen Re: When using [=IF(ISNUMBER,... 08-09-2014, 02:31 PM
Void_Queen Re: When using [=IF(ISNUMBER,... 08-09-2014, 03:27 PM
Glenn Kennedy Re: When using [=IF(ISNUMBER,... 08-09-2014, 03:32 PM
  1. #1
    Registered User
    Join Date
    08-01-2014
    Location
    New York, United States
    MS-Off Ver
    2010
    Posts
    6

    Exclamation When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_false]?

    Hello all,

    I have Excel 2010 and I am using the function [=IF(ISNUMBER, (T.TEST((D6,D15),(I6,I15),2,3)), [value_if_false]]

    The range of cells I've selected for the T.TEST to performed on do not all contain numbers - some of those cells say #DIV/0! because they have a formula in them, which references cells that have not been populated with numbers. I would like Excel to just perform a T.TEST on the cells that contain numbers. What do I put in the part of the function that says [value_if_false] if I just want Excel to ignore everything that is not a number?

    I'll attach a simplified version of my spreadsheet.

    Maybe I'm using the wrong function to achieve my goal. If you have suggestions for how my goal can be done better, please, do tell me! I know I can always ONLY select the cells that have numbers in them, but that would be VERY time consuming and impractical for me. So, please, help me find out how to do a T.TEST while ignoring some cells that are not numbers.


    THANK YOU SO MUCH IN ADVANCE FOR ANY HELP! I will really appreciate it and provide feedback!
    Attached Files Attached Files

  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
    53,048

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    Hi and welcome to the forum

    I am currently on 2007, and there is no function called T.Test.....I think you mean TTest?

    Also, try something like this to error-trap...
    =IF(C6="","",100-(B6/C6)*100)
    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

  3. #3
    Registered User
    Join Date
    08-01-2014
    Location
    New York, United States
    MS-Off Ver
    2010
    Posts
    6

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    Hi FDibbins, thank for the reply!

    Yeah, maybe the test is called TTest in the 2007 version. It doesn't really matter what the test is, since the problem I have is regarding what to put in the [value_if_false] part of the [=IF...] function which holds my desired T.TEST.

    I tried your formula [=IF(C6="","",100-(B6/C6)*100)] and it turned all the #DIV/0! into blank cells, but it didn't solve my problem because I still don't know how to tell Excel to ignore blank cells in a string of references.

  4. #4
    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
    53,048

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    My thinking is to try and fix the problem at the source, rather than try and figure out how to work around the problem

  5. #5
    Registered User
    Join Date
    08-01-2014
    Location
    New York, United States
    MS-Off Ver
    2010
    Posts
    6

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    lol what do you mean by "problem at the source"? How do I do that?

    Do you think the problem at the source is the fact that I have #DIV/0! in some cells in the first place? I can't really fix that for my purpose.

    Maybe someone could just tell me what Excel expects people to put in the [value_if_false] part of the [=IF...] function. Isn't there any way to communicate to Excel that I want it to perform a certain function ONLY on the values that the logical test returns as true, and simply ignore the false ones? How do I say "if false then ignore"? Has no one ever wanted to execute the command "if value is false than pretend that cell isn't even there and do the function on the other cells within the selected range"?

  6. #6
    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
    53,048

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    OK lets try this 1st. Put something in those other cells to make the DIV/0 go away, then make sure that your formula is calcing correctly. Once we are sure that the formula is working how it should (with no error cells) then we can take the next step and add error-trapping

  7. #7
    Registered User
    Join Date
    08-01-2014
    Location
    New York, United States
    MS-Off Ver
    2010
    Posts
    6

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    Ok, yes, good idea!

    I did that and my formulas all failed to work . Even the simplest T.TEST formula without any IF formulas specifying conditions.... So now i'm just even more confused...
    Attached Files Attached Files

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    I don't know about Excel 2010, but in 2007, TTEST needs to work with non-contiguous array. So, TTEST(d6:D7, e6:e7.... works; whereas TTEST((D6,d8),(E6,e8),... doesn't. Maybe named ranges would work for you?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  9. #9
    Registered User
    Join Date
    08-01-2014
    Location
    New York, United States
    MS-Off Ver
    2010
    Posts
    6

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    Glenn Kennedy, you might be right! When I selected a continuous range, the T.TEST worked!

    Now, instead of selecting non-adjacent cells, I can just paste all my values into one place and then select them. BUT, I still have one problem left! If I do this, I will still get blank cells, so is there any way to make the T.TEST ignore blank cells?


    Thank you so much, everyone who helped! I would consider this solved only after I figure out how to make the T.TEST ignore non-numbers.

  10. #10
    Registered User
    Join Date
    08-01-2014
    Location
    New York, United States
    MS-Off Ver
    2010
    Posts
    6

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    Wait, everyone! I got it!!

    Excel does allow T.TEST to ignore blank numbers!!! OMG I AM SO HAPPY ABOUT THIS!!!

    Although my original question wasn't solved (maybe I wasn't even asking it right, or maybe the problem was something else besides what I thought...), but I'm making this as solved because there's a really simple way for me to achieve my goal - just make it so that all the cells I wanna do a T.TEST on are adjacent.

    Sorry for being a noob. And thank you!

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: When using [=IF(ISNUMBER, ], how can I tell Excel to ignore a cell when [value_if_fals

    Good to see you sorted out!

+ 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] In an IF function, How to ignore “[Value_if_false]” function when value is true
    By jason444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-11-2013, 12:14 AM
  2. [SOLVED] Remove If Statement From Cell Leaving [Value_If_False] From Formula
    By dopeybob435 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-20-2013, 05:53 PM
  3. [SOLVED] Value_IF_False Question
    By Pomrloo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2013, 08:05 PM
  4. Freezing Data updates when cell Value_if_False
    By ddawson7 in forum Excel General
    Replies: 0
    Last Post: 09-14-2012, 11:12 AM
  5. How to return value_if_false as a blank cell?
    By y2gordo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2005, 06:50 PM

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.6.0 RC 1