excel 2010: nested 'if' as the 'value if:false' argument

mischge

New Member
Joined
Jun 19, 2013
Messages
21
hi all

here's the situation:

a) if(client limit>x;if(utilization>client limit;calculation1;0))
b) if(client limit<x;if(utilization>x;calculation2;0))

i've tried to nest b) into a), in place of the value if: false (0) argument without success.
i dont have any VBA skills, so would prefer to use a formula, if possible.

thanks for any input!</x;if(utilization>
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
== please ignore first post, something went wrong==

hi all

here's the situation:

A) if(client limit>x;if(utilization>client limit;calculation1;0))
b) if(client limit<<x;if(utilization>x;if(utilization>x;calculation2;0))

i've tried to nest b) into a), in place of the value if: False (0) argument without success.
I dont have any vba skills, so would prefer to use a formula, if possible.

Thanks for any input!</x;if(utilization>
 
Upvote 0
hi all

here's the situation:

a) if(client limit>x;if(utilization>client limit;calculation1;0))
b) if(client limit<x;if(utilization>x;calculation2;0))

i've tried to nest b) into a), in place of the value if: false (0) argument without success.
i dont have any VBA skills, so would prefer to use a formula, if possible.

thanks for any input!</x;if(utilization>

Hi Mischge

Think this should be what you are looking for:

<x,if(utilization> if(client limit>x,if(utilization>client limit,calculation1,if(client limit<<x,if(utilization>x,calculation2,""),"")),"")

Corrected for your new values</x,if(utilization></x,if(utilization>
 
Last edited:
Upvote 0
hi nuclear wessels, charleschuckiecharles

thank you both for your quick replies.
both your solutions dont work, because both calc1 and calc2 are dependent on 2 different conditions each.

A) if(client limit>x;if(utilization>client limit;calculation1;0))
b) if(client limit<<x;if(utilization style="color: rgb(51, 51, 51); font-style: italic; background-color: rgb(242, 246, 248);">x;if(utilization>x;calculation2;0))

my initial approach was:
</x;if(utilization>if(client limit>x;if(utilization>client limit;calculation1;if(client limit<<x;if(utilization style="color: rgb(51, 51, 51); font-style: italic; background-color: rgb(242, 246, 248);">x;if(utilization>x;calculation2;0)</x;if(utilization>)))
where the underlined part is the'false' statement of the initial 'if' function.

but excel returns a true/false value.

any further suggestions?
 
Upvote 0
sorry, charleschuckiecharles, i re-visited your approach and it works!

thanks a lot, i've been sweating over this a while now and just couldnt get it right.

cheers!
 
Upvote 0
Ok, ive revised it again based off your update to the first post.

Try:

<x,if(utilization><x,if(utilization><x,if(utilization>if(client limit>x,if(utilization>client limit,calculation1,if(client limit<<x,if(utilization>x,if(utilization>x,calculation2,""),"")),"")

You realize though that in the first part of the statement you check Client Limit against X and then utilization against client limit.
In the second part of the statement you check Client Limit against X again but this time its utilization against x not client limit?</x,if(utilization></x,if(utilization></x,if(utilization></x,if(utilization>
 
Last edited:
Upvote 0
@nuclear wessel: the logic of your formula is correct, but i have to adjust the closing parentheses. once i do that, i get true/false values.

@CCC: i didnt copy/past the formula, but the syntax idea works. i'll let you know if i get fired because risk management didnt work ;)
 
Upvote 0

Forum statistics

Threads
1,216,473
Messages
6,130,838
Members
449,597
Latest member
buikhanhsang

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