+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : How to manipulate array that displays 12:00 AM to a blank ""

  1. #1
    Registered User
    Join Date
    05-30-2012
    Location
    NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    21

    How to manipulate array that displays 12:00 AM to a blank ""

    Hi all,

    Currently, I am using this formula {=IF(F1=F2,"",MAX(IF($F$1:$F$100=F1,$D$1:$D$100)))}. Column F are different states/regions (i.e. LA, Detroit, Dallas) while column D are times (i.e. 8:21 AM, 10:03 AM). The way the formula works now is if there is a blank in column D, it will put it as 12:00 AM. For some reason, I can't write a simple if to make the field blank instead of 12:00 AM. Any ideas?

    Thanks,

    -h
    Last edited by harry1013; 07-03-2012 at 11:40 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: How to manipulate array that displays 12:00 AM to a blank ""

    Try that
    =IF(F1=F2,"",MAX(IF($F$1:$F$100=F1,$D$1:$D$100,"")))

    Should that not work, try:
    =IF(F1=F2,"",IF(MAX(IF($F$1:$F$100=F1,$D$1:$D$100))=0,"")
    Last edited by dip11; 06-29-2012 at 11:56 AM.

  3. #3
    Registered User
    Join Date
    05-30-2012
    Location
    NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: How to manipulate array that displays 12:00 AM to a blank ""

    nope that doesn't work for the table i have, it seems to be giving me the max of the column.

  4. #4
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: How to manipulate array that displays 12:00 AM to a blank ""

    Attach the worksheet then

  5. #5
    Registered User
    Join Date
    05-30-2012
    Location
    NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: How to manipulate array that displays 12:00 AM to a blank ""

    one minute need to make a sample sheet out of it

  6. #6
    Registered User
    Join Date
    05-30-2012
    Location
    NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: How to manipulate array that displays 12:00 AM to a blank ""

    So the columns have been changed so that B is to E as C is to F. Same principles apply to both.

    sample.xlsx

  7. #7
    Registered User
    Join Date
    05-30-2012
    Location
    NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: How to manipulate array that displays 12:00 AM to a blank ""

    still cannot get this to work =\

  8. #8
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: How to manipulate array that displays 12:00 AM to a blank ""

    Hm try this:
    =IF(D2=D3,"",IF(C2="","",MAX(IF($D$1:$D$100=D2,$C$1:$C$100))))
    (with CSE)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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