Getting #VALUE error when using a cell that contains another formula

mpatino

Board Regular
Joined
Jul 8, 2009
Messages
81
Hi Experts,

I am trying to do some calculation in cell A4 taking in consideration the result of another calculation done in B4, but I am getting error #VALUE, so I was wondering if someone could help me understand why I am getting this error. I supposed I am getting the error because I am trying to calculate against a cell with a formula and not against an actual value, if this is so, do anyone knows how can I have my formula in A4 take the formula in B4 as a value and not as text? This is what I am doing:

ABCD
1WW50WW51WW52WW53
250003500
3105003500
4IF(A5=1,B4+ROUNDUP(A2/$A$7,0)*$A$7) (I get the error here = #VALUE)IF(AND(B5=1,SUM(A8:B8)>A6),"",IF(B5=1,C4+ROUNDUP(B2/$A$6,0)*$A$6))
51111
6SUM(A1:D1)
73500
8IF(A5=1,B4+ROUNDUP(A2/$A$7,0)*$A$7)IF(B5=1,C4+ROUNDUP(B2/$A$6,0)*$A$6))

<tbody>
</tbody>

Appreciate the assistance with this issue.

<colgroup><col><col span="4"></colgroup><tbody>
</tbody>
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Kenneth Hobson

Well-known Member
Joined
Feb 6, 2007
Messages
3,172
Office Version
  1. 365
Platform
  1. Windows
Where is the false part after the True condition is set? Setting it to NA():

=IF(A5=1,B4+ROUNDUP(A2/$A$7,0)*$A$7, NA())

Of course when dividing by a number, it can not be empty or 0. If so, it will error.
 

Anand Sharma

Board Regular
Joined
Nov 22, 2016
Messages
63
Your formulas having many errors here

You cannot sum A1:D1 as cells have text values

Cell B4 and A8 have circular reference error

Post what result you want here so that i can help
 

mpatino

Board Regular
Joined
Jul 8, 2009
Messages
81
Thank you guys for your quick replies, I fixed the problem just by changing the the expresion IF(B5=1,SUM(A8:B8)>A6),"") to IF(B5=1,SUM(A8:B8)>A6),0), it looks like the formula didn't like an empty field.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,683
Messages
5,637,779
Members
416,982
Latest member
lisam77

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
Top