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

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
21,589
Office Version
  1. 365
  2. 2019
  3. 2013
  4. 2007
Platform
  1. Windows
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

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
21,589
Office Version
  1. 365
  2. 2019
  3. 2013
  4. 2007
Platform
  1. Windows
Glad to hear, thanks for the feedback.

Michael M
 
Upvote 0

Forum statistics

Threads
1,190,855
Messages
5,983,238
Members
439,833
Latest member
CDaviess

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