#VALUE! error while using sum two cells having VLOOKUP

mwvirk

Active Member
Joined
Mar 2, 2011
Messages
286
Office Version
  1. 2016
Platform
  1. Windows
how i can resolve this #value! error since i have 2 different formulas in cell BR & BS:

Cell Formulas
RangeFormula
BR32:BR48BR32=IF(ISNA(VLOOKUP(A32,'PSX Portfolio Status'!A:BN,31,FALSE)),"",VLOOKUP(A32,'PSX Portfolio Status'!A:BN,31,FALSE))
BS32:BS48BS32=IF(ISNA(VLOOKUP(A32,'PSX Portfolio Status'!A:BN,54,FALSE)),"",VLOOKUP(A32,'PSX Portfolio Status'!A:BN,54,FALSE))
BT32:BT48BT32=BR32+BS32
Named Ranges
NameRefers ToCells
'PSX Portfolio Status'!_FilterDatabase='PSX Portfolio Status'!$A$1:$BN$1BR32:BS48





1723588560457.png
 
but i don't want to hide the 0 value for the entire sheet
There were many options in the link that Joe gave you, that was just one of them. ;)
One of the other options was ..

1723795913845.png

.. which applied to your situation would be, using Alex's original suggestion, ..

=IF(SUM(BR32:BS32)=0,"",SUM(BR32:BS32))
 
Upvote 1

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
is it possible to avoid 0.00
I think this statement needs to be read in conjunction with the image posted. In theory the first amount column was Profit/Loss so could be negative and unlikely as it might be the Sum of the 2 amounts could come to zero and should show as such.
The image was more indicative that the sum function column was pre-populated but the data was not and the OP didn't want 0 to show on the unpopulated rows.
 
Upvote 1

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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