+ Reply to Thread
Results 1 to 3 of 3

ISNUMBER Formula Cleanup

  1. #1
    Forum Contributor
    Join Date
    05-27-2012
    Location
    New Brunswick, Canada
    MS-Off Ver
    Excel 2016
    Posts
    327

    ISNUMBER Formula Cleanup

    I have 365 columns, each representing a day of the year. So what I want is to average the last 8 Thursdays, then tomorrow I want to average the last 8 Fridays, Saturday will be the last 8 Saturdays... so on and so forth. The numbers are just straight numbers, they're actually pulled from other sources in the workbook so essentially they're formula results that will be 1 of 2 things.
    1. Will be a blank as a result of a IF formula
    2. A percentage based on dividing 2 other cells.


    What I want is if any of the 8 cells are blank, I want to take a straight number from another cell. In the example below, it would come from OS8.
    If not, then average the 8 cells.

    As an example, I have the folowing.


    =IF(AND(ISNUMBER(MO5),ISNUMBER(MV5),ISNUMBER(NC5),ISNUMBER(NJ5),ISNUMBER(NQ5),ISNUMBER(NX5),ISNUMBER(OE5),ISNUMBER(OL5)),AVERAGE(MO5,MV5,NC5,NJ5,NQ5,NX5,OE5,OL5),OS8)

    What I'd like to know is if there is a way to simplify the formula so I don't have 8 ISNUMBER parts.
    Last edited by Wheelie686; 02-14-2019 at 08:59 PM.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: ISNUMBER Formula Cleanup

    Try:

    =IF(COUNT(MO5,MV5,NC5,NJ5,NQ5,NX5,OE5,OL5)=8,AVERAGE(MO5,MV5,NC5,NJ5,NQ5,NX5,OE5,OL5),OS8)

  3. #3
    Forum Contributor
    Join Date
    05-27-2012
    Location
    New Brunswick, Canada
    MS-Off Ver
    Excel 2016
    Posts
    327

    Re: ISNUMBER Formula Cleanup

    Hmm that seems to have done the trick. I would've thought the blanks would've counted. Thanks!

+ 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] if and isnumber, isnumber - then perform calculation.
    By isychos in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2018, 04:59 PM
  2. Formula CleanUp Needed involves IF, IFERROR, VLOOKUP, OFFSET
    By tbone812 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-06-2018, 10:25 PM
  3. Cleanup SUMIFS formula
    By KINGOFCHAOS17 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-28-2017, 06:01 PM
  4. [SOLVED] Cleanup/Speed up Formula
    By meabrams in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-27-2016, 03:08 AM
  5. Excel 2007 : isnumber formula help
    By bryder in forum Excel General
    Replies: 4
    Last Post: 07-06-2012, 02:11 PM
  6. if (formula cleanup)
    By simpson in forum Excel General
    Replies: 8
    Last Post: 05-19-2010, 08:08 PM
  7. isnumber() formula?
    By Banaticus in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-27-2009, 04:07 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