Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

In Excel 2007, how should I correct my IF ERROR formula to avoid #VALUE! error

Avatar of hermesalpha
hermesalphaFlag for Hong Kong asked on
Microsoft OfficeMicrosoft ExcelSpreadsheets
15 Comments1 Solution249 ViewsLast Modified:
I have this formula in Q13:

=IF(OR($Q19="2: 1/4";"2: halv");0.225*1*0.25;0.225*1*0.5)

Then in Q19 I have a drop-down list with these values:

2: 1/4
2: halv

Note that the first value in this drop-down list is a - with several blank spaces before and after it. I suspect this might cause this #VALUE! error.

I get this #VALUE! error even after I have selected a valid option in the drop-down list (e.g. "2: 1/4").

Other things that might cause this could be formatting, such as centering of the contents in Q13 and Q19.

Or is there any wrong with my formula? How should I correct this so I get the calculation performed after having selected a valid option in the drop-down list?
Avatar of Shums
ShumsFlag of United Arab Emirates imageExcel VBA Developer
This problem has been solved!
Unlock 1 Answer and 15 Comments.
See Answers