+ Reply to Thread
Results 1 to 4 of 4

simple question I think

  1. #1
    Registered User
    Join Date
    11-17-2006
    Posts
    9

    simple question I think

    I am trying to hide a value in M18- when I fill in B18 there is a value of -100%
    I want that cell to remain empty until F18 has a value-

    this is what I have now-

    HTML Code: 
    I added this to my M18 cell
    thanx in advance

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: simple question I think

    Perhaps

    =IF(COUNT(B18,F18)<2,"",(F18-B18)/B18)

    Though if B18 is 0 you will get #DIV/0! -- you could use Data Validation on B18 to preclude 0 as permissable value or

    =IF(OR(B18=0,COUNT(B18,F18)<2),"",(F18-B18)/B18)

  3. #3
    Forum Contributor
    Join Date
    10-11-2007
    Location
    Sweden
    MS-Off Ver
    365
    Posts
    251

    Re: simple question I think

    What is the value in B18 and F18?

  4. #4
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: simple question I think

    1newguy

    Please take a couple of minutes and read ALL the Forum Rules then edit your thread title by following the instructions in the rules (Rule 1) so that it better discribes your problem/request
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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