Multiple If statements

damian_r

Active Member
Joined
May 4, 2004
Messages
389
Hi

Can anyone help me with why this statement dosen't work


=((IF(D102<0,"Therefore no infill reqiured",),(IF(AND(D102>0,D102<D32),"Therefore a half infill is reqiured",),(IF(AND(D102>=D33,D103<D31),"Therefore a full infill is required","")))))

All i'm getting is a #VALUE return
Thanks

Damain
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I’m not sure exactly what you are trying to do, but does this do what you want?:
Code:
=IF(D102<0,"Therefore no infill reqiured",IF(AND(D102>0,D102=D33),D103))

If not, can you explain in plain language the logic you are trying to apply?
 
Upvote 0
Use code tags, can't see your whole formula.

Code:
[code]formula here
[/code]
 
Upvote 0
Hi

Can anyone help me with why this statement dosen't work


=((IF(D102<0,"Therefore no infill reqiured",),(IF(AND(D102>0,D102<D32),"Therefore a half infill is reqiured",),(IF(AND(D102>=D33,D103<D31),"Therefore a full infill is required","")))))

All i'm getting is a #VALUE return
Thanks

Damain

Try:

Code:
=((IF(D102<0,"Therefore no infill reqiured",IF(AND(D102>0,D102<D32),"Therefore a half infill is reqiured",IF(AND(D102>=D33,D103<D31),"Therefore a full infill is required","")))))
 
Upvote 0
Ahh, that post worked well, let's try again!!

Basically i'm tryingto get 3 IF statements in a single line.
Here they are individually:-
=IF(D102<0,"Therefore no infill reqiured","")
=IF(AND(D102>0,D102<D32),"Therefore a half infill is reqiured","")
=IF(AND(D102>=D33,D103<D31),"Therefore a full infill is required","")

Your help is appreciated!!

Damian
 
Upvote 0
Code:
=IF(D102<0,"Therefore no infill reqiured",IF(AND(D102>0,D102<D32),"Therefore a half infill is reqiured",IF(AND(D102>=D33,D103<D31),"Therefore a full infill is required","")))
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,174
Members
448,870
Latest member
max_pedreira

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