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AL6,
IF(AF6=140,AJ6+AK6+AL6,
IF(AF6=141,AJ6+AK6+AL6+AM6,
IF(AF6=142,AJ6+AK6+AL6+AM6,
IF(AF6=143,AJ6+AK6+AL6+AM6,
IF(AF6=144,AJ6+AK6+AL6,
IF(AF6=145,AJ6+AK6+AL6,
IF(AF6=146,2*AJ6+AK6+2*AL6,
IF(AF6=147,AJ6+AK6+AL6,
IF(AF6=148,AJ6+AK6+AL6+AM6,
IF(AF6=149,AJ6+AK6+AL6+AM6,
IF(AF6=150,AJ6+AK6+AL6+AM6,
IF(AF6=151,AJ6+AK6+AL6+AM6,
IF(AF6=152,2*AJ6+AK6+2*AL6,
IF(AF6=153,AJ6+AK6+AL6+AM6+AN6,
IF(AF6=154,AJ6+AK6+AL6+AM6+AN6,
IF(AF6=155,AJ6+AK6+AL6+AM6+AN6,
IF(AF6=156,AJ6+AK6+AL6+AM6+AN6+AO6,
IF(AF6=157,2*AJ6+2*AK6+AL6,
IF(AF6=158,2*AJ6+2*AK6+AL6,
IF(AF6=159,2*AJ6+2*AK6+AL6,
IF(AF6=160,2*AJ6+2*AK6+AL6,
IF(AF6=161,AJ6+AK6+AL6+AM6,
IF(AF6=162,AJ6+AK6+AL6,
IF(AF6=163,AJ6+AK6+AL6,0))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))/1000,0.005)
Errors:
i cant give more than 64 arguments
You have Entered too many arguments to this function

Can i get help with this formula or any alternative way?

Tnx for Looking my Thread
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,828
Messages
6,181,209
Members
453,022
Latest member
RobertV1609

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