Combining an IF funcation with a MAX

geffen5

New Member
Joined
Aug 23, 2006
Messages
10
Hey all -

So i am looking at a model that has the following formula:
{=MAX(0,SUM(E$70:E$76*TRANSPOSE($E84:$K84))-MAX(0,N119-E$66))}

I have a cell that is a toggle in C43 that I want to do a basic IF function with. So I want the formula to read like this =IF($c$43=1,(MAX(0,SUM(E$70:E$76*TRANSPOSE($E84:$K84))-MAX(0,N119-E$66))),0)

Unfortunately bc of the transpose function I need the { things (i don't even know what they are called) and can't do the combine function with them.

Any assistance is greatly appreciated as usual.

Thanks.
Dan
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

markyc

Board Regular
Joined
Aug 23, 2006
Messages
149
{ } are just braces for an array formula.
to get your formula to work you must select the cell the formula is in, hit F2 for edit, then hold on to Ctrl and Shift at the same time and then hit the Enter key. After pressing Ctrl+Shift+Enter Excel will recognize this as an arry formula.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,552
Messages
5,636,975
Members
416,953
Latest member
broexc

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