Getting #value error with nested if statements

Lotus User

New Member
Joined
Jan 3, 2018
Messages
17
The formula I am using is:

=IF(AND(C13>0,C25<C30),"MIN-OUT"),IF(AND(C18>0,C27<0),"MIN-OUT",IF(C27<=0,"MET","OUT"))

My formula is in cell C29 and I am getting the #VALUE ERROR. I've checked all the cell formatting and they are all set to number. Any suggestions?
Here is the data. Can't figure out how to do an actual screen shot post.

C13=38
C25=48.50
C3047.86
C18=0.00
C27=-8.50

[TABLE="width: 383"]
<tbody>[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]Sun[/TD]
[/TR]
[TR]
[TD]Date[/TD]
[TD] [/TD]
[TD]01/07[/TD]
[/TR]
[TR]
[TD]Census[/TD]
[TD]ALF[/TD]
[TD]38[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Memory[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]RTF[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Total[/TD]
[TD]38[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Hours Allowed[/TD]
[TD]ALF[/TD]
[TD]57.00[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Memory[/TD]
[TD]0.00[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]RTF[/TD]
[TD]0.00[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Adj for Min[/TD]
[TD]0.00[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Total[/TD]
[TD]57.00[/TD]
[/TR]
[TR]
[TD]Effective Ratio[/TD]
[TD] [/TD]
[TD]1.50[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Actual Hours[/TD]
[TD]Regular[/TD]
[TD]48.50[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Overtime[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Agency[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Total[/TD]
[TD]48.50[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Over/Under[/TD]
[TD] [/TD]
[TD]-8.50[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]MET/OUT![/TD]
[TD] [/TD]
[TD]#VALUE ![/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD]47.86[/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
 
=IF(AND(C13>0,C25 < C30),"MIN-OUT"),IF(AND(C18 > 0,C27 < 0),"MIN-OUT",IF(C27 < =0,"MET","OUT"))

hopefully THIS formula posts correctly
 
Upvote 0
=IF(AND(C13>0,C25 < C30),"MIN-OUT"),IF(AND(C18 > 0,C27 < 0),"MIN-OUT",IF(C27 < =0,"MET","OUT"))

Looks like misplaced )
Should be
=IF(AND(C13>0,C25 < C30),"MIN-OUT",IF(AND(C18 > 0,C27 < 0),"MIN-OUT",IF(C27 < =0,"MET","OUT")))
 
Upvote 0

Forum statistics

Threads
1,226,850
Messages
6,193,338
Members
453,790
Latest member
yassinosnoo1

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