Formula gives me #value

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,589
Office Version
  1. 2021
Platform
  1. Windows
I have a formula in Col Q =IF(AND(M2="",O2="","",ROUND(L2+N2,0)),ROUND(L2+O2,0)) which gives me #value


I have basic salaries in Col L from row 2 onwards



I can either Input a % increase in Col M and the increased value will be computed in Col N or I can input a $ value in Col O and the % increase will be computed in Col P

I need to compute the new salary on either the Value in Col N if calculated or Col O if manually inputted



It would be apreciated if someone can please assist me



Excel 2010
LMNOPQR
1CURR BASIC% IncValue (Calc)Value (Input)% inc CalcNew SalShould Be
281505.00%407.50 #VALUE!8,557.50
33000 500.0016.67%#VALUE!3,500.00
478506.00%471.00 #VALUE!8,321.00
5
Sheet1
Cell Formulas
RangeFormula
P2=IF(O2="","",O2/L2)
P3=IF(O3="","",O3/L3)
P4=IF(O4="","",O4/I3)
Q2=N1=IF(AND(M2="",O2="","",ROUND(L2+N2,0)),ROUND(L2+O2,0))
Q3=IF(AND(M3="",O3="","",ROUND(L3+N3,0)),ROUND(L3+O3,0))
Q4=IF(AND(M4="",O4="","",ROUND(L4+N4,0)),ROUND(L4+O4,0))
R2=+L2+N2
R3=+L3+O3
R4=+L4+N4
N2=IF(M2="","",L2*M2)
N3=IF(M3="","",L3*M3)
N4=IF(M4="","",L4*M4)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
try this in Q2 and copy down

=if(isblank(P2),L2+N2,L2+O2)
 
Upvote 0
Thanks for your input, much appreciated

BTW Alan unfortunately this is only fictitious data
 
Upvote 0

Forum statistics

Threads
1,223,270
Messages
6,171,103
Members
452,379
Latest member
IainTru

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