#VALUE! error help

bluefeather8989

Active Member
Joined
Nov 20, 2009
Messages
325
Office Version
  1. 365
Platform
  1. Windows
I'm using this formula to Extract the last number in a cell. If there is no number then I get #VALUE! error. How can I fix this ??

=IF([@Item]="","",VALUE(RIGHT([@Item], 2)))

Cell Formulas
RangeFormula
C3:C22C3=IF([@Item]="","",VALUE(RIGHT([@Item], 2)))
D3D3=IF(Poast!H25="","",Poast!H25)
E3:E22E3=IF(D3="","",INDEX(Data!$C$3:$C$155,MATCH(TRUE,ISNUMBER(SEARCH(Data!$B$3:$B$155,D3)),0)))
D4D4=IF(Poast!H21="","",Poast!H21)
D5:D6D5=IF(Poast!H6="","",Poast!H6)
D7D7=IF(Poast!H22="","",Poast!H22)
D8:D9D8=IF(Poast!H17="","",Poast!H17)
D10,D12D10=IF(Poast!H24="","",Poast!H24)
D11D11=IF(Poast!H16="","",Poast!H16)
D13:D14D13=IF(Poast!H11="","",Poast!H11)
D15,D19D15=IF(Poast!H10="","",Poast!H10)
D16D16=IF(Poast!H3="","",Poast!H3)
D17D17=IF(Poast!H5="","",Poast!H5)
D18,D22D18=IF(Poast!H4="","",Poast!H4)
D20D20=IF(Poast!H13="","",Poast!H13)
D21D21=IF(Poast!H15="","",Poast!H15)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B3:E100Expression=$B3>0textNO
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
How about
=iferror(VALUE(RIGHT([@Item], 2)),"")
 
Upvote 0
Solution
Try this:

=IF([@Item]="","",IFERROR(VALUE(RIGHT([@Item], 2)),""))
 
Upvote 0
There is no need to check if Item is blank or not, as the Iferror handles that anyway. :)
 
Upvote 0

Forum statistics

Threads
1,214,839
Messages
6,121,891
Members
449,058
Latest member
Guy Boot

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