Removing #VALUE! Cells Based on Number Value of Another Cell

MDean3313

New Member
Joined
Jul 8, 2019
Messages
13
Hi all,

I have two columns. One is listed as such:

40/E
32
55
110/E
75/E
95/E
34/E

These numbers are pulled using a formula, and whoever wrote the code for it, wasn't supposed to include the /E. The second column uses the function:

=NUMBERVALUE([@[Wattage (bulb)]])

This pulls anything with a numerical value into that column, however, any cell with the /E makes the 2nd columns cells a #VALUE !

My question is, what can I add to the =NUMBERVALUE([@[Wattage (bulb)]]) formula to ignore the cells with /E and populate the 2nd column with values, instead of errors.

Thanks for the help!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hey,

If the number is always suffixed with "/E" then try nest your existing function in IFERROR with the following formula if error:

=IFERROR(*your_existing_formula_here*,NUMBERVALUE(LEFT(cell_reference,FIND("/",cell_reference)-1)))
 
Upvote 0

Forum statistics

Threads
1,215,410
Messages
6,124,756
Members
449,187
Latest member
hermansoa

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