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-
I added this to my M18 cellHTML Code:
thanx in advance
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-
I added this to my M18 cellHTML Code:
thanx in advance
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)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
What is the value in B18 and F18?
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks