+ Reply to Thread
Results 1 to 3 of 3

How to deal with blank cells

  1. #1
    Registered User
    Join Date
    10-27-2015
    Location
    Australia
    MS-Off Ver
    365
    Posts
    12

    How to deal with blank cells

    I have a formula that looks for the minimum from 6 cells and then applies some other functions. Problem is, sometimes not all cells contain data - eg sometimes they are blank. How can I adjust the formula to look for the minimum of cells with numbers and ignore blank cells?

    The formula I need to change is: =MIN(IF(AE60:AE65=0,"",AE60:AE65))*0.7+(0.5)

    Or, would I be better to adjust the formula in column AE which at present is: =IF(ISERROR(SUM(AC60-AD60)),"",(SUM(AC60-AD60))) sometimes AC & AD are blank so this formula then returns blanks

  2. #2
    Registered User
    Join Date
    10-27-2015
    Location
    Australia
    MS-Off Ver
    365
    Posts
    12

    Re: How to deal with blank cells

    Sorry, I meant to post some data example: formula to change in red

    AE
    0.28 20.80 0.09 20.61 -0.21 20.61 20.61 9% 0.05 0.70
    0.91 20.80 0.12 20.01 -0.12
    0.86 20.80 0.09 20.03 -0.09
    0.63 20.80 -0.07 20.10 -0.15
    #N/A
    #N/A

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,355

    Re: How to deal with blank cells

    Hi Gary,

    I think the blank cells are ignored and not counted as zero. Look at:

    https://support.office.com/en-us/art...F-96F202DCC152
    and the section that reads,
    If an argument is an array or reference, only numbers in that array or reference are used. Empty cells, logical values, or text in the array or reference are ignored.

    The section after that says if you have NO numbers in your 6 cells then it returns a zero. Is this what is happening?
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say 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. Replies: 3
    Last Post: 07-24-2017, 01:41 PM
  2. [SOLVED] How to deal with merged cells in this case?
    By KNTom in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-23-2017, 08:52 AM
  3. [SOLVED] How to deal with blank cells to get unique distinct alphabetically sorted list?
    By keyantkarthi in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-28-2015, 09:13 AM
  4. Count blank cells in a range and contiguous blank cells also as single cells! Tricky One!
    By SebastianColombia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2015, 02:32 PM
  5. [SOLVED] How to deal with blank data options for LOOKUPS from a table
    By Attrition in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2014, 04:47 PM
  6. [SOLVED] How to deal with a blank first row when importing a worksheet
    By highlystrung in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2013, 02:48 AM
  7. How to deal with blank cells for Pivot Chart
    By DKDiveDude in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-03-2005, 08:08 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