+ Reply to Thread
Results 1 to 5 of 5

Combing two IF formulas

  1. #1
    Registered User
    Join Date
    07-24-2015
    Location
    Clitheroe, England
    MS-Off Ver
    2013
    Posts
    24

    Red face Combing two IF formulas

    Hi All,

    I use and IF formula to exclude the div# sign in excel like IF(F11=0,"",H11/F11)

    However I am already using the IF in a separate formula with the results being a number or div. Can anyone advise how I can get the below formular to change div# to zero in the result.

    =IF(Z5>=0,Z5/COUNT(Z5:AG5),Z5)

    Regards

    Chris

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Combing two IF formulas

    Try this...

    =IFERROR(IF(Z5>=0,Z5/COUNT(Z5:AG5),Z5),0)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,720

    Re: Combing two IF formulas

    Try this:

    =IF(COUNT(Z5:AG5)=0,0,IF(Z5<=,Z5,Z5/COUNT(Z5:AG5)))

    I think that's what you mean.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    07-24-2015
    Location
    Clitheroe, England
    MS-Off Ver
    2013
    Posts
    24

    Re: Combing two IF formulas

    Thanks that has worked

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Combing two IF formulas

    You're welcome. We appreciate the feedback!

    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select Mark this 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)

Similar Threads

  1. [SOLVED] Need Help on a combing formula
    By alcorp in forum Excel General
    Replies: 3
    Last Post: 07-24-2014, 12:55 PM
  2. Combing Max and IF functions
    By AZ_Joe in forum Excel General
    Replies: 3
    Last Post: 06-02-2014, 02:14 PM
  3. [SOLVED] Combing IF, AND, OR Functions?
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-21-2013, 02:22 PM
  4. combing 2 tables into 1
    By kevincoxshall in forum Excel General
    Replies: 3
    Last Post: 08-14-2013, 01:12 PM
  5. Combing other cells into formulas
    By JakeMann in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-24-2012, 11:47 AM
  6. Excel 2007 : Combing formulas
    By ccampbell14 in forum Excel General
    Replies: 6
    Last Post: 07-12-2012, 02:15 PM
  7. [SOLVED] combing cells
    By Kelly E. in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2005, 11:06 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