Questions tagged [nonblank]
56 questions
0
votes
2 answers
Make an if formula result empty, not blank
I have a problem. I did create a formula that fills a cell only if a date criterion is met. Otherwise it leaves it blank. Then I plot the resulting values.
Now, the problem is that the cell is not empty but blank, therefore when I plot it, its value…
0
votes
1 answer
Find next non-blank row in pandas column
Given a Pandas dataframe of
df = pd.DataFrame({'a': [None,1,None,None,2,None], 'b': [None,None,None,3,None,4]})
a b
0 NaN NaN
1 1.0 NaN
2 NaN NaN
3 NaN 3.0
4 2.0 NaN
5 NaN 4.0
I want to return the position and value of the next…

ChemEnger
- 131
- 12
0
votes
1 answer
Remove Blank from a Calculated Table
I have a query in Power BI which is taking all the unique values from 6 different Table's columns and creating a New Table.
Query -
All Country =
VAR newTable =
UNION (
SUMMARIZE(Table1, Table1[Country]),
SUMMARIZE(Table2, Table2[New…

Istiak Mahmood
- 2,330
- 8
- 31
- 73
0
votes
1 answer
Excel Conditional Formatting Multiple Rules Changing Blank Cells After Data Entry
I have a row with a dropdown list (Yes/No) that turns 3 columns yellow indicating to the user that they need to enter data into the cells. This works well with the formula (=$A3="Yes").
My spreadsheet has a second condition to format blank cells…

Codesurfer
- 52
- 1
- 8
0
votes
2 answers
How to get the column letter of the first non blank cell of a range in VBA?
I need to get the column letter of the first non-blank cell of a range. This range is basically a part of a row like.
Example:
Range = A2:G2
First non blank cell is on F2 cell.
Need to get 'F' and store it in a String variable.
What is the most…

rcmv
- 151
- 2
- 3
- 14
0
votes
1 answer
identify longest range of non-blank contiguous cells in a row
I have an Excel spreadsheet of velocity values (see link below) with some blanks interspersed. I am trying to loop through each row and return the range of the longest set of contiguous non-blank cells in each row. I will ultimately use the range…

mariec123
- 13
- 4
0
votes
1 answer
Copy excel data from one sheet to another
I have an excel sheet named as "Task" which contains two tabs "Data" and "DB-Task". I want to copy data from sheet "Data" to "DB-Task". Sheet "Data" has five columns (e.g. A,B,C,D,E,F). I want that if some one enter data in first row it should be…

Deepak Verma
- 21
- 2
0
votes
1 answer
SUMPRODUCT with multiple criteria while ignoring blank input
There is currently a nice check for if the account and country id match then get the amount and sum. Now I have another account, which I want to leave empty in the B column since it includes all the country ids. How do I let sumproduct ignore the…

Worempie
- 35
- 1
- 8
0
votes
1 answer
vba variable range of nonblank cells in column listobject
I have a funciton that gets a Range as variable and run over the values of the cells of the range.
I need to pass ranges to taht function built as follows:
Dim hltTbl As ListObject
Set hltTbl = ThisWorkbook.Sheets("classy").ListObjects(1)
Dim i As…

JFerro
- 3,203
- 7
- 35
- 88
0
votes
1 answer
Why does trim(" ") == "" returns false in Fortran?
I'm facing a random incoherence... In some cases, trim(" ") == "" returns false.
I did something like this (so a sort of concatenation function using types) of course this code is a bit messy a lot of simplification can be done but because of this…

Ailyc
- 61
- 11
0
votes
1 answer
Return latest value present in power BI
I am trying to create a calculated column in power BI called most recent score that gives me the most recent score for each employee.
Employee Number Date Score Most recent score
1234 01/01/2019 1 1
1235 01/01/2019 4 2
1236 01/01/2019 2…

Jody
- 13
- 1
- 2
- 5
0
votes
2 answers
How to use: Sum if is not blank
I have an example with 2 columns in excel sheet:
X --- Y
1 --- A
2 --- A
3 ---
5 ---
1 --- A
Column Y was hidden by the formula: =IF(A2<=2,"A","")
I want to sum if column X if Y is not blank.
I use this formula: =SUMIF(B:B,"<>",A:A) but it…

Luu nguyen
- 157
- 1
- 4
- 17
0
votes
1 answer
Removing null elements from the scheme list
(define filter-in
(lambda (predicate list)
(let((f
(lambda (l)
(filter-in-sexpr predicate l))))
(map f list))))
(define filter-in-aux
(lambda (pred lst)
(if (null? lst) '()
(cons (filter-in-sexpr pred (car…

sudhirc
- 125
- 2
- 12
0
votes
1 answer
How to count the number of non empty columns without giving a range?
In this question is asked how to count the number of non-empty rows for a given range (e.g., A1:A100).
In this answer, COUNTA is used as solution. However, is there a solution without specifying the range?

justHelloWorld
- 6,478
- 8
- 58
- 138
0
votes
1 answer
"OR" condition in r with NA and blank
I have recently seen a problem that I don't understand. Here you have:
x <- c(1,2,3,4,45,654,3,NA," ",8,5,64,54)
And the || condition in r is not working at my interest: to identify both NAs and blanks:
if(is.na(x) || x==" ") {...}
I am expecting…

user95902
- 149
- 2
- 3
- 13