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
 
Is this what you mean for 17?
Excel Formula:
=IF(AH16="","",IF(AH16="S",-I16+AL16,-AL16+P16-O16))

Try this for 18

23 01 14.xlsm
GMAH
91S
100.5S
111B
121B
13 
1412D
Sheet7
Cell Formulas
RangeFormula
AH9:AH14AH9=IF(G9&M9="","",IF(G9="","S",IF(M9="","B","D")))


I am not understanding
 
Upvote 0

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Is this what you mean for 17?
Excel Formula:
=IF(AH16="","",IF(AH16="S",-I16+AL16,-AL16+P16-O16))

Try this for 18

23 01 14.xlsm
GMAH
91S
100.5S
111B
121B
13 
1412D
Sheet7
Cell Formulas
RangeFormula
AH9:AH14AH9=IF(G9&M9="","",IF(G9="","S",IF(M9="","B","D")))


I am not understanding
Hi #18 post solved thanks and for #17 post here below example in 16th row i forget AH16 to Type "B". what i did i put data AI16,AJ16, AK16 before and after i Type "B" in Ah 16 but AM16 results comes wrong , he actually picking "S" calculation instead of "B" due to i type "B" later. It should pickup -4188 in Am16.. how can i solve this issue Thanks.

Shares Trading1.xlsx
AGAHAIAJAKAM
11292.40B27/12/20221317.30-31125
12449.60B29/12/20221483.20-42000
13292.40B29/12/20220.5317.30-15563
141508.90B03/01/202311455.5521340
15292.40B10/01/20230.5299.10-4188
16292.40B10/01/20230.5299.10182750
1
Cell Formulas
RangeFormula
AG11:AG16AG11=D11
AM11:AM16AM11=IF(AK11="","",(G11-M11)*B11*D11+IF(AH11="S",-I11+AL11,-AL11+P11-O11))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
AH3:AH109Cell Value="B"textNO
AH3:AH109Cell Value="S"textNO
 
Upvote 0
Is this what you mean then?
Excel Formula:
=IF(OR(AH11="",AK11=""),"",(G11-M11)*B11*D11+IF(AH11="S",-I11+AL11,-AL11+P11-O11))
Hi if and or does not make any difference, what is happening in #22 example, i just discovered if i copy paste to AK16 cell price 299.1 it gives wrong calculation, and if i type manually 299.1 then calculation working good. Actually in AM column i hv put condition that check B or Check S and formula applied accordingly
 
Upvote 0
Hi if and or does not make any difference, what is happening in #22 example, i just discovered if i copy paste to AK16 cell price 299.1 it gives wrong calculation, and if i type manually 299.1 then calculation working good. Actually in AM column i hv put condition that check B or Check S and formula applied accordingly

@Peter_SSs i sorted out issue, there was problem in AL16 column was blank, due to i insert row there. Now i rectified. Wn i insert row, previous colmn cell formula does not carry forward to new insert row, i don't know why ? . Well Thanks for help .​

 
Last edited:
Upvote 0
hi @Peter_SSs or @Fluff here is example why S14, S15 not showing blank. kindly check my formula

Shares Trading.xlsx
HNRS
864825.00-69030Active
13299.10-4188Active
14 Active
15 Active
1
Cell Formulas
RangeFormula
R8,R13:R15R8=Q8*IF(M8="",G8,M8)*B8-O8
S8,S13:S15S8=IF(R8="","",IF(OR(H8="",N8=""),"Active","Booked"))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
S3:S108Cell Value="ACTIVE"textNO
 
Upvote 0
hi @Peter_SSs or @Fluff here is example why S14, S15 not showing blank. kindly check my formula

Shares Trading.xlsx
HNRS
864825.00-69030Active
13299.10-4188Active
14 Active
15 Active
1
Cell Formulas
RangeFormula
R8,R13:R15R8=Q8*IF(M8="",G8,M8)*B8-O8
S8,S13:S15S8=IF(R8="","",IF(OR(H8="",N8=""),"Active","Booked"))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
S3:S108Cell Value="ACTIVE"textNO
I myself solved it after some little practicing like below:
=IF(H8&N8="","",IF(OR(H8="",N8=""),"Active","Booked"))
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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