Get rid of #VALUE error message

SimonHughes

Active Member
Joined
Sep 16, 2009
Messages
452
Office Version
  1. 365
Platform
  1. Windows
I have a simple formula =IFERROR(VLOOKUP(A42,'Sales Pricing.rdl'!$B$5:$G$1936,6,0),F42*0.8) which I am using to create a price list.

However, there are blank rows which creates the error #VALUE. What do I need to add into this formula to prevent the error message appearing?

I am using Excel 2010 on Win 7
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi Aladin, that gets rid of the value error but it does drop a zero in. Can it be worked to show a blank cell? I should have been more specific in my original question
 
Upvote 0
Hi Aladin, that gets rid of the value error but it does drop a zero in. Can it be worked to show a blank cell? I should have been more specific in my original question

You could custom format the formula cell as:

[=0]"";General

Otherwise:

Either...

=IFERROR(VLOOKUP(A42,'Sales Pricing.rdl'!$B$5:$G$1936,6,0),IFERROR(F42*0.8,""))

Or...

=IFERROR(VLOOKUP(A42,'Sales Pricing.rdl'!$B$5:$G$1936,6,0),IF(ISNUMBER(F42),F42*0.8,""))
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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