#VALUE ERROR - results from vlookup do not work, manual calculation works

jgold20

Board Regular
Joined
Feb 4, 2018
Messages
135
I am trying to calculate the results of a Vlookup that are returned to a cell and receive a #value error. When I use the formula, it works fine. I have defined the E6 as general:

=IF(AND(D3="yes"),IF(OR(A3={"D","V","X"}),(J9*5%+125),0)). This works

=IF(AND(D3="yes"),IF(OR(A3={"D","V","X"}),(J9*e6),0)) THIS DOES NOT WORK

This is what E6 looks like. - 5%+125
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Of course (J9*5%+125) is not the same than (J9*(5%+125)) (this happens when you put 5%+125 in E6 and then use E6 in the formula)

If you wish to modify both 5% or 125 then you have to use different cells for this purpose (ex: E6 and E7) and then stay with the original formula:
Code:
(J9*E6+E7)
Bye
 
Last edited:
Upvote 0

Forum statistics

Threads
1,225,749
Messages
6,186,802
Members
453,373
Latest member
Ereha

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