+ Reply to Thread
Results 1 to 11 of 11

Need help with formula to execute multiple functions

  1. #1
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Need help with formula to execute multiple functions

    Hey everybody,

    I need help with a formula. I'm trying to write a formula that has 3 functions. Here is my example, I got Cell B2 that is based off the value of cell A2, I need a formula that if A2 contains any text then cell B2 will return the text "N/A", and if cell A2 contains any number then cell B2 will return a formula, however (here is my issue) if cell A2 is blank then i would like cell B2 to also remain blank. This is the formula i came up with that returns:
    =IF(ISNUMBER(A2),(100-(A2*100))/100, if(ISTEXT(A2),"N/A"), if(ISBLANK(A2),""))

    Any help is most appreciated

    Thanks.

  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: Need help with formula to execute multiple functions

    Maybe this...
    =if(A2="","",if(istext(A2),""N/A",(100-(A2*100))/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
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Need help with formula to execute multiple functions

    Try this...

    =IF(A2="","",IF(ISNUMBER(A2+1),(100-(A2*100))/100,"N/A"))


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Registered User
    Join Date
    09-20-2012
    Location
    North Dakota
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Need help with formula to execute multiple functions

    This should work.

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

  5. #5
    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: Need help with formula to execute multiple functions

    @ Six...was this a typo?
    =IF(A2="","",IF(ISNUMBER(A2+1),(100-(A2*100))/100,"N/A"))

  6. #6
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Re: Need help with formula to execute multiple functions

    Your's worked perfect! Thanks!

  7. #7
    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: Need help with formula to execute multiple functions

    Happy to help and thanks for the feedback

  8. #8
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Re: Need help with formula to execute multiple functions

    SIXTH SENSE, You'rs worked perfect as well! Thank you!
    Last edited by kosherboy; 12-17-2013 at 01:12 AM.

  9. #9
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Re: Need help with formula to execute multiple functions

    And you'rs as well UGOGIRL2005! Thank you!
    Last edited by kosherboy; 12-17-2013 at 01:13 AM.

  10. #10
    Valued Forum Contributor
    Join Date
    11-27-2013
    Location
    Waterbury, CT
    MS-Off Ver
    Office 365
    Posts
    1,175

    Re: Need help with formula to execute multiple functions

    All three replies worked perfect even though different formula set up. Thanks Forum!
    Last edited by kosherboy; 12-17-2013 at 01:13 AM.

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Need help with formula to execute multiple functions

    Quote Originally Posted by FDibbins View Post
    @ Six...was this a typo?
    No just wantedly written it in that way. Because there may be chances where the cell is getting formatted as Text and entering a number value will be considered as text or the data might be imported which sometimes results text values Or even sometimes some persons have the habit of typing the number preceding with single quote.

    So just want to ensure whether it is really a number or text.

+ 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. Multiple functions in one formula
    By Dannibm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-10-2011, 06:18 PM
  2. multiple functions in one formula
    By ErikVegas in forum Excel General
    Replies: 6
    Last Post: 05-12-2010, 12:59 PM
  3. Create a formula using multiple if and functions?
    By mollyp in forum Excel General
    Replies: 1
    Last Post: 11-11-2009, 12:25 AM
  4. Question re multiple functions in a formula...
    By doublejoy529 in forum Excel General
    Replies: 3
    Last Post: 08-02-2008, 02:39 PM
  5. problems with Win32::Ole to access/execute some macros/functions.
    By zeycus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-22-2007, 06:59 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