How to use to Iferror and Vlookup makes blank cell to pure true blank

pankajgrover

Board Regular
Joined
Oct 27, 2022
Messages
99
Office Version
  1. 365
Platform
  1. Windows
Here is example, how to make D16, D17 show TRUE instead of false. I want here true blank cells..

Shares Trading - Copy.xlsx
ACD
14Infy300FALSE
15Natural Gas500FALSE
16 FALSE
17 FALSE
1
Cell Formulas
RangeFormula
C14:C17C14=IFERROR(VLOOKUP(A14,Prices!$A$2:$F$25,3,0),"")
D14:D17D14=ISBLANK([@Brok])
Named Ranges
NameRefers ToCells
Shares=OFFSET(Prices!$A$2,0,0,COUNTA(Prices!$A$2:$A$25))C14:C17
Cells with Data Validation
CellAllowCriteria
A14:A17List=Shares
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I think ISBLANK will always return FALSE as long as you have even a single character of value or formula in C17.
 
Upvote 0
Then you will need to remove the formula from C16:C17
I have type formula last "" in vlookup for blank, because further i am doing this row with + and multiply with other cells like e7+ f7, which sometimes create #value error.
If i type in formula vlookup last 0 instead of blank "", then works fine , but vlookup cells cloumn below shows 0 . How can get rid of this showing 0. Thanks
 
Upvote 0
Use the vlookup formula you are using, but do not use isblank as the cell is not blank as it contains a formula.
Instead use
Excel Formula:
=[@Brok]=""
 
Upvote 0
I have type formula last "" in vlookup for blank, because further i am doing this row with + and multiply with other cells like e7+ f7, which sometimes create #value error.
If i type in formula vlookup last 0 instead of blank "", then works fine , but vlookup cells cloumn below shows 0 . How can get rid of this showing 0. Thanks
Perhaps like this Display or hide zero values - Microsoft Support
or
Excel Formula:
=IF(COUNTBLANK(c14),TRUE,FALSE)
 
Upvote 0
Use the vlookup formula you are using, but do not use isblank as the cell is not blank as it contains a formula.
Instead use
Excel Formula:
=[@Brok]=""
here below i am facing issue, how to get rid P column #value issue...

Shares Trading - Copy.xlsx
ABMNOP
9Silver5164972.50 324863
10Silver50.564825.00 162063
16  #VALUE!
17  #VALUE!
18  #VALUE!
1
Cell Formulas
RangeFormula
O9:O10,O16:O18O9=IF(AND(N9<>"",H9<>""),C9*M9,0)
P9:P10,P17:P18P9=((M9*B9)*N9)-O9
P16P16=SUM(((M16*B16)*N16)-O16)
B16:B18B16=IFERROR(VLOOKUP(A16,Prices!$A$2:$F$25,2,0),"")
Named Ranges
NameRefers ToCells
Shares=OFFSET(Prices!$A$2,0,0,COUNTA(Prices!$A$2:$A$25))B16:B18
Cells with Data Validation
CellAllowCriteria
A9:A18List=Shares
 
Upvote 0
How about
Excel Formula:
=if(o16="","",SUM(((M16*B16)*N16)-O16))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,818
Messages
6,121,725
Members
449,049
Latest member
MiguekHeka

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top