Formula Problem

Will_D

Board Regular
Joined
Mar 6, 2005
Messages
195
Can anyone tell me why the following formuls won't work?
=IF(C3>0,IF(B3=$I$1,($J$1-C3)*$I$1),IF(B3=$I$2,($J$2-C3)*$I$2),IF(B3=$I$3,($J$3-C3)*$I$3),IF(B3=$I$4,($J$4-C3)*$J$4),IF(B3=$I$5,($J$5-C3)*$J$5),IF(B3=$I$6,($J$6-C3)*$J$6),"")

I get an error saying i hve entered too many arguments

Many Thanks!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
What about
=IF(C3>0,IF(B3=$I$1,($J$1-C3)*$I$1,IF(B3=$I$2,($J$2-C3)*$I$2,IF(B3=$I$3,($J$3-C3)*$I$3,IF(B3=$I$4,($J$4-C3)*$J$4,IF(B3=$I$5,($J$5-C3)*$J$5,IF(B3=$I$6,($J$6-C3)*$J$6,"")))))))

Regards
Michael M
 
Upvote 0
Glad to hear, thanks for the feedback.

Michael M
 
Upvote 0

Forum statistics

Threads
1,215,432
Messages
6,124,858
Members
449,194
Latest member
HellScout

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