Need Help with Formula....

Mykro

Active Member
Joined
Oct 17, 2002
Messages
337
I have a problem getting this formula to work.. It only works when there are numbers in C3 and J3, otherwise I get a FALSE in the cell..

The boards help is greatly appreciated.. Thank You..

=IF(ISERROR(IF(ISNUMBER(C3),IF(D3=3,(J3/C3)*1.25,IF(D3=4,(J3/C3)*1.67,IF(D3=5,(J3/C3)*0.625))))),"",IF(ISNUMBER(C3),IF(D3=3,(J3/C3)*1.25,IF(D3=4,(J3/C3)*1.67,IF(D3=5,(J3/C3))))))
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
What do you want to be returned if there is not a number in C3?

When you do not specify what should be returned if the condition is false excel will return FALSE.
 
Last edited:
Upvote 0
Try this:

=IF(ISNUMBER(C3)="FALSE","",IF(ISERROR(IF(D3=3,(J3/C3)*1.25,IF(D3=4,(J3/C3)*1.67,IF(D3=5,(J3/C3)*0.625)))),"",IF(D3=3,(J3/C3)*1.25,IF(D3=4,(J3/C3)*1.67,IF(D3=5,(J3/C3)*0.625,"")))))
 
Upvote 0
Try this:

=IF(ISNUMBER(C3)="FALSE","",IF(ISERROR(IF(D3=3,(J3/C3)*1.25,IF(D3=4,(J3/C3)*1.67,IF(D3=5,(J3/C3)*0.625)))),"",IF(D3=3,(J3/C3)*1.25,IF(D3=4,(J3/C3)*1.67,IF(D3=5,(J3/C3)*0.625,"")))))

WOW..! It Works.. I never would have got that one.. Thank You..!
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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