#VALUE! error value remover

Manoj K

New Member
Joined
Oct 22, 2021
Messages
21
Office Version
  1. 2013
Platform
  1. Windows
I have values in two cells and would like to get actual difference figure in column ‘C’.

Column ‘A’ figure is from formula =IFERROR(VLOOKUP(C13,'Budget 2021-22'!$D:$N,11,FALSE), " ")

Column ‘B’ is also from formula =IFERROR(VLOOKUP(C6,'Apr 2022'!$B$3:I50,8,FALSE), " ").

If column ‘B’ is blank I am getting #VALUE! Error in column ‘C’. I would like to get blank cell in column ‘C’. Please help
 

Attachments

  • Capture.JPG
    Capture.JPG
    32.9 KB · Views: 4

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi, I would suggest you change your column A & B formulas so they return a zero length string instead of a space in the event of an error. So..
Excel Formula:
=IFERROR(VLOOKUP(C13,'Budget 2021-22'!$D:$N,11,FALSE),"")
Excel Formula:
=IFERROR(VLOOKUP(C6,'Apr 2022'!$B$3:I50,8,FALSE),"")
Then in column C you can use.
Excel Formula:
=IF(B2="","",B2-A2)
 
Upvote 0
Hi, I would suggest you change your column A & B formulas so they return a zero length string instead of a space in the event of an error. So..
Excel Formula:
=IFERROR(VLOOKUP(C13,'Budget 2021-22'!$D:$N,11,FALSE),"")
Excel Formula:
=IFERROR(VLOOKUP(C6,'Apr 2022'!$B$3:I50,8,FALSE),"")
Then in column C you can use.
Excel Formula:
=IF(B2="","",B2-A2)
it worked, but column A2 is blank B2 is having figures, it gives error. Please help for that also.
 
Upvote 0
Hi, you can try:
Excel Formula:
=IF(OR(A2="",B2=""),"",B2-A2)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,414
Messages
6,119,375
Members
448,888
Latest member
Arle8907

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