Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Problem-
I have hit the problem in Excel, that any function that references a blank cell destroys the "blankness" of the result. You can convert Null (a blank cell) to zero, or an empty string, but these are not the same as blank! In the original source range, I can use a conditional format of "Cell value is not 0" (bizarrely, but it works) to highlight cells that contain any number or text. I can also create subtotal lines and use the SubTotal count function SubTotal(3, [Range]) to count the nonblank cells. However if I make a duplicate copy of the range on another sheet using any function, the function result is always converted to zero (which screws up the subtotal count) or an empty string (that screws up the conditional formats). I tried writing a custom "Keepblank()" function, but even here if the function returns a null value Excel is converting this to a zero. This has to be an FAQ. Is there a way with functions, or do I have to write VBA code to bulk-copy the range to retain the blank values? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a Custom Excel Function to Calculate Gini Coefficients | Excel Worksheet Functions | |||
Need to reference existing functions in a custom function: possibl | Excel Worksheet Functions | |||
Excel option to store trendline's coefficients in cells for use | Charts and Charting in Excel | |||
Skipping Blank Or Null Cells In a Lookup Function | Excel Worksheet Functions | |||
Function to return colour of formatted cell | Excel Worksheet Functions |