Conditioning of IF formula

Koejns

New Member
Joined
May 24, 2011
Messages
14
After my success with yesterdays question on this forum I have a new question. I have made the function:
IF(OR(B32/'Project specific input'!$C$26=1;B32/'Project specific input'!$C$26=2;B32/'Project specific input'!$C$26=3;B32/'Project specific input'!$C$26=4;B32/'Project specific input'!$C$26=5;B32/'Project specific input'!$C$26=6;B32/'Project specific input'!$C$26=7;B32/'Project specific input'!$C$26=8;B32/'Project specific input'!$C$26=9;B32/'Project specific input'!$C$26=10);((Calculation!$C$101))/NPV!C32;0)

It works propperly but I want to make it smaller and I think excel can do this for me. The function uses a list of numbers (1 to 20)(that is the B32 number) and devides that by 4. Now I only want Excel to give me an answer when the list number devided by four is a multiple of 1. So when it comes to 7/4 it should return 0 and when it comes to 8/4 it should return the (Calculation!$C$101))/NPV!C32 answer.

How can I make this more practical?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try

=if(mod(b32,4),0,b32/'project specific input'!$C$26)
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,874
Members
452,949
Latest member
Dupuhini

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